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 251D81395E2 for ; Wed, 16 Nov 2016 21:01:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67CF0E0B75; Wed, 16 Nov 2016 21:01:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 414F4E0B75 for ; Wed, 16 Nov 2016 21:01:25 +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 2AD493413C3 for ; Wed, 16 Nov 2016 21:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93296308 for ; Wed, 16 Nov 2016 21:01:22 +0000 (UTC) From: "Markus Meier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markus Meier" Message-ID: <1479330074.62c9bb3bcd13f58ed0e1548cae655f3565c42de0.maekke@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.6.ebuild X-VCS-Directories: media-gfx/pqiv/ X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier X-VCS-Revision: 62c9bb3bcd13f58ed0e1548cae655f3565c42de0 X-VCS-Branch: master Date: Wed, 16 Nov 2016 21:01:22 +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: 229cd1d2-05ab-4e70-9ae7-d103c536d643 X-Archives-Hash: 5202c4466bd2899a6250e2bb2449c8d2 commit: 62c9bb3bcd13f58ed0e1548cae655f3565c42de0 Author: Markus Meier gentoo org> AuthorDate: Wed Nov 16 21:00:47 2016 +0000 Commit: Markus Meier gentoo org> CommitDate: Wed Nov 16 21:01:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c9bb3b media-gfx/pqiv: version bump, bug #542352 Package-Manager: portage-2.3.2 media-gfx/pqiv/Manifest | 1 + media-gfx/pqiv/pqiv-2.6.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index 00d42ff..c72ffb2 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1 +1,2 @@ DIST pqiv-2.2.tar.gz 52414 SHA256 88d625de4437c8e65a49d74e993df5debf224ecf726365e138bf90a602b8b74b SHA512 2f504e228607b4b7b3cb341def5a104c86d932dc93f54b68893acbf5becc9cfa5c4d7549ead8ee25c4cb1f6a3cf13623eb3836e368299de2a21624d9773458bc WHIRLPOOL 0df549d3cc686806413741e453335e7e54f1e194c4296ccc9a72f9b6805b5f83514ee6dbdb45478753c91d36b7baf6b1bf88abb5f84ea9fb1c1bf9643c4fe2f9 +DIST pqiv-2.6.tar.gz 96050 SHA256 f0c0d803724cdde2ccac1dc8d7e8928bdc633e758914a67320734a6961ee099c SHA512 b5c811bdd48b5252e23c3d59147af2a06adb35527e28b6129d10e5c4c4c01e5b030b860142c9db6eb35b5a1dbbc6d0814275ce08fa93da773ae08aac7da6814f WHIRLPOOL bbd69ec79afd08fb5bf95106fbac491f3a869065d101ba1e0ab346eebd261f6dca342233084b8891efd3dbd124cf3cb0271e7a67a57325f243961cab1bc85b51 diff --git a/media-gfx/pqiv/pqiv-2.6.ebuild b/media-gfx/pqiv/pqiv-2.6.ebuild new file mode 100644 index 00000000..282572f --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit linux-info toolchain-funcs + +DESCRIPTION="Modern rewrite of Quick Image Viewer" +HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" +SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ffmpeg imagemagick kernel_linux libav pdf postscript" + +RDEPEND=">=dev-libs/glib-2.8:2 + >=x11-libs/cairo-1.6 + x11-libs/gtk+:3 + 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" + +DOCS=( "README.markdown" ) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi +} + +src_prepare() { + default + sed -i \ + -e "s:/lib/:/$(get_libdir)/:g" \ + GNUmakefile || die +} + +src_configure() { + local backends="gdkpixbuf" + use ffmpeg || use libav && backends="${backends},libav" + use imagemagick && backends="${backends},magick" + use pdf && backends="${backends},poppler" + use postscript && backends="${backends},spectre" + + ./configure \ + --backends-build=shared \ + --backends=${backends} \ + --prefix="${EPREFIX}/usr" \ + --destdir="${ED}" \ + || die +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" +}