From b0bab803d2f1c96af5760374e2684f9a85591916 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Oct 2022 01:11:51 +0100 Subject: gentoo auto-resync : 02:10:2022 - 01:11:51 --- .../seahorse-nautilus-3.11.92-r1.ebuild | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92-r1.ebuild (limited to 'gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92-r1.ebuild') diff --git a/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92-r1.ebuild b/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92-r1.ebuild new file mode 100644 index 000000000000..7b598f4c6bd7 --- /dev/null +++ b/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +GNOME2_LA_PUNT="yes" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 + +DESCRIPTION="Nautilus extension for encrypting and decrypting files with GnuPG" +HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEPEND=" + >=app-crypt/gpgme-1.0.0 + >=app-crypt/gcr-3.4:0=[gtk] + >=dev-libs/dbus-glib-0.35 + >=dev-libs/glib-2.28:2 + gnome-base/gnome-keyring + >=gnome-base/nautilus-3 + x11-libs/gtk+:3 + >=x11-libs/libcryptui-3.9.90 + >=x11-libs/libnotify-0.3:= + >=app-crypt/gnupg-1.4 +" +# seahorse-nautilus was formerly part of seahorse-plugins +RDEPEND="${COMMON_DEPEND} + !app-crypt/seahorse-plugins[nautilus] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig +" + +src_prepare() { + # Do not let configure mangle CFLAGS + sed -e '/^[ \t]*CFLAGS="$CFLAGS \(-g\|-O0\)/d' -i configure.ac configure || + die "sed failed" + + # Fix icon location, upstream bug #719763 + sed -i 's/pixmaps\/seahorse-plugins\/48x48/pixmaps\/cryptui\/48x48/' \ + tool/seahorse-notification.c || die + + # Doesn't really need libgnome-keyring (from Fedora, fixed in + # 'master') + eapply "${FILESDIR}"/${P}-remove-libgnome-keyring.patch # needs eautoreconf + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-gpg-check \ + --enable-libnotify +} -- cgit v1.2.3