1 |
commit: 33b98e485da5be409dc04e363a50037c19a1cf52 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 07:39:22 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 07:42:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b98e48 |
7 |
|
8 |
media-gfx/ahoviewer: add a snapshot version 2.0.0_pre20211126 |
9 |
|
10 |
- lots of fixes after 2.0-beta release. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/827306 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
media-gfx/ahoviewer/Manifest | 1 + |
16 |
.../ahoviewer/ahoviewer-2.0.0_pre20211126.ebuild | 81 ++++++++++++++++++++++ |
17 |
2 files changed, 82 insertions(+) |
18 |
|
19 |
diff --git a/media-gfx/ahoviewer/Manifest b/media-gfx/ahoviewer/Manifest |
20 |
index 0657c54fef7e..6bbe1897f3f7 100644 |
21 |
--- a/media-gfx/ahoviewer/Manifest |
22 |
+++ b/media-gfx/ahoviewer/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST ahoviewer-2.0.0_beta.tar.gz 488564 BLAKE2B 325d9689e13fc2847d00be3e77eb5cd8234c98d0c516d3427d4275beaf6cc08ba8a054dfa047ec5e00e4693f8b14f730694358dc22a15e8d503bf67f232c1772 SHA512 6a38da0810c93886233a41d1fdc3f9779158c54b328c13cb2eea9e921057913fd3bb48370b95526f2bc8635ca4ba0967e7edeb95052ea689b05fb8555d826cf0 |
25 |
+DIST ahoviewer-2.0.0_pre20211126.tar.gz 502643 BLAKE2B fdfb4def35f6f1024ae47c114395f45e86abfb23a54275abf98a16bc8b7bae879e57034401b5effb340a2855af64b66ae09d86bcbbdd50e39f43f4f300232e2f SHA512 4facaa1938308e82b1743cb97186925b18ee843456a75bb2639e303e35e40fbee4b6bdebf1aa977fed03b2a4cf6a2b558c488720156db5f821da30578362303f |
26 |
|
27 |
diff --git a/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20211126.ebuild b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20211126.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..932f36195930 |
30 |
--- /dev/null |
31 |
+++ b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20211126.ebuild |
32 |
@@ -0,0 +1,81 @@ |
33 |
+# Copyright 2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit meson xdg |
39 |
+ |
40 |
+MY_COMMIT="92f2b2f57c8a6ebf0d10cb95bfc9b685bf98be5c" |
41 |
+ |
42 |
+DESCRIPTION="A GTK image viewer, manga reader, and booru browser" |
43 |
+HOMEPAGE="https://github.com/ahodesuka/ahoviewer" |
44 |
+SRC_URI="https://github.com/ahodesuka/ahoviewer/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="gnome-keyring gnutls +gstreamer plugins +rar +ssl +zip" |
50 |
+ |
51 |
+DEPEND="dev-cpp/atkmm:0 |
52 |
+ dev-cpp/glibmm:2 |
53 |
+ dev-cpp/gtkmm:3.0 |
54 |
+ dev-cpp/pangomm:1.4 |
55 |
+ dev-libs/glib:2 |
56 |
+ dev-libs/libconfig:=[cxx] |
57 |
+ dev-libs/libsigc++:2 |
58 |
+ dev-libs/libxml2:2 |
59 |
+ media-libs/libnsgif |
60 |
+ net-misc/curl |
61 |
+ x11-libs/gdk-pixbuf:2 |
62 |
+ x11-libs/gtk+:3 |
63 |
+ gnome-keyring? ( app-crypt/libsecret ) |
64 |
+ gstreamer? ( |
65 |
+ media-libs/gst-plugins-bad:1.0 |
66 |
+ media-libs/gstreamer:1.0 |
67 |
+ ) |
68 |
+ plugins? ( |
69 |
+ dev-libs/gobject-introspection |
70 |
+ dev-libs/libpeas |
71 |
+ ) |
72 |
+ rar? ( app-arch/unrar:= ) |
73 |
+ ssl? ( |
74 |
+ gnutls? ( |
75 |
+ dev-libs/libgcrypt:= |
76 |
+ net-libs/gnutls:= |
77 |
+ net-misc/curl[curl_ssl_gnutls] |
78 |
+ ) |
79 |
+ !gnutls? ( |
80 |
+ dev-libs/openssl:= |
81 |
+ net-misc/curl[curl_ssl_openssl] |
82 |
+ ) |
83 |
+ ) |
84 |
+ zip? ( dev-libs/libzip:= ) |
85 |
+" |
86 |
+RDEPEND="${DEPEND} |
87 |
+ gstreamer? ( |
88 |
+ media-libs/gst-plugins-base:1.0[X] |
89 |
+ media-libs/gst-plugins-good:1.0 |
90 |
+ || ( |
91 |
+ media-plugins/gst-plugins-vpx |
92 |
+ media-plugins/gst-plugins-libav |
93 |
+ ) |
94 |
+ )" |
95 |
+ |
96 |
+# In future (-beta), pull https://github.com/ahodesuka/ahoviewer-plugins |
97 |
+# directly via SRC_URI="plugins? ( )", or add as a separate package. It |
98 |
+# depends on how the plugins are handled. |
99 |
+#PDEPEND="plugins? ( x11-misc/ahoviewer-plugins )" |
100 |
+ |
101 |
+S="${WORKDIR}/ahoviewer-${MY_COMMIT}" |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local emesonargs=( |
105 |
+ $(meson_feature gnome-keyring libsecret) |
106 |
+ $(meson_feature gstreamer) |
107 |
+ $(meson_feature plugins libpeas) |
108 |
+ $(meson_feature rar libunrar) |
109 |
+ $(meson_feature zip libzip) |
110 |
+ ) |
111 |
+ |
112 |
+ meson_src_configure |
113 |
+} |