commit: 1942b62aa3dbb182b88ec9e0d363606a3297ad1f Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Sat May 24 08:34:11 2025 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat May 24 08:34:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1942b62a
media-gfx/ahoviewer: add 2.0.0_pre20241230 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> media-gfx/ahoviewer/Manifest | 1 + .../ahoviewer/ahoviewer-2.0.0_pre20241230.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/media-gfx/ahoviewer/Manifest b/media-gfx/ahoviewer/Manifest index e09872ff1798..b53fc4e36314 100644 --- a/media-gfx/ahoviewer/Manifest +++ b/media-gfx/ahoviewer/Manifest @@ -1 +1,2 @@ DIST ahoviewer-2.0.0_pre20220827.tar.gz 502441 BLAKE2B 3d784a729a5221f457e0e9378f6baf5bdac6bbd800658467c7abf8c5c402da9a10357f3bb9642acce2390c0cf98fd236ff82f707ff1ce189bac079fe275cc89b SHA512 e9d20eb69c03417ca9d7cb708bbf69056c0ee525c7e7da55d273af72f74d038210f10841a07add839c171b473ce338880736cf874a58aa572f35393c86021ac1 +DIST ahoviewer-2.0.0_pre20241230.tar.gz 511333 BLAKE2B 1107463019727638d50951e93ed16ac81b8d4cce8aa8a45e446270da953d6a78de85387a1e9b99cd2c878cefe214d28ffdd2ca21bea5e8b2e5064a42f79767bf SHA512 b29c366904bbf3fbc5ba6950ddd4198e5407928ae012a520dd4a33cabbe45b09c9577987d787c560f63a0427d40c8c1c7366e7fe860e5e89a96002b5d50439bd diff --git a/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20241230.ebuild b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20241230.ebuild new file mode 100644 index 000000000000..746318cfe196 --- /dev/null +++ b/media-gfx/ahoviewer/ahoviewer-2.0.0_pre20241230.ebuild @@ -0,0 +1,84 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +MY_COMMIT="821576a249ae0258a2b69332770ca84a5310b62b" + +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-1.0.0:= + media-plugins/gst-plugins-gtk + 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:0 + ) + 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 +}
