public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pqiv/
Date: Thu, 17 Aug 2017 19:12:23 +0000 (UTC)	[thread overview]
Message-ID: <1502997046.c10d08820d0ab60ac875a74769553779119d9054.radhermit@gentoo> (raw)

commit:     c10d08820d0ab60ac875a74769553779119d9054
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 19:00:41 2017 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 19:10:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10d0882

media-gfx/pqiv: version bump to 2.9

 media-gfx/pqiv/Manifest                            |  1 +
 media-gfx/pqiv/pqiv-2.8.5.ebuild                   |  6 ++---
 .../pqiv/{pqiv-9999.ebuild => pqiv-2.9.ebuild}     | 30 +++++++++++++---------
 media-gfx/pqiv/pqiv-9999.ebuild                    | 30 +++++++++++++---------
 4 files changed, 40 insertions(+), 27 deletions(-)

diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 7975c57dc0c..3f3a24e7ad8 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -1 +1,2 @@
 DIST pqiv-2.8.5.tar.gz 108686 SHA256 7895fe0cb7b18d9e40d0353df2ec964aed4e1bb7fa7e1ea9a1e00858d3a89ce9 SHA512 dc3a7a49a781002e9234982405b3a3633673b523ab4db1dbe52b2ad3f3a859920f3087f0f492df5a54560c7048b5587bf976ae37db86669ba5941b81c2f21906 WHIRLPOOL 05077b650dd739634ab3b21086f926b12e6fe01b2c047d497241fd1a5cba4da22cc9ae68e560613b3eedefe0f90e76164aebe001981c136a11601ad852faebe3
+DIST pqiv-2.9.tar.gz 133823 SHA256 e57298ae7123bd6b01b751f6ef2d7a7853e731a3271b50095683442a406da99c SHA512 0a509d5d4b41682f86f4b813d63f3f7f8f3977ede0b8b1649a2adc188ed83923147b8bb741ba7f85b4c1dd7a9612fca3fec44169364042be4db44ef53d813ab7 WHIRLPOOL e40e4aab7b4df92cc7bed911531be4e84062196ca1fdae867b05da38f28c448a34475a31865275f0d38f3efedf1f07af42f305fcb6621a16a73f7050cb327652

diff --git a/media-gfx/pqiv/pqiv-2.8.5.ebuild b/media-gfx/pqiv/pqiv-2.8.5.ebuild
index 5b0851c1aca..d3b8017191c 100644
--- a/media-gfx/pqiv/pqiv-2.8.5.ebuild
+++ b/media-gfx/pqiv/pqiv-2.8.5.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit linux-info toolchain-funcs fdo-mime
+inherit linux-info toolchain-funcs xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git"
@@ -65,9 +65,9 @@ src_compile() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }

diff --git a/media-gfx/pqiv/pqiv-9999.ebuild b/media-gfx/pqiv/pqiv-2.9.ebuild
similarity index 74%
copy from media-gfx/pqiv/pqiv-9999.ebuild
copy to media-gfx/pqiv/pqiv-2.9.ebuild
index 4c3939b69e1..38325520298 100644
--- a/media-gfx/pqiv/pqiv-9999.ebuild
+++ b/media-gfx/pqiv/pqiv-2.9.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit linux-info toolchain-funcs fdo-mime
+inherit linux-info toolchain-funcs xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git"
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript"
+IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript webp"
 
 RDEPEND="
 	>=dev-libs/glib-2.8:2
@@ -31,10 +31,16 @@ RDEPEND="
 	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"
@@ -44,19 +50,19 @@ pkg_setup() {
 
 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"
+	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"
 
-	./configure \
+	doecho ./configure \
 		--backends-build=shared \
 		--backends=${backends} \
 		--prefix="${EPREFIX}/usr" \
 		--libdir="${EPREFIX}/usr/$(get_libdir)" \
-		--destdir="${ED}" \
-		|| die
+		--destdir="${ED}"
 }
 
 src_compile() {
@@ -65,9 +71,9 @@ src_compile() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }

diff --git a/media-gfx/pqiv/pqiv-9999.ebuild b/media-gfx/pqiv/pqiv-9999.ebuild
index 4c3939b69e1..38325520298 100644
--- a/media-gfx/pqiv/pqiv-9999.ebuild
+++ b/media-gfx/pqiv/pqiv-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit linux-info toolchain-funcs fdo-mime
+inherit linux-info toolchain-funcs xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git"
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript"
+IUSE="archive ffmpeg imagemagick kernel_linux libav pdf postscript webp"
 
 RDEPEND="
 	>=dev-libs/glib-2.8:2
@@ -31,10 +31,16 @@ RDEPEND="
 	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"
@@ -44,19 +50,19 @@ pkg_setup() {
 
 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"
+	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"
 
-	./configure \
+	doecho ./configure \
 		--backends-build=shared \
 		--backends=${backends} \
 		--prefix="${EPREFIX}/usr" \
 		--libdir="${EPREFIX}/usr/$(get_libdir)" \
-		--destdir="${ED}" \
-		|| die
+		--destdir="${ED}"
 }
 
 src_compile() {
@@ -65,9 +71,9 @@ src_compile() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }


             reply	other threads:[~2017-08-17 19:12 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 19:12 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-11 11:05 [gentoo-commits] repo/gentoo:master commit in: media-gfx/pqiv/ Arthur Zamarin
2023-12-01 14:39 Arthur Zamarin
2023-12-01 12:11 Arthur Zamarin
2023-12-01 12:11 Arthur Zamarin
2023-12-01 11:30 Ulrich Müller
2023-11-24 14:34 Michał Górny
2023-09-14 17:57 Arthur Zamarin
2023-09-14 17:57 Arthur Zamarin
2022-10-29 19:43 Sam James
2021-12-08 10:14 Yixun Lan
2021-10-19  0:12 Sam James
2020-04-26  7:44 Mikle Kolyada
2019-04-03  4:46 Tim Harder
2019-02-22 11:05 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann
2018-12-13  3:34 Tim Harder
2018-12-13  3:34 Tim Harder
2018-12-13  3:34 Tim Harder
2018-06-25 19:26 Tim Harder
2018-03-23  6:39 Tim Harder
2018-03-23  6:39 Tim Harder
2017-12-27  6:58 Tim Harder
2017-11-20  7:17 Tim Harder
2017-10-02  4:36 Tim Harder
2017-10-02  4:36 Tim Harder
2017-08-17 19:12 Tim Harder
2017-08-17 19:12 Tim Harder
2017-04-26  0:19 Tim Harder
2017-04-12  8:01 Tim Harder
2017-04-05  4:53 Tim Harder
2017-03-01 13:54 Tim Harder
2017-02-23  0:48 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-16 13:05 Tim Harder
2016-11-19 17:14 Markus Meier
2016-11-16 21:01 Markus Meier
2016-11-09 18:50 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502997046.c10d08820d0ab60ac875a74769553779119d9054.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox