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: Tue, 04 May 2021 22:57:21
Message-Id: 1620169007.2f1401a6a48b36d9730d7374c08d9874e1b4944a.asturm@gentoo
1 commit: 2f1401a6a48b36d9730d7374c08d9874e1b4944a
2 Author: Uwe Scholz <u.scholz83 <AT> gmx <DOT> de>
3 AuthorDate: Fri Apr 30 19:37:49 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 22:56:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f1401a6
7
8 gnome-extra/gnome-commander: version bump to 1.12.1
9
10 Signed-off-by: Uwe Scholz <u.scholz83 <AT> gmx.de>
11 Closes: https://github.com/gentoo/gentoo/pull/20619
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 gnome-extra/gnome-commander/Manifest | 1 +
15 .../gnome-commander/gnome-commander-1.12.1.ebuild | 65 ++++++++++++++++++++++
16 2 files changed, 66 insertions(+)
17
18 diff --git a/gnome-extra/gnome-commander/Manifest b/gnome-extra/gnome-commander/Manifest
19 index 683da85a1f2..6462cce9700 100644
20 --- a/gnome-extra/gnome-commander/Manifest
21 +++ b/gnome-extra/gnome-commander/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-commander-1.10.3.tar.xz 7474512 BLAKE2B f27f86a470bc919327980ba21c577241034290d74b663d4479195fa21249ce9bd238b12a0fae70c3cc6ab26953a595414efbe04508c73f8deb5e7c6e2de6f784 SHA512 87c4df1534747f21b15e48141180601aef02152b1eef097986b0f8675a6d24e75a81ccb7d0b41b2df38cd40eadae2b0bd09f8e0274a5e5cd8bbd8d23df6ffd7f
24 +DIST gnome-commander-1.12.1.tar.xz 7532412 BLAKE2B 92a4c71e716aca5354cd53ca10440ce11426f9baa11342c37a8dbd5d3fe2898ea9e7aa577d584d0e91e85a8213a5480dd045c6d0ffbd05155b05d74c2a0b52e7 SHA512 74756af9a720ab81904e3f7834ae008af67d635cc1d1b961420d02c029616465dfe06a18bc5b443d0a9725cfefe6e9f7cdba68faa62515f8ccb85a2246867010
25
26 diff --git a/gnome-extra/gnome-commander/gnome-commander-1.12.1.ebuild b/gnome-extra/gnome-commander/gnome-commander-1.12.1.ebuild
27 new file mode 100644
28 index 00000000000..6c407b4f188
29 --- /dev/null
30 +++ b/gnome-extra/gnome-commander/gnome-commander-1.12.1.ebuild
31 @@ -0,0 +1,65 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +GNOME2_LA_PUNT="yes"
38 +
39 +inherit gnome2 optfeature toolchain-funcs
40 +
41 +DESCRIPTION="A graphical, full featured, twin-panel file manager"
42 +HOMEPAGE="https://gcmd.github.io/"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="chm exif gsf pdf samba taglib test +unique"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + app-text/yelp-tools
52 + >=dev-libs/glib-2.62.0:2
53 + >=gnome-base/gnome-vfs-2.0.0
54 + >=x11-libs/gtk+-2.24.0:2
55 + chm? ( dev-libs/chmlib )
56 + exif? ( >=media-gfx/exiv2-0.14 )
57 + gsf? ( >=gnome-extra/libgsf-1.12.0 )
58 + pdf? ( >=app-text/poppler-0.18 )
59 + samba? ( >=gnome-base/gnome-vfs-2.0.0[samba] )
60 + taglib? ( >=media-libs/taglib-1.4 )
61 + unique? ( >=dev-libs/libunique-0.9.3:1 )
62 +"
63 +BDEPEND="
64 + dev-util/gtk-doc-am
65 + sys-devel/gettext
66 + virtual/pkgconfig
67 +"
68 +DEPEND="
69 + ${RDEPEND}
70 + test? ( >=dev-cpp/gtest-1.7.0 )
71 +"
72 +
73 +pkg_pretend() {
74 + if tc-is-gcc && [[ $(gcc-major-version) -lt 8 ]]; then
75 + eerror "Compilation with gcc older than version 8 is not supported"
76 + die "GCC too old, please use gcc-8 or above"
77 + fi
78 +}
79 +
80 +src_configure() {
81 + gnome2_src_configure \
82 + --disable-static \
83 + $(use_with chm libchm) \
84 + $(use_with exif exiv2) \
85 + $(use_with gsf libgsf) \
86 + $(use_with pdf poppler) \
87 + $(use_with samba) \
88 + $(use_with taglib) \
89 + $(use_with unique)
90 +}
91 +
92 +pkg_postinst() {
93 + gnome2_pkg_postinst
94 + optfeature "synchronizing files and directories" dev-util/meld
95 + optfeature "viewing the documentation" gnome-extra/yelp
96 +}