diff options
Diffstat (limited to 'media-gfx/ahoviewer')
-rw-r--r-- | media-gfx/ahoviewer/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/ahoviewer/ahoviewer-1.6.4.ebuild | 84 | ||||
-rw-r--r-- | media-gfx/ahoviewer/metadata.xml | 16 |
3 files changed, 103 insertions, 0 deletions
diff --git a/media-gfx/ahoviewer/Manifest b/media-gfx/ahoviewer/Manifest new file mode 100644 index 000000000000..fba3b5ad2d21 --- /dev/null +++ b/media-gfx/ahoviewer/Manifest @@ -0,0 +1,3 @@ +DIST ahoviewer-1.6.4.tar.gz 227225 BLAKE2B c00c89bf80865ddf60a478a8ad030aa136fbc2735598de2b237ea97bc247337d9a12a1423e402c2e95c77df4e70ad68242ed31d5f8d896c1ae835acd860e7a5f SHA512 5e00f086685b7fd6601758e5ae0e6e7d1d24b56c1bd7c81de0be5c3613404fcfc585b8bf035a72a51171a40c8a25c7ad084fc3a9f7ba038e121fb2b7874b4ebd +EBUILD ahoviewer-1.6.4.ebuild 1579 BLAKE2B acabb4739b50bf53584157bead036e882154478e413f68d7c85014da3b17aefe7a043b3ec74c8644d113a54e1698cf2a5c2c5844bfefb1eb3837e803e83c4b80 SHA512 1dbe353fcad2f17f4612341e7180ca92a7343f9e566dcf97c410f6383dc444d9fc79a706463bd0e94860d2dee50d7b1c58fb78b29917650f43dd55216fd7d393 +MISC metadata.xml 532 BLAKE2B 03de1e92365b5abb2e277362cd7e4914e798f98eba5c4f7b1d0a3bd238f1bd35357045b41d96fc979f238c746acd31f35a4557e1251c8786e20420b016648fe4 SHA512 f5a47485137a9721ad98a363167214118f92391f83c75ea66b51c87dfddc5d7585162adc20b23147c6d42781be8c830204af5552fd365d317b7572e2f4fdd260 diff --git a/media-gfx/ahoviewer/ahoviewer-1.6.4.ebuild b/media-gfx/ahoviewer/ahoviewer-1.6.4.ebuild new file mode 100644 index 000000000000..605a1a3cbc46 --- /dev/null +++ b/media-gfx/ahoviewer/ahoviewer-1.6.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools gnome2-utils xdg-utils + +DESCRIPTION="A GTK2 image viewer, manga reader, and booru browser" +HOMEPAGE="https://github.com/ahodesuka/ahoviewer" +SRC_URI="https://github.com/ahodesuka/ahoviewer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnutls +gstreamer libsecret +rar +ssl +zip" + +DEPEND=" + dev-cpp/glibmm:2 + dev-cpp/gtkmm:2.4 + dev-libs/libconfig[cxx] + dev-libs/libxml2:2 + dev-libs/libsigc++:2 + net-misc/curl + gstreamer? ( + media-libs/gst-plugins-bad:1.0 + media-libs/gstreamer:1.0 + ) + libsecret? ( app-crypt/libsecret ) + rar? ( app-arch/unrar ) + ssl? ( + gnutls? ( + net-libs/gnutls:= + net-misc/curl[curl_ssl_gnutls] + ) + !gnutls? ( + >=dev-libs/openssl-1.0.0:0= + net-misc/curl[curl_ssl_openssl] + ) + ) + zip? ( dev-libs/libzip ) +" +RDEPEND=" + ${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 + ) + ) +" + +src_prepare() { + default + xdg_environment_reset + + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable gnutls) + $(use_enable gstreamer gst) + $(use_enable libsecret) + $(use_enable rar) + $(use_enable ssl) + $(use_enable zip) + ) + + econf "${myconf[@]}" +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/media-gfx/ahoviewer/metadata.xml b/media-gfx/ahoviewer/metadata.xml new file mode 100644 index 000000000000..9f11884bf0ed --- /dev/null +++ b/media-gfx/ahoviewer/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>juippis@gmail.com</email> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="libsecret">Support password storing using libsecret</flag> + <flag name="rar">Rar archive support</flag> + <flag name="zip">Zip archive support</flag> + </use> +</pkgmetadata> |