diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-01-01 14:10:48 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-01-01 15:53:09 +0100 |
commit | a016f7ecec5f4166381f658f70efa46ed6e13bf3 (patch) | |
tree | 2b3611434a09dc024e751ac97b05c4c0012a081f /app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild | |
parent | net-misc/youtube-dl: Version bump. (diff) | |
download | gentoo-a016f7ecec5f4166381f658f70efa46ed6e13bf3.tar.gz gentoo-a016f7ecec5f4166381f658f70efa46ed6e13bf3.tar.bz2 gentoo-a016f7ecec5f4166381f658f70efa46ed6e13bf3.zip |
app-crypt/seahorse-sharing: version bump to git snapshot
Add support for gnupg-2.1 and updated translations.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild')
-rw-r--r-- | app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild b/app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild new file mode 100644 index 000000000000..ac67ccb901b9 --- /dev/null +++ b/app-crypt/seahorse-sharing/seahorse-sharing-3.8.0_p20151117.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" # disable asserts + +inherit gnome2 + +DESCRIPTION="Daemon for PGP public key sharing using DNS-SD and HKP" +HOMEPAGE="https://projects.gnome.org/seahorse/" +SRC_URI="https://dev.gentoo.org/~eva/distfiles/${PN}/${P//_p*}-19-g61de83c.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=" + app-crypt/seahorse + dev-libs/glib:2 + >=net-dns/avahi-0.6:= + net-libs/libsoup:2.4 + >=x11-libs/gtk+-3:3 + + >=app-crypt/gpgme-1 + >=app-crypt/gnupg-1.4 +" +RDEPEND="${COMMON_DEPEND} + !<app-crypt/seahorse-3.2 +" +# ${PN} was part of seahorse before 3.2 +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + sys-devel/gettext + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-3.8.0" + +src_prepare() { + DOCS="AUTHORS MAINTAINERS NEWS" # ChangeLog has nothing useful + # Do not pass --enable-tests to configure - package has no tests + + gnome2_src_prepare + + # Drop stupid CFLAGS + # FIXME: doing configure.ac triggers maintainer mode rebuild + sed -e 's:$CFLAGS -g -O0:$CFLAGS:' \ + -i configure || die "sed failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + + if ! has_version net-dns/avahi && \ + ! rc-config list default | grep -q "avahi-daemon" ; then + elog "To use ${PN}, the Avahi daemon must be running. On an OpenRC" + elog "system, you can start the Avahi daemon by" + elog "# /etc/init.d/avahi-daemon start" + elog "To start Avahi automatically, add it to the default runlevel:" + elog "# rc-update add avahi-daemon default" + fi +} |