[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2022-05-20 Thread Jakov Smolić
commit: 5ad2b2b166eb11ea134166e19279bc994e5425b2
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 20 19:29:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 20 19:29:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad2b2b1

media-gfx/qiv: Keyword 2.3.2-r1 arm64, #846497

Signed-off-by: Jakov Smolić  gentoo.org>

 media-gfx/qiv/qiv-2.3.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/qiv/qiv-2.3.2-r1.ebuild 
b/media-gfx/qiv/qiv-2.3.2-r1.ebuild
index bb8d07f04ab6..1b65d11fd349 100644
--- a/media-gfx/qiv/qiv-2.3.2-r1.ebuild
+++ b/media-gfx/qiv/qiv-2.3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://spiegl.de/qiv/download/${P}.tgz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
+KEYWORDS="~amd64 ~arm64 ~mips ~x86"
 IUSE="exif lcms magic"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2020-09-29 Thread Joonas Niilola
commit: 60fb093849b800c6999f9036524f0b8cbd528501
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Sep 29 05:55:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 29 05:55:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60fb0938

media-gfx/qiv: remove old 2.3.2-r0

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/qiv/Manifest |  1 -
 media-gfx/qiv/qiv-2.3.2.ebuild | 63 --
 2 files changed, 64 deletions(-)

diff --git a/media-gfx/qiv/Manifest b/media-gfx/qiv/Manifest
index 4d5c17faf5f..fb4484480fa 100644
--- a/media-gfx/qiv/Manifest
+++ b/media-gfx/qiv/Manifest
@@ -1,2 +1 @@
-DIST qiv-2.3.2.tar.gz 135164 BLAKE2B 
b6b82c3007cd3214bb0b812026d22ab0a3c7fce87e51c1f2e19634fe131656f7adc1e92d2e1fcdcc563f1fd8b7c298307e48823bb26e077b336a6983f31894ac
 SHA512 
a6750ecf26bc5b78fbebfdfcfd7a8ab0a5d3ba4e4b19c4a5563e1631dfaf8cc98f7a0bc9449956bc06f8b98cb307b31f78178676ddc9df4fa03429fa31c174e8
 DIST qiv-2.3.2.tgz 133614 BLAKE2B 
f06f36524db8cdde1baf3e118e8ceeeb654dd49a674b55d661255734c0bedaa765fcf8bb77b03d3c2bac8d75a9088b3290f1d802d670393b6795fee85dd4f778
 SHA512 
c4636591f79e8e4c13807433a4101a461e614439e497a5637b958bd9d0937b04515854483d4060d9b1004d6c6060b437d634fdbe491eb0747a660ba65240472d

diff --git a/media-gfx/qiv/qiv-2.3.2.ebuild b/media-gfx/qiv/qiv-2.3.2.ebuild
deleted file mode 100644
index cd62b56094c..000
--- a/media-gfx/qiv/qiv-2.3.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop toolchain-funcs vcs-snapshot xdg
-
-DESCRIPTION="Quick Image Viewer"
-HOMEPAGE="http://spiegl.de/qiv/ https://bitbucket.org/ciberandy/qiv;
-SRC_URI="https://bitbucket.org/ciberandy/qiv/get/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
-IUSE="exif lcms magic"
-
-RDEPEND="
-   media-libs/imlib2[X]
-   >=x11-libs/gtk+-2.12:2
-   exif? ( media-libs/libexif )
-   lcms? (
-   media-libs/lcms:2
-   media-libs/tiff:0
-   virtual/jpeg:0
-   )
-   magic? ( sys-apps/file )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-optional-tiff.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
-   Makefile || die
-
-   if ! use exif ; then
-   sed -i 's/^EXIF =/#\0/' Makefile || die
-   fi
-
-   if ! use lcms ; then
-   sed -i 's/^LCMS =/#\0/' Makefile || die
-   fi
-
-   if ! use magic ; then
-   sed -i 's/^MAGIC =/#\0/' Makefile || die
-   fi
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
-   dobin qiv
-   doman qiv.1
-   dodoc Changelog contrib/qiv-command.example README README.TODO
-
-   domenu qiv.desktop
-   doicon qiv.png
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2020-09-29 Thread Joonas Niilola
commit: b158900e389a0fe14e37ffabfb3965210ec7bcd8
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sun Aug 23 23:57:05 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 29 05:55:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b158900e

media-gfx/qiv: update HOMEPAGE and SRC_URI

Closes: https://bugs.gentoo.org/738754
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17245
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/qiv/Manifest|  1 +
 media-gfx/qiv/metadata.xml|  3 --
 media-gfx/qiv/qiv-2.3.2-r1.ebuild | 63 +++
 3 files changed, 64 insertions(+), 3 deletions(-)

diff --git a/media-gfx/qiv/Manifest b/media-gfx/qiv/Manifest
index b1a72d480cc..4d5c17faf5f 100644
--- a/media-gfx/qiv/Manifest
+++ b/media-gfx/qiv/Manifest
@@ -1 +1,2 @@
 DIST qiv-2.3.2.tar.gz 135164 BLAKE2B 
b6b82c3007cd3214bb0b812026d22ab0a3c7fce87e51c1f2e19634fe131656f7adc1e92d2e1fcdcc563f1fd8b7c298307e48823bb26e077b336a6983f31894ac
 SHA512 
a6750ecf26bc5b78fbebfdfcfd7a8ab0a5d3ba4e4b19c4a5563e1631dfaf8cc98f7a0bc9449956bc06f8b98cb307b31f78178676ddc9df4fa03429fa31c174e8
+DIST qiv-2.3.2.tgz 133614 BLAKE2B 
f06f36524db8cdde1baf3e118e8ceeeb654dd49a674b55d661255734c0bedaa765fcf8bb77b03d3c2bac8d75a9088b3290f1d802d670393b6795fee85dd4f778
 SHA512 
c4636591f79e8e4c13807433a4101a461e614439e497a5637b958bd9d0937b04515854483d4060d9b1004d6c6060b437d634fdbe491eb0747a660ba65240472d

diff --git a/media-gfx/qiv/metadata.xml b/media-gfx/qiv/metadata.xml
index 14169f8501b..7a38bb90096 100644
--- a/media-gfx/qiv/metadata.xml
+++ b/media-gfx/qiv/metadata.xml
@@ -2,7 +2,4 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   
-   ciberandy/qiv
-   
 

diff --git a/media-gfx/qiv/qiv-2.3.2-r1.ebuild 
b/media-gfx/qiv/qiv-2.3.2-r1.ebuild
new file mode 100644
index 000..bb8d07f04ab
--- /dev/null
+++ b/media-gfx/qiv/qiv-2.3.2-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg
+
+DESCRIPTION="Quick Image Viewer"
+HOMEPAGE="https://spiegl.de/qiv/ https://codeberg.org/ciberandy/qiv;
+SRC_URI="https://spiegl.de/qiv/download/${P}.tgz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="exif lcms magic"
+
+RDEPEND="
+   media-libs/imlib2[X]
+   >=x11-libs/gtk+-2.12:2
+   exif? ( media-libs/libexif )
+   lcms? (
+   media-libs/lcms:2
+   media-libs/tiff:0
+   virtual/jpeg:0
+   )
+   magic? ( sys-apps/file )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-optional-tiff.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
+   Makefile || die
+
+   if ! use exif ; then
+   sed -i 's/^EXIF =/#\0/' Makefile || die
+   fi
+
+   if ! use lcms ; then
+   sed -i 's/^LCMS =/#\0/' Makefile || die
+   fi
+
+   if ! use magic ; then
+   sed -i 's/^MAGIC =/#\0/' Makefile || die
+   fi
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+   dobin qiv
+   doman qiv.1
+   dodoc Changelog contrib/qiv-command.example README README.TODO
+
+   domenu qiv.desktop
+   doicon qiv.png
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2019-02-15 Thread Andreas Sturmlechner
commit: 5b3f170f3417c5539a54c5faa2c8d359816e216a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Feb 15 22:19:43 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Feb 15 23:07:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3f170f

media-gfx/qiv: Switch gnome2-utils -> xdg

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/qiv/qiv-2.3.2.ebuild | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/media-gfx/qiv/qiv-2.3.2.ebuild b/media-gfx/qiv/qiv-2.3.2.ebuild
index 0b0984e667e..cd62b56094c 100644
--- a/media-gfx/qiv/qiv-2.3.2.ebuild
+++ b/media-gfx/qiv/qiv-2.3.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit desktop gnome2-utils toolchain-funcs xdg-utils vcs-snapshot
+
+inherit desktop toolchain-funcs vcs-snapshot xdg
 
 DESCRIPTION="Quick Image Viewer"
 HOMEPAGE="http://spiegl.de/qiv/ https://bitbucket.org/ciberandy/qiv;
@@ -13,8 +14,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~mips ~x86"
 IUSE="exif lcms magic"
 
-RDEPEND=">=x11-libs/gtk+-2.12:2
+RDEPEND="
media-libs/imlib2[X]
+   >=x11-libs/gtk+-2.12:2
exif? ( media-libs/libexif )
lcms? (
media-libs/lcms:2
@@ -59,13 +61,3 @@ src_install() {
domenu qiv.desktop
doicon qiv.png
 }
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/files/, media-gfx/qiv/

2018-07-01 Thread Tim Harder
commit: a15772b28d2913de0f5c6b192e867f99c10962ac
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Jul  1 15:01:17 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Jul  1 15:06:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15772b2

media-gfx/qiv: version bump to 2.3.2

Closes: https://bugs.gentoo.org/582404

 media-gfx/qiv/Manifest|  1 +
 media-gfx/qiv/files/qiv-2.3.2-optional-tiff.patch | 22 +++
 media-gfx/qiv/metadata.xml|  3 +
 media-gfx/qiv/qiv-2.3.2.ebuild| 71 +++
 4 files changed, 97 insertions(+)

diff --git a/media-gfx/qiv/Manifest b/media-gfx/qiv/Manifest
index 72f567872a6..7d53b345f3e 100644
--- a/media-gfx/qiv/Manifest
+++ b/media-gfx/qiv/Manifest
@@ -1,2 +1,3 @@
 DIST qiv-2.2.4.tgz 98874 BLAKE2B 
150ea07881d8225801156d395696cef397210e1f5c2f974d08197f3429e1a7e19ebf283037b92cec40a973aa6748f1562dbeba1a6e854438cf069c70781e1561
 SHA512 
744014ff70c9397d7a90e60740f482976713c9e5ff295a03684ae7b50ae70b86589d9e9066702fd43241bf2767c3537f582aab5ebbde25caea1663ec825f76a5
 DIST qiv-2.3.1.tgz 130621 BLAKE2B 
7aa3a63fb83094d4b0a15c4d6422ccf35f34a16df2f0e644a2068c520024b2a22f724ed117ef90292359fb8372969511863b6b0a2ccb0d208bad12649333f993
 SHA512 
5a9b8ac082c78071c903e2f10a98effc412c0b6b940437b6592077978de03b5c7b6192e4d696f0389c12e99e0d3b5ca40c3be54ca2dfa5439121af2415f32812
+DIST qiv-2.3.2.tar.gz 135164 BLAKE2B 
b6b82c3007cd3214bb0b812026d22ab0a3c7fce87e51c1f2e19634fe131656f7adc1e92d2e1fcdcc563f1fd8b7c298307e48823bb26e077b336a6983f31894ac
 SHA512 
a6750ecf26bc5b78fbebfdfcfd7a8ab0a5d3ba4e4b19c4a5563e1631dfaf8cc98f7a0bc9449956bc06f8b98cb307b31f78178676ddc9df4fa03429fa31c174e8

diff --git a/media-gfx/qiv/files/qiv-2.3.2-optional-tiff.patch 
b/media-gfx/qiv/files/qiv-2.3.2-optional-tiff.patch
new file mode 100644
index 000..e00ad10f93e
--- /dev/null
+++ b/media-gfx/qiv/files/qiv-2.3.2-optional-tiff.patch
@@ -0,0 +1,22 @@
+Make tiff header usage conditional on LCMS support as intended.
+
+--- ciberandy-qiv-14b562fe2fc3/qiv.h
 ciberandy-qiv-14b562fe2fc3/qiv.h
+@@ -12,6 +12,7 @@
+ #ifdef SUPPORT_LCMS
+ #include 
+ #include 
++#include 
+ #endif
+ 
+ /*
+--- ciberandy-qiv-14b562fe2fc3/utils.c
 ciberandy-qiv-14b562fe2fc3/utils.c
+@@ -17,7 +17,6 @@
+ #include 
+ #include 
+ #include 
+-#include 
+ #include 
+ #ifdef HAVE_EXIF
+ #include 

diff --git a/media-gfx/qiv/metadata.xml b/media-gfx/qiv/metadata.xml
index 9cc5dff0ad5..55247542f39 100644
--- a/media-gfx/qiv/metadata.xml
+++ b/media-gfx/qiv/metadata.xml
@@ -8,4 +8,7 @@

Use libmagic to determine mimetypes

+   
+   ciberandy/qiv
+   
 

diff --git a/media-gfx/qiv/qiv-2.3.2.ebuild b/media-gfx/qiv/qiv-2.3.2.ebuild
new file mode 100644
index 000..0b0984e667e
--- /dev/null
+++ b/media-gfx/qiv/qiv-2.3.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop gnome2-utils toolchain-funcs xdg-utils vcs-snapshot
+
+DESCRIPTION="Quick Image Viewer"
+HOMEPAGE="http://spiegl.de/qiv/ https://bitbucket.org/ciberandy/qiv;
+SRC_URI="https://bitbucket.org/ciberandy/qiv/get/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="exif lcms magic"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2
+   media-libs/imlib2[X]
+   exif? ( media-libs/libexif )
+   lcms? (
+   media-libs/lcms:2
+   media-libs/tiff:0
+   virtual/jpeg:0
+   )
+   magic? ( sys-apps/file )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-optional-tiff.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
+   Makefile || die
+
+   if ! use exif ; then
+   sed -i 's/^EXIF =/#\0/' Makefile || die
+   fi
+
+   if ! use lcms ; then
+   sed -i 's/^LCMS =/#\0/' Makefile || die
+   fi
+
+   if ! use magic ; then
+   sed -i 's/^MAGIC =/#\0/' Makefile || die
+   fi
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+   dobin qiv
+   doman qiv.1
+   dodoc Changelog contrib/qiv-command.example README README.TODO
+
+   domenu qiv.desktop
+   doicon qiv.png
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2018-07-01 Thread Tim Harder
commit: 7653fef78c95b11169860de40462f600199b3625
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Jul  1 15:02:29 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Jul  1 15:06:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7653fef7

media-gfx/qiv: remove old

 media-gfx/qiv/Manifest |  2 --
 media-gfx/qiv/qiv-2.2.4.ebuild | 43 
 media-gfx/qiv/qiv-2.3.1.ebuild | 63 --
 3 files changed, 108 deletions(-)

diff --git a/media-gfx/qiv/Manifest b/media-gfx/qiv/Manifest
index 7d53b345f3e..b1a72d480cc 100644
--- a/media-gfx/qiv/Manifest
+++ b/media-gfx/qiv/Manifest
@@ -1,3 +1 @@
-DIST qiv-2.2.4.tgz 98874 BLAKE2B 
150ea07881d8225801156d395696cef397210e1f5c2f974d08197f3429e1a7e19ebf283037b92cec40a973aa6748f1562dbeba1a6e854438cf069c70781e1561
 SHA512 
744014ff70c9397d7a90e60740f482976713c9e5ff295a03684ae7b50ae70b86589d9e9066702fd43241bf2767c3537f582aab5ebbde25caea1663ec825f76a5
-DIST qiv-2.3.1.tgz 130621 BLAKE2B 
7aa3a63fb83094d4b0a15c4d6422ccf35f34a16df2f0e644a2068c520024b2a22f724ed117ef90292359fb8372969511863b6b0a2ccb0d208bad12649333f993
 SHA512 
5a9b8ac082c78071c903e2f10a98effc412c0b6b940437b6592077978de03b5c7b6192e4d696f0389c12e99e0d3b5ca40c3be54ca2dfa5439121af2415f32812
 DIST qiv-2.3.2.tar.gz 135164 BLAKE2B 
b6b82c3007cd3214bb0b812026d22ab0a3c7fce87e51c1f2e19634fe131656f7adc1e92d2e1fcdcc563f1fd8b7c298307e48823bb26e077b336a6983f31894ac
 SHA512 
a6750ecf26bc5b78fbebfdfcfd7a8ab0a5d3ba4e4b19c4a5563e1631dfaf8cc98f7a0bc9449956bc06f8b98cb307b31f78178676ddc9df4fa03429fa31c174e8

diff --git a/media-gfx/qiv/qiv-2.2.4.ebuild b/media-gfx/qiv/qiv-2.2.4.ebuild
deleted file mode 100644
index f26a883e40e..000
--- a/media-gfx/qiv/qiv-2.2.4.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit toolchain-funcs
-
-DESCRIPTION="Quick Image Viewer"
-HOMEPAGE="http://spiegl.de/qiv/;
-SRC_URI="http://spiegl.de/qiv/download/${P}.tgz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
-IUSE="xinerama"
-
-RDEPEND=">=x11-libs/gtk+-2.12:2
-   media-libs/imlib2[X]
-   !http://spiegl.de/qiv/;
-SRC_URI="http://spiegl.de/qiv/download/${P}.tgz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
-IUSE="exif lcms magic"
-
-RDEPEND=">=x11-libs/gtk+-2.12:2
-   media-libs/imlib2[X]
-   exif? ( media-libs/libexif )
-   lcms? ( media-libs/lcms:2 )
-   magic? ( sys-apps/file )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   sed -i \
-   -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
-   Makefile || die
-
-   if ! use exif ; then
-   sed -i 's/^EXIF =/#\0/' Makefile || die
-   fi
-
-   if ! use lcms ; then
-   sed -i 's/^LCMS =/#\0/' Makefile || die
-   fi
-
-   if ! use magic ; then
-   sed -i 's/^MAGIC =/#\0/' Makefile || die
-   fi
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
-   dobin qiv
-   doman qiv.1
-   dodoc Changelog contrib/qiv-command.example README README.TODO
-
-   domenu qiv.desktop
-   doicon qiv.png
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/qiv/

2018-04-20 Thread David Seifert
commit: 8f573c911a697382109dadc97f196ba7e288d701
Author: Marty E. Plummer  startmail  com>
AuthorDate: Tue Apr 10 03:47:25 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Apr 20 19:43:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f573c91

media-gfx/qiv: fdo-mime->xdg-utils

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-gfx/qiv/qiv-2.3.1.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/qiv/qiv-2.3.1.ebuild b/media-gfx/qiv/qiv-2.3.1.ebuild
index 12439b7f977..99141eb1eca 100644
--- a/media-gfx/qiv/qiv-2.3.1.ebuild
+++ b/media-gfx/qiv/qiv-2.3.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit toolchain-funcs eutils fdo-mime gnome2-utils
+inherit eutils gnome2-utils toolchain-funcs xdg-utils
 
 DESCRIPTION="Quick Image Viewer"
 HOMEPAGE="http://spiegl.de/qiv/;
@@ -53,11 +53,11 @@ src_install() {
 }
 
 pkg_postinst() {
-   fdo-mime_desktop_database_update
+   xdg_desktop_database_update
gnome2_icon_cache_update
 }
 
 pkg_postrm() {
-   fdo-mime_desktop_database_update
+   xdg_desktop_database_update
gnome2_icon_cache_update
 }