mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-gfx/qiv: drop 2.3.2-r3
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qiv-2.3.2.tgz 133614 BLAKE2B f06f36524db8cdde1baf3e118e8ceeeb654dd49a674b55d661255734c0bedaa765fcf8bb77b03d3c2bac8d75a9088b3290f1d802d670393b6795fee85dd4f778 SHA512 c4636591f79e8e4c13807433a4101a461e614439e497a5637b958bd9d0937b04515854483d4060d9b1004d6c6060b437d634fdbe491eb0747a660ba65240472d
|
||||
DIST qiv-2.3.3.tgz 139301 BLAKE2B 0167e074f859ef028e3b343a8e521573f953ba43b7bd78f58e8b337a558b0d48a3c857cccafa2d55384fb48afdc0735949d873de878eff18658f09b98700c61c SHA512 95b5f3759c03648dea1ea1eacaf3d38d808a6eff4d26edf711df0e20a741fc22a0c16bcd84b8740f1455f5d35db9c2b04392dff8b4e030ec3d3c05cd01886759
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
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 <lcms2.h>
|
||||
#include <jpeglib.h>
|
||||
+#include <tiffio.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
--- ciberandy-qiv-14b562fe2fc3/utils.c
|
||||
+++ ciberandy-qiv-14b562fe2fc3/utils.c
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
-#include <tiffio.h>
|
||||
#include <X11/extensions/dpms.h>
|
||||
#ifdef HAVE_EXIF
|
||||
#include <libexif/exif-loader.h>
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2022 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 ~arm64 ~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/libjpeg-turbo:=
|
||||
media-libs/tiff:=
|
||||
)
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user