From ccf84bcd604130256d1377cd58f0a634ae6ee20f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2017 04:06:07 +0000 Subject: gentoo resync : 28.12.2017 --- media-gfx/pqiv/Manifest | 2 + media-gfx/pqiv/pqiv-2.10.2.ebuild | 79 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 media-gfx/pqiv/pqiv-2.10.2.ebuild (limited to 'media-gfx/pqiv') diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index a2dfcee84f89..2c831a10efdd 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1,6 +1,8 @@ DIST pqiv-2.10.1.tar.gz 138129 BLAKE2B 46503e6012854562d1ff1bbf43d218dbdc6f9e7000c8625de73a708061a6c1678622b48270c73b3a16fff2fdac60bf5097376dfd0a6f5c7c2e36611aed8bd3cc SHA512 9850f6693e7fd2942d105736a7d6a274388875770e194ac6bd8a5a8291db8fec1ee3a0262f911f2b8e5d115aa11d520c44d80cc8218e2c87d6935dea4dfcb97e +DIST pqiv-2.10.2.tar.gz 138506 BLAKE2B 255104acec9d42eac52d8aaf05207fc8071ecbef14a04c5952e70347d0cd83b54b00725b9bb949184bcd9437982701814b6a09c4c2397336f26ce9f50896d2e6 SHA512 99cb3a187fa2cc0df7b7f768b2f801fbec78aa8d76aacd12085f3b8ccbfaf931a2379e7b05a92f83dacf511489518a75f9e5bf528e4152158d8bb75cffb0d6f7 DIST pqiv-2.9.tar.gz 133823 BLAKE2B a43c5323c47c10a94f83e8ed065e26212bf023f483cbc0e2160fe7789a55a043bb5912ed62306a15193edeb7ffca0450619799843101c41246ce867da3ffe6e3 SHA512 0a509d5d4b41682f86f4b813d63f3f7f8f3977ede0b8b1649a2adc188ed83923147b8bb741ba7f85b4c1dd7a9612fca3fec44169364042be4db44ef53d813ab7 EBUILD pqiv-2.10.1.ebuild 1801 BLAKE2B 7e8f0f56ed1f6072aa6ba355091625db07bd0c0d78dcd7b79c0df75f8e5f51884f8dfe7d870ce3ee2c8cd843230f6ff2d945fec0018845ba427d73e709183cfd SHA512 626d80674d7314ca9fdd8ff9e2da9e4282ccfc7d82c7686618bb2342035072106e4e8102dd12d82802eb46ab5af97595d39131f8c4c0471c69ae8f01c5b13b9a +EBUILD pqiv-2.10.2.ebuild 1801 BLAKE2B 7e8f0f56ed1f6072aa6ba355091625db07bd0c0d78dcd7b79c0df75f8e5f51884f8dfe7d870ce3ee2c8cd843230f6ff2d945fec0018845ba427d73e709183cfd SHA512 626d80674d7314ca9fdd8ff9e2da9e4282ccfc7d82c7686618bb2342035072106e4e8102dd12d82802eb46ab5af97595d39131f8c4c0471c69ae8f01c5b13b9a EBUILD pqiv-2.9.ebuild 1798 BLAKE2B 32382a6be43d17d8fa792e6db80df069a0277e06bbed0dc9d6127c5a04717855db8fe584fd4434d30a1d83b833ab74fdb70ff95d7ff4e746e92fecf40de4b634 SHA512 1285d38a37bce7f5670f7e39136a834b60af8c71db12bf84a962636ca9da5c27e162fe71e243f9c30689f2f2eba5277c121305d8e4f11f50fddcf635a60dfae9 EBUILD pqiv-9999.ebuild 1800 BLAKE2B c094f1ddfd450720f7541984223be19392830dfafd5d648aa9ad7d31f5ead69f40f37abc30db7fba2de8e1baeb129dee9bc620b55d97ea5ced0fee0345148559 SHA512 33ddac017e8c65c6df0b91ee20483a8bb486031c306e992593fb72f60740f8ad832eb8b8200aa52f89d9467dedf652bcebfdec5cd70a6063a25f5962c468288a MISC metadata.xml 584 BLAKE2B 5d617c553a0f5f4be6268f17dae36d3bb52e984c4c7c89df44b40e1bde1cff3e5619210548b93bf6ffc2e0ea32839d6b4fd39714b237aea23f1cad966c92b3ec SHA512 0d589cf085f6e6335aae5f6e32ccd153ddae1f0fa926fd3a135eabcdc20d5c560e2694216ba93b6d8c6c16bd8541f9d7aaa496e7ee4bc82fea90228a28320fbd diff --git a/media-gfx/pqiv/pqiv-2.10.2.ebuild b/media-gfx/pqiv/pqiv-2.10.2.ebuild new file mode 100644 index 000000000000..68f387141219 --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.10.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info toolchain-funcs xdg-utils + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git" + inherit git-r3 +else + SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="powerful GTK 3 based command-line image viewer with a minimal UI" +HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript webp" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + >=x11-libs/cairo-1.6 + x11-libs/gtk+:3 + archive? ( app-arch/libarchive:0= ) + ffmpeg? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + imagemagick? ( media-gfx/imagemagick:0= ) + pdf? ( app-text/poppler:0= ) + postscript? ( app-text/libspectre:0= ) + webp? ( media-libs/libwebp:0= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +doecho() { + echo "$@" + "$@" || die +} + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi +} + +src_configure() { + local backends="gdkpixbuf" + use archive && backends+=",archive,archive_cbx" + use ffmpeg || use libav && backends+=",libav" + use imagemagick && backends+=",wand" + use pdf && backends+=",poppler" + use postscript && backends+=",spectre" + use webp && backends+=",webp" + + doecho ./configure \ + --backends-build=shared \ + --backends=${backends} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --destdir="${ED}" +} + +src_compile() { + tc-export CC + emake VERBOSE=1 CFLAGS="${CFLAGS}" +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} -- cgit v1.2.3