From bdb79794c7dded31f4f78d70aeb9c278bb152a42 Mon Sep 17 00:00:00 2001 From: NP-Hardass Date: Wed, 29 May 2019 18:34:45 -0400 Subject: app-arch/engrampa: Switch to using readme.gentoo-r1 eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based code off of recommended example, file-roller Closes: https://bugs.gentoo.org/639590 Signed-off-by: NP-Hardass Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Göktürk Yüksek --- app-arch/engrampa/engrampa-1.22.1-r1.ebuild | 75 +++++++++++++++++++++++++++++ app-arch/engrampa/engrampa-1.22.1.ebuild | 69 -------------------------- 2 files changed, 75 insertions(+), 69 deletions(-) create mode 100644 app-arch/engrampa/engrampa-1.22.1-r1.ebuild delete mode 100644 app-arch/engrampa/engrampa-1.22.1.ebuild (limited to 'app-arch/engrampa') diff --git a/app-arch/engrampa/engrampa-1.22.1-r1.ebuild b/app-arch/engrampa/engrampa-1.22.1-r1.ebuild new file mode 100644 index 000000000000..63cc9bce008f --- /dev/null +++ b/app-arch/engrampa/engrampa-1.22.1-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate readme.gentoo-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Engrampa archive manager for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="caja magic packagekit" + +RDEPEND=" + >=dev-libs/glib-2.50:2 + >=dev-libs/json-glib-0.14 + virtual/libintl + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.22:3[X] + x11-libs/pango + caja? ( >=mate-base/caja-1.17.1 ) + magic? ( sys-apps/file ) + packagekit? ( app-admin/packagekit-base ) + !!app-arch/mate-file-archiver" + +DEPEND="${RDEPEND} + app-text/yelp-tools + dev-util/glib-utils + >=dev-util/intltool-0.50.1 + sys-devel/gettext + virtual/pkgconfig" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${PN} is a frontend for several archiving utilities. If you want +support for a particular archive format,install the relevant package: + +7-zip : emerge app-arch/p7zip +ace : emerge app-arch/unace +arj : emerge app-arch/arj +cpio : emerge app-arch/cpio +deb : emerge app-arch/dpkg +iso : emerge app-cdr/cdrtools +jar,zip : emerge app-arch/zip or emerge app-arch/unzip +lha : emerge app-arch/lha +lzma : emerge app-arch/xz-utils +lzop : emerge app-arch/lzop +rar : emerge app-arch/unrar +rpm : emerge app-arch/rpm +unstuff : emerge app-arch/stuffit +zoo : emerge app-arch/zoo" + +src_configure() { + mate_src_configure \ + --disable-run-in-place \ + $(use_enable caja caja-actions) \ + $(use_enable magic) \ + $(use_enable packagekit) +} + +src_install() { + mate_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + mate_pkg_postinst + readme.gentoo_print_elog +} diff --git a/app-arch/engrampa/engrampa-1.22.1.ebuild b/app-arch/engrampa/engrampa-1.22.1.ebuild deleted file mode 100644 index f1260b9b27e0..000000000000 --- a/app-arch/engrampa/engrampa-1.22.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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 ~arm64 ~x86" -fi - -DESCRIPTION="Engrampa archive manager for MATE" -LICENSE="GPL-2" -SLOT="0" - -IUSE="caja magic packagekit" - -RDEPEND=" - >=dev-libs/glib-2.50:2 - >=dev-libs/json-glib-0.14 - virtual/libintl - x11-libs/gdk-pixbuf:2 - >=x11-libs/gtk+-3.22:3[X] - x11-libs/pango - caja? ( >=mate-base/caja-1.17.1 ) - magic? ( sys-apps/file ) - packagekit? ( app-admin/packagekit-base ) - !!app-arch/mate-file-archiver" - -DEPEND="${RDEPEND} - app-text/yelp-tools - dev-util/glib-utils - >=dev-util/intltool-0.50.1 - sys-devel/gettext - virtual/pkgconfig" - -src_configure() { - mate_src_configure \ - --disable-run-in-place \ - $(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" -} -- cgit v1.2.3-65-gdbad