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