Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-arch/file-roller/
Date: Fri, 28 Dec 2018 23:32:16
Message-Id: 1546039914.14d06e8883e8618e5430b6a004f7d01977c79e75.eva@gentoo
1 commit: 14d06e8883e8618e5430b6a004f7d01977c79e75
2 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 26 04:11:14 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 28 23:31:54 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=14d06e88
7
8 app-arch/file-roller: bump to 3.30.1
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Manifest-Sign-Key: 0x7DF238CF0AA182E1
12 Signed-off-by: Sobhan Mohammadpour <sobhan <AT> gentoo.org>
13 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
14
15 app-arch/file-roller/file-roller-3.30.1.ebuild | 95 ++++++++++++++++++++++++++
16 1 file changed, 95 insertions(+)
17
18 diff --git a/app-arch/file-roller/file-roller-3.30.1.ebuild b/app-arch/file-roller/file-roller-3.30.1.ebuild
19 new file mode 100644
20 index 00000000..dc146d9e
21 --- /dev/null
22 +++ b/app-arch/file-roller/file-roller-3.30.1.ebuild
23 @@ -0,0 +1,95 @@
24 +# Copyright 1999-2018 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +
29 +inherit gnome.org gnome2-utils meson readme.gentoo-r1 xdg
30 +
31 +DESCRIPTION="Archive manager for GNOME"
32 +HOMEPAGE="https://wiki.gnome.org/Apps/FileRoller"
33 +
34 +LICENSE="GPL-2+ CC-BY-SA-3.0"
35 +SLOT="0"
36 +IUSE="libnotify nautilus packagekit"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
38 +
39 +# gdk-pixbuf used extensively in the source
40 +# cairo used in eggtreemultidnd.c
41 +# pango used in fr-window
42 +RDEPEND="
43 + >=app-arch/libarchive-3:=
44 + >=dev-libs/glib-2.36:2
45 + >=dev-libs/json-glib-0.14
46 + >=x11-libs/gtk+-3.13.2:3
47 + sys-apps/file
48 + x11-libs/cairo
49 + x11-libs/gdk-pixbuf:2
50 + x11-libs/pango
51 + libnotify? ( >=x11-libs/libnotify-0.4.3:= )
52 + nautilus? ( >=gnome-base/nautilus-2.22.2 )
53 + packagekit? ( app-admin/packagekit-base )
54 +"
55 +# libxml2 required for glib-compile-resources
56 +DEPEND="${RDEPEND}
57 + dev-libs/libxml2:2
58 + dev-util/itstool
59 + >=sys-devel/gettext-0.19.8
60 + virtual/pkgconfig
61 +"
62 +
63 +DISABLE_AUTOFORMATTING="yes"
64 +DOC_CONTENTS="
65 +${PN} is a frontend for several archiving utilities. If you want a
66 +particular archive format support, see ${HOMEPAGE}
67 +and install the relevant package. For example:
68 +7-zip - app-arch/p7zip
69 +ace - app-arch/unace
70 +arj - app-arch/arj
71 +cpio - app-arch/cpio
72 +deb - app-arch/dpkg
73 +iso - app-cdr/cdrtools
74 +jar,zip - app-arch/zip and app-arch/unzip
75 +lha - app-arch/lha
76 +lzop - app-arch/lzop
77 +lz4 - app-arch/lz4
78 +rar - app-arch/unrar or app-arch/unar
79 +rpm - app-arch/rpm
80 +unstuff - app-arch/stuffit
81 +zoo - app-arch/zoo"
82 +
83 +src_prepare() {
84 + # File providing Gentoo package names for various archivers
85 + cp -v "${FILESDIR}"/3.22-packages.match data/packages.match || die
86 +
87 + xdg_src_prepare
88 +}
89 +
90 +src_configure() {
91 + local emesonargs=(
92 + -Drun-in-place=false
93 + $(meson_use nautilus nautilus-actions)
94 + $(meson_use libnotify notification)
95 + $(meson_use packagekit)
96 + -Dlibarchive=true
97 + -Dmagic=true
98 + )
99 + meson_src_configure
100 +}
101 +
102 +src_install() {
103 + meson_src_install
104 + readme.gentoo_create_doc
105 +}
106 +
107 +pkg_postinst() {
108 + xdg_pkg_postinst
109 + gnome2_icon_cache_update
110 + gnome2_schemas_update
111 + readme.gentoo_print_elog
112 +}
113 +
114 +pkg_postrm() {
115 + xdg_pkg_postrm
116 + gnome2_icon_cache_update
117 + gnome2_schemas_update
118 +}