app-arch/file-roller: bump to 3.22.3, mention lz4 in the optional archivers blurb...
authorMart Raudsepp <leio@gentoo.org>
Sun, 19 Mar 2017 21:59:58 +0000 (23:59 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sun, 19 Mar 2017 22:21:10 +0000 (00:21 +0200)
3.22 gained new lz4 support, so mention it in DOC_CONTENTS and update our packages.match
file to contain it (upstream git doesn't, but they haven't ran update-packages-match, so
I ran it myself in a git clone and synced the results).

app-arch/file-roller/Manifest
app-arch/file-roller/file-roller-3.22.3.ebuild [new file with mode: 0644]
app-arch/file-roller/files/3.22-packages.match [new file with mode: 0644]

index 9d81e18473dee4c1d98d36feb65d7e0bd4e1bd64..88ae78ac79b64820d09172d326944f64887b6e43 100644 (file)
@@ -2,3 +2,4 @@ DIST file-roller-3.20.3.tar.xz 1432400 SHA256 6b5c2de4c6bd52318cacd2a398cdfa45a5
 DIST file-roller-3.20.4.tar.xz 1432484 SHA256 d9346bb90d5f3296bf22f93a81f5bcd2e974620a4d81efea882db2b3db3b66c1 SHA512 a536876bed13838c4e3f2a2c4fb269ec814afb6fd6ff538e1de4b9872588e0bf2c6df7eece6fd93e79752b2bb8c17c2492b022cea3d84716c2f2cda49aeea130 WHIRLPOOL fb25b905e8b6ac98a838a156849e4bd1a0d5e6889d384e7ea963d1cd99cb62515582459c2fc7ddb15c4a8ee53277a41cefb50385cc6d2e3a5e4a115295ecd0c7
 DIST file-roller-3.22.1.tar.xz 1423712 SHA256 8106791dcecbd2ab64194f4aeb5cb709a15e9e0d28e6470528c7bf56969be552 SHA512 118b33e70dea357d3320ee8a1e13d161499682725a981806a6333918fb4f76eed8c10aa22db5d797cada893e38dea4d280d84f6fcd3303b4ea0782ef45295939 WHIRLPOOL 385fecf68f39413bd8b80ffdda9ce991ad84950c84017d1ede52f8a7d1abcc468c33f3356a42dd41ccf03817b8ebbdef305023510b1ee52334d12f9545cb45e9
 DIST file-roller-3.22.2.tar.xz 1423992 SHA256 27158cdcc366f82100312b1e0a02ad1f3aa7a6c32d4eba68fc5a2a8829685df9 SHA512 cd4ed804d7291868acd351b4f1b5d3fca48c1e493c37d9e20463dfbca11fe9859a2d1b8fd6d13c8ac2d4f2967f0734e6ff07efc08ca292f73640e631bea2fb22 WHIRLPOOL f79c7f50f62cf88100577721e7b5017fcc90cc2ed86946dfda40e0addea1ecb995e3536aa5901fcccac78f86e5269f459b04462163dcde5301d84e3e6c331fd9
+DIST file-roller-3.22.3.tar.xz 1423048 SHA256 de858640632a0e22769b6b73d5b98527f3cfc2c83f99692063e352e41d533505 SHA512 f234388686cf539fc085866322083199176f94043e4c2c888d5806a2efa0dfcf5a090f64240a3d08aae39ed3d34d6b281e1a06d748c56b0f80508a01fac40b28 WHIRLPOOL 9729c333d9d42d5714aa1fa9905f87f125e40c22800cd9cc85af67c31a90aad9863bd5a73aa659a0a5a997aacf638a9c974afbbc04541e90ee7d6c011e66e802
diff --git a/app-arch/file-roller/file-roller-3.22.3.ebuild b/app-arch/file-roller/file-roller-3.22.3.ebuild
new file mode 100644 (file)
index 0000000..95c4579
--- /dev/null
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2 readme.gentoo-r1
+
+DESCRIPTION="Archive manager for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/FileRoller"
+
+LICENSE="GPL-2+ CC-BY-SA-3.0"
+SLOT="0"
+IUSE="libnotify packagekit"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+# gdk-pixbuf used extensively in the source
+# cairo used in eggtreemultidnd.c
+# pango used in fr-window
+RDEPEND="
+       >=app-arch/libarchive-3:=
+       >=dev-libs/glib-2.36:2
+       >=dev-libs/json-glib-0.14
+       >=x11-libs/gtk+-3.13.2:3
+       sys-apps/file
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+       libnotify? ( >=x11-libs/libnotify-0.4.3:= )
+       packagekit? ( app-admin/packagekit-base )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/intltool-0.50.1
+       dev-util/itstool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+# eautoreconf needs:
+#      gnome-base/gnome-common
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${PN} is a frontend for several archiving utilities. If you want a
+particular archive format support, see ${HOMEPAGE}
+and install the relevant package. For example:
+7-zip   - app-arch/p7zip
+ace     - app-arch/unace
+arj     - app-arch/arj
+cpio    - app-arch/cpio
+deb     - app-arch/dpkg
+iso     - app-cdr/cdrtools
+jar,zip - app-arch/zip and app-arch/unzip
+lha     - app-arch/lha
+lzop    - app-arch/lzop
+lz4     - app-arch/lz4
+rar     - app-arch/unrar or app-arch/unar
+rpm     - app-arch/rpm
+unstuff - app-arch/stuffit
+zoo     - app-arch/zoo"
+
+src_prepare() {
+       # File providing Gentoo package names for various archivers
+       cp -f "${FILESDIR}"/3.22-packages.match data/packages.match || die
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # --disable-debug because enabling it adds -O0 to CFLAGS
+       gnome2_src_configure \
+               --disable-run-in-place \
+               --disable-static \
+               --disable-debug \
+               --enable-magic \
+               --enable-libarchive \
+               $(use_enable libnotify notification) \
+               $(use_enable packagekit)
+}
+
+src_install() {
+       gnome2_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       readme.gentoo_print_elog
+}
diff --git a/app-arch/file-roller/files/3.22-packages.match b/app-arch/file-roller/files/3.22-packages.match
new file mode 100644 (file)
index 0000000..68f6e30
--- /dev/null
@@ -0,0 +1,32 @@
+[Package Matches]
+arj=app-arch/arj
+binutils=sys-devel/binutils
+bzip2=app-arch/bzip2
+cpio=app-arch/cpio
+dpkg=app-arch/dpkg
+genisoimage=virtual/cdrtools
+gzip=app-arch/gzip
+lha=app-arch/lha
+lrzip=app-arch/lrzip
+lz4=app-arch/lz4
+lzip=app-arch/lzip
+lzma=app-arch/xz-utils
+lzop=app-arch/lzop
+ncompress=app-arch/ncompress
+p7zip=app-arch/p7zip
+p7zip-full=
+p7zip-rar=
+rar=app-arch/rar
+rpm=app-arch/rpm
+rzip=app-arch/rzip
+zip=app-arch/zip
+zoo=app-arch/zoo
+tar=app-arch/tar
+unace=app-arch/unace
+unalz=
+unarchiver=app-arch/unar
+unrar=app-arch/unrar
+unstaff=
+unzip=app-arch/unzip
+xz=app-arch/xz-utils
+