app-arch/engrampa: gtk3 must be built with X
authorkuzetsa <kuzetsa@gmail.com>
Fri, 10 Mar 2017 23:40:32 +0000 (18:40 -0500)
committerEttore Di Giacinto <mudler@gentoo.org>
Tue, 14 Mar 2017 09:55:21 +0000 (10:55 +0100)
Gentoo-Bug: #611104

Package-Manager: Portage-2.3.3, Repoman-2.3.1

Signed-off-by: Ettore Di Giacinto <mudler@gentoo.org>
app-arch/engrampa/engrampa-1.12.0-r2.ebuild [new file with mode: 0644]
app-arch/engrampa/engrampa-1.14.1-r1.ebuild [moved from app-arch/engrampa/engrampa-1.14.1.ebuild with 96% similarity]
app-arch/engrampa/engrampa-1.16.0-r2.ebuild [moved from app-arch/engrampa/engrampa-1.16.0-r1.ebuild with 98% similarity]

diff --git a/app-arch/engrampa/engrampa-1.12.0-r2.ebuild b/app-arch/engrampa/engrampa-1.12.0-r2.ebuild
new file mode 100644 (file)
index 0000000..0d35758
--- /dev/null
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+       KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Engrampa archive manager for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="caja gtk3 magic packagekit"
+
+RDEPEND="
+       >=dev-libs/glib-2.32.0:2
+       >=dev-libs/json-glib-0.14:0
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango:0
+       virtual/libintl:0
+       caja? ( >=mate-base/caja-1.8[gtk3(-)=] )
+       !gtk3? ( >=x11-libs/gtk+-2.24.0:2 )
+       gtk3? ( >=x11-libs/gtk+-3.0:3[X] )
+       magic? ( sys-apps/file )
+       packagekit? ( app-admin/packagekit-base )
+       !!app-arch/mate-file-archiver"
+
+DEPEND="${RDEPEND}
+       app-text/yelp-tools
+       >=dev-util/intltool-0.50.1:*
+       sys-devel/gettext:*
+       virtual/pkgconfig:*"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.10.2-p7zip-15.09-compat.patch"
+       "${FILESDIR}/${PN}-1.10.2-p7zip-15.14-compat.patch"
+)
+
+src_configure() {
+       mate_src_configure \
+               --disable-run-in-place \
+               --disable-deprecations \
+               --with-gtk=$(usex gtk3 3.0 2.0) \
+               $(use_enable caja caja-actions) \
+               $(use_enable magic) \
+               $(use_enable packagekit)
+}
+
+pkg_postinst() {
+       mate_pkg_postinst
+
+       elog ""
+       elog "${PN} is a frontend for several archiving utilities. If you want a"
+       elog "particular achive format supported install the relevant package."
+       elog
+       elog "For example:"
+       elog "  7-zip   : emerge app-arch/p7zip"
+       elog "  ace     : emerge app-arch/unace"
+       elog "  arj     : emerge app-arch/arj"
+       elog "  cpio    : emerge app-arch/cpio"
+       elog "  deb     : emerge app-arch/dpkg"
+       elog "  iso     : emerge app-cdr/cdrtools"
+       elog "  jar,zip : emerge app-arch/zip  or  emerge app-arch/unzip"
+       elog "  lha     : emerge app-arch/lha"
+       elog "  lzma    : emerge app-arch/xz-utils"
+       elog "  lzop    : emerge app-arch/lzop"
+       elog "  rar     : emerge app-arch/unrar"
+       elog "  rpm     : emerge app-arch/rpm"
+       elog "  unstuff : emerge app-arch/stuffit"
+       elog "  zoo     : emerge app-arch/zoo"
+}
similarity index 96%
rename from app-arch/engrampa/engrampa-1.14.1.ebuild
rename to app-arch/engrampa/engrampa-1.14.1-r1.ebuild
index 8caf614f93bdcd13d84f4128fefb652f9c722a1f..3af21bd02be246671ee64917293cffc35af97b45 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ COMMON_DEPEND="
        virtual/libintl:0
        caja? ( >=mate-base/caja-1.8[gtk3(-)=] )
        !gtk3? ( >=x11-libs/gtk+-2.24.0:2 )
-       gtk3? ( >=x11-libs/gtk+-3.0:3 )
+       gtk3? ( >=x11-libs/gtk+-3.0:3[X] )
        magic? ( sys-apps/file )
        packagekit? ( app-admin/packagekit-base )
        !!app-arch/mate-file-archiver"
similarity index 98%
rename from app-arch/engrampa/engrampa-1.16.0-r1.ebuild
rename to app-arch/engrampa/engrampa-1.16.0-r2.ebuild
index 3c7acedfa65b701955cd412d89a6650ca547d7b2..3cf6e95bd41f20e1cf61ef2c6c368bd2bd44e33b 100644 (file)
@@ -24,7 +24,7 @@ COMMON_DEPEND="
        x11-libs/pango:0
        virtual/libintl:0
        caja? ( >=mate-base/caja-1.1.0 )
-       >=x11-libs/gtk+-3.14:3
+       >=x11-libs/gtk+-3.14:3[X]
        magic? ( sys-apps/file )
        packagekit? ( app-admin/packagekit-base )
        !!app-arch/mate-file-archiver"