Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-commander/
Date: Fri, 16 Aug 2019 08:24:58
Message-Id: 1565943859.67bcdc5ab52b89392a0492de707d421de50973dd.asturm@gentoo
1 commit: 67bcdc5ab52b89392a0492de707d421de50973dd
2 Author: Uwe Scholz <uwescholz <AT> src <DOT> gnome <DOT> org>
3 AuthorDate: Thu Aug 15 20:28:53 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 16 08:24:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bcdc5a
7
8 gnome-extra/gnome-commander: version bump to 1.10.1
9
10 Signed-off-by: Uwe Scholz <u.scholz83 <AT> gmx.de>
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 gnome-extra/gnome-commander/Manifest | 1 +
14 .../gnome-commander/gnome-commander-1.10.1.ebuild | 68 ++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/gnome-extra/gnome-commander/Manifest b/gnome-extra/gnome-commander/Manifest
18 index e021ac6fddc..2ce5ec32c6b 100644
19 --- a/gnome-extra/gnome-commander/Manifest
20 +++ b/gnome-extra/gnome-commander/Manifest
21 @@ -1 +1,2 @@
22 +DIST gnome-commander-1.10.1.tar.xz 7424500 BLAKE2B 6abddf8dae4bc0a1d740ffee49ccc7d816d783bdb5c2b90c9d0681c1db5fa3f42700e65a780881400c1af038d7dfe7f458a98cf2f8f1c1b0fc6f93a3d58dc069 SHA512 b5bc548444149e00f29e6e3b7f785c99a08d27a0a2642cf78c203411a8d2937341a76685b09172047162afe3e0fc92ff13c82bdbd8105281d360c1df44b4702d
23 DIST gnome-commander-1.10.0.tar.xz 7421328 BLAKE2B 4cfb6a5d445217de10007d4371cd5cce95319dd68a6e7f071def2258cd965cfbeab671c6016e624ef474501608214f309c56360216cc53c83a1660b38dbe77d9 SHA512 76e2cca3af7e11ae7f327fa25bb175ad28d36d8b71c4908ce8b91533ed53a444a30d861a24cf94ee34dd7954d1f9dd0a14d26c2214854424b80f8e7c107db60d
24
25 diff --git a/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild b/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild
26 new file mode 100644
27 index 00000000000..06cd772cfed
28 --- /dev/null
29 +++ b/gnome-extra/gnome-commander/gnome-commander-1.10.1.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +GNOME2_LA_PUNT="yes"
37 +
38 +inherit gnome2 toolchain-funcs
39 +
40 +DESCRIPTION="A graphical, full featured, twin-panel file manager"
41 +HOMEPAGE="https://gcmd.github.io/"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="chm exif gsf pdf taglib samba test +unique"
47 +
48 +RDEPEND="
49 + app-text/yelp-tools
50 + >=dev-libs/glib-2.44.0:2
51 + unique? ( >=dev-libs/libunique-0.9.3:1 )
52 + gnome-base/gnome-keyring
53 + >=gnome-base/gnome-vfs-2.0.0
54 + >=gnome-base/libgnome-2.0.0
55 + >=gnome-base/libgnomeui-2.4.0
56 + >=x11-libs/gtk+-2.18.0:2
57 + chm? ( dev-libs/chmlib )
58 + exif? ( >=media-gfx/exiv2-0.14 )
59 + gsf? ( >=gnome-extra/libgsf-1.12.0 )
60 + samba? ( >=gnome-base/gnome-vfs-2.0.0[samba] )
61 + pdf? ( >=app-text/poppler-0.18 )
62 + taglib? ( >=media-libs/taglib-1.4 )
63 +"
64 +
65 +PATCHES=( "${FILESDIR}/gnome-commander-1.10.0-exiv2-0.27.1-missing-header.patch" )
66 +
67 +DEPEND="
68 + ${RDEPEND}
69 + dev-util/gtk-doc-am
70 + sys-devel/gettext
71 + virtual/pkgconfig
72 + test? ( >=dev-cpp/gtest-1.7.0 )
73 +"
74 +
75 +src_configure() {
76 + gnome2_src_configure \
77 + --disable-static \
78 + $(use_with chm libchm) \
79 + $(use_with exif exiv2) \
80 + $(use_with gsf libgsf) \
81 + $(use_with pdf poppler) \
82 + $(use_with samba) \
83 + $(use_with taglib) \
84 + $(use_with unique)
85 +}
86 +
87 +pkg_pretend() {
88 + if tc-is-gcc && [[ $(gcc-major-version) -lt 8 ]]; then
89 + eerror "Compilation with gcc older than version 8 is not supported"
90 + die "GCC too old, please use gcc-8 or above"
91 + fi
92 +}
93 +
94 +pkg_postinst() {
95 + gnome2_pkg_postinst
96 + has_version dev-util/meld || elog "You need dev-util/meld to synchronize files and directories."
97 + has_version gnome-extra/yelp || elog "You need gnome-extra/yelp to view the docs."
98 +}