diff options
Diffstat (limited to 'media-gfx/ahoviewer')
-rw-r--r-- | media-gfx/ahoviewer/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/ahoviewer/ahoviewer-2.0.0_pre20220827.ebuild | 83 | ||||
-rw-r--r-- | media-gfx/ahoviewer/metadata.xml | 3 |
3 files changed, 89 insertions, 1 deletions
diff --git a/media-gfx/ahoviewer/Manifest b/media-gfx/ahoviewer/Manifest index e9e2d408f48a..4ec7626c1d30 100644 --- a/media-gfx/ahoviewer/Manifest +++ b/media-gfx/ahoviewer/Manifest @@ -1,3 +1,5 @@ DIST ahoviewer-2.0.0_pre20220124.tar.gz 502882 BLAKE2B 9476c42dd36615f9106b6db0386b20c8922092fe68674f7a4439ca64458c00e3c1943a7402aed752ec91395e0684ce7cd89b0ac2de7f198edb39ebccef782fbd SHA512 0cf01c7011ae506fcff9700c46a06a57fdccc8f8a274d86a8438c926f0513e4e5851bdb37cb6ee7f8b673894938aafa7c2cb485773db04b977ec5f8b8634da3e +DIST ahoviewer-2.0.0_pre20220827.tar.gz 502441 BLAKE2B 3d784a729a5221f457e0e9378f6baf5bdac6bbd800658467c7abf8c5c402da9a10357f3bb9642acce2390c0cf98fd236ff82f707ff1ce189bac079fe275cc89b SHA512 e9d20eb69c03417ca9d7cb708bbf69056c0ee525c7e7da55d273af72f74d038210f10841a07add839c171b473ce338880736cf874a58aa572f35393c86021ac1 EBUILD ahoviewer-2.0.0_pre20220124.ebuild 1849 BLAKE2B 7800160da56d0a2cd0b098fe4e6d1c9333bf9d3c5720013f90a58bbfc9025fcbe1459a30ad8212d9f5735b622f79f31d542a645f528ee22fd89ec5e022330228 SHA512 9c6c5ea5f00f3ee2d1e3779d79c3cd9f3ef4df49e330cfa594e8f27f154168de3dd782bd8fd54d2648a5329a38cc67b507da4bf82bf085e5889c8a6f23cc5347 -MISC metadata.xml 432 BLAKE2B 865f9803f9a469564f6d4fee9bffa7eb94d268db2358281cc8b744f5de2b88dc9abcd69b8610113c797bd0eeb574985d3775f9259884f57cbe9eda47aa051ac7 SHA512 60ecc403ad49d4a774ec98ef8850041f358d1903d345eaf63d7429e6c96e11a34e3dc5ed7e1470fb851fbdef9b3b2d965d9d04303c1b8f61691857354cca5924 +EBUILD ahoviewer-2.0.0_pre20220827.ebuild 1912 BLAKE2B 2486771e887902fafccceff65e5b1f06ef68629cd45b09053e62d329bf8c9a55f927d38378aa1cb6e60829626a3c961ded58d1678ff557590506f1020804031a SHA512 a58800951416c7608cba54576a3e6310a85d5fba7204ad4368f94a3adea1efd4d7cb46b959e7fa388a80501178dce5b95586d25915d1bff444a78a63dce28bf8 +MISC metadata.xml 520 BLAKE2B 8bdfd40b379bc5a256e0c9723a6f38800a13bc196dadda3ecb04ca830877a83f453d4201b435b45c299e69600b1e7c2687ad3ab5a1235796a216f8326bd95609 SHA512 14247aa1880217fb82e5775b8726ec14867f32089ab88937a84aca44d06310e5ebd25fb3386b35ba6eace3eb223a7c3a642df93c5a25333146646fbf5e75c273 diff --git a/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20220827.ebuild b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20220827.ebuild new file mode 100644 index 000000000000..3e253e4c5368 --- /dev/null +++ b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20220827.ebuild @@ -0,0 +1,83 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +MY_COMMIT="42e16f94b78496e3e346f0d127baa569039a6757" + +DESCRIPTION="A GTK image viewer, manga reader, and booru browser" +HOMEPAGE="https://github.com/ahodesuka/ahoviewer" +SRC_URI="https://github.com/ahodesuka/ahoviewer/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="keyring gnutls +gstreamer plugins +rar +ssl +zip" + +COMMON_DEPEND="dev-cpp/atkmm:0 + dev-cpp/glibmm:2 + dev-cpp/gtkmm:3.0 + dev-cpp/pangomm:1.4 + dev-libs/glib:2 + dev-libs/libconfig:=[cxx] + dev-libs/libsigc++:2 + dev-libs/libxml2:2 + media-libs/libnsgif + net-misc/curl + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + keyring? ( app-crypt/libsecret ) + gstreamer? ( + media-libs/gst-plugins-bad:1.0 + media-libs/gstreamer:1.0 + ) + plugins? ( + dev-libs/gobject-introspection + dev-libs/libpeas + ) + rar? ( app-arch/unrar:= ) + ssl? ( + gnutls? ( + dev-libs/libgcrypt:= + net-libs/gnutls:= + net-misc/curl[curl_ssl_gnutls] + ) + !gnutls? ( + dev-libs/openssl:= + net-misc/curl[curl_ssl_openssl] + ) + ) + zip? ( dev-libs/libzip:= ) +" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto" +RDEPEND="${COMMON_DEPEND} + gstreamer? ( + media-libs/gst-plugins-base:1.0[X] + media-libs/gst-plugins-good:1.0 + || ( + media-plugins/gst-plugins-vpx + media-plugins/gst-plugins-libav + ) + )" + +# In future (-beta), pull https://github.com/ahodesuka/ahoviewer-plugins +# directly via SRC_URI="plugins? ( )", or add as a separate package. It +# depends on how the plugins are handled. +#PDEPEND="plugins? ( x11-misc/ahoviewer-plugins )" + +S="${WORKDIR}/ahoviewer-${MY_COMMIT}" + +src_configure() { + local emesonargs=( + $(meson_feature keyring libsecret) + $(meson_feature gstreamer) + $(meson_feature plugins libpeas) + $(meson_feature rar libunrar) + $(meson_feature zip libzip) + ) + + meson_src_configure +} diff --git a/media-gfx/ahoviewer/metadata.xml b/media-gfx/ahoviewer/metadata.xml index ea6eed74ae28..8b14c77914a6 100644 --- a/media-gfx/ahoviewer/metadata.xml +++ b/media-gfx/ahoviewer/metadata.xml @@ -9,4 +9,7 @@ <flag name="rar">Rar archive support</flag> <flag name="zip">Zip archive support</flag> </use> + <upstream> + <remote-id type="github">ahodesuka/ahoviewer</remote-id> + </upstream> </pkgmetadata> |