From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6E72139695 for ; Wed, 1 Mar 2017 13:54:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF024E0C7A; Wed, 1 Mar 2017 13:54:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0D42E0C7A for ; Wed, 1 Mar 2017 13:54:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8488F3416D5 for ; Wed, 1 Mar 2017 13:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B29F58B6 for ; Wed, 1 Mar 2017 13:54:09 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1488376445.813e905dbf15468d1ca7a8f24d57f08295db6da7.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pqiv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/pqiv/Manifest media-gfx/pqiv/pqiv-2.8.2.ebuild X-VCS-Directories: media-gfx/pqiv/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 813e905dbf15468d1ca7a8f24d57f08295db6da7 X-VCS-Branch: master Date: Wed, 1 Mar 2017 13:54:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e689a1f8-33a1-466b-b7f9-81bf10cae34c X-Archives-Hash: 7da3245c8b5d25072199f580488c6e94 commit: 813e905dbf15468d1ca7a8f24d57f08295db6da7 Author: Tim Harder gentoo org> AuthorDate: Wed Mar 1 13:42:50 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Mar 1 13:54:05 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813e905d media-gfx/pqiv: version bump to 2.8.2 media-gfx/pqiv/Manifest | 1 + media-gfx/pqiv/pqiv-2.8.2.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index 8431b6a5b5e..399065679d6 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1,2 +1,3 @@ DIST pqiv-2.2.tar.gz 52414 SHA256 88d625de4437c8e65a49d74e993df5debf224ecf726365e138bf90a602b8b74b SHA512 2f504e228607b4b7b3cb341def5a104c86d932dc93f54b68893acbf5becc9cfa5c4d7549ead8ee25c4cb1f6a3cf13623eb3836e368299de2a21624d9773458bc WHIRLPOOL 0df549d3cc686806413741e453335e7e54f1e194c4296ccc9a72f9b6805b5f83514ee6dbdb45478753c91d36b7baf6b1bf88abb5f84ea9fb1c1bf9643c4fe2f9 DIST pqiv-2.7.4.tar.gz 103380 SHA256 2c6acd9c031de3afdd231d71223566e229dafbb1bce1a88a6b11e91b9c3a817d SHA512 2e7df3073e91e9b644c5f9f9abe362bca8cd20d1fbd5809de6311bd0b872e346a978d3e5f489674a99d5d8ca7977a091061c029ad6d416078783ccc28bea1bd0 WHIRLPOOL ceef3324e6571b1806b391b358e18f7fd6a7c182afbe56a5d44ff71e6fb03842f5d240b2320b3c4dde88648c9aa58b96c9236e7232ee8997b3663223fbb1d735 +DIST pqiv-2.8.2.tar.gz 108475 SHA256 4953e5627581720ba385913e1a8129ef9b312a93d2ce3d632a6fcad98d6db2dc SHA512 cf55b62cb95e1650d677cffdb120782cc6157077f499001a82f4f49022f3b96c3a4d716e90120445848a18c4eb51453e64affbf416da780eee20f702f89992c1 WHIRLPOOL a611464e994ded9850ebcf580ae279f570c2ee8eef819d167a91a92d2868c4fe47a5b768a44e711d2de70f899e9f01f3637f34132106c468e6d5ef8d6316b179 diff --git a/media-gfx/pqiv/pqiv-2.8.2.ebuild b/media-gfx/pqiv/pqiv-2.8.2.ebuild new file mode 100644 index 00000000000..4c3939b69e1 --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.8.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info toolchain-funcs fdo-mime + +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" + +RDEPEND=" + >=dev-libs/glib-2.8: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= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi +} + +src_configure() { + local backends="gdkpixbuf" + use archive && backends="${backends},archive,archive_cbx" + use ffmpeg || use libav && backends="${backends},libav" + use imagemagick && backends="${backends},wand" + use pdf && backends="${backends},poppler" + use postscript && backends="${backends},spectre" + + ./configure \ + --backends-build=shared \ + --backends=${backends} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --destdir="${ED}" \ + || die +} + +src_compile() { + tc-export CC + emake VERBOSE=1 CFLAGS="${CFLAGS}" +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +}