mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
media-gfx/qiv: Bump to 3.0.4
it should fix a memory leak patch merged Bug: https://bugs.gentoo.org/963527 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/719 Merges: https://codeberg.org/gentoo/gentoo/pulls/719 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST qiv-3.0.2.tar.gz 143688 BLAKE2B 5f5fa04383ef7a7f0891279a1644cc6ecdc59c43dd8d0fcbbb9b03aa8e7633e9afb2e039a47e745f1bb2f2ea8d5b38cd62a3c0d3e1a9708cf0630d27821f4626 SHA512 51c27eff7e4f65dd21c022d7f60c59e78f41adb2e6feadbc85842865c7d0a1c5d1fd752ad0bd96af77f33acfaed4d6fdb27acd824b92733a198064cb9122a1dd
|
||||
DIST qiv-3.0.4.tar.gz 146841 BLAKE2B bc38dea92610a7251d76fd421b48d86898282365b66cfee2f63bc2431253b5ef2ce4ddd062dbbdb09d1dee53b687919261d142966d8eea9e717581b259f6f2ec SHA512 494630090ae8f86f71019db2fd3027715d8c7549edee1dcc15d0ea0569d5fc98c7b9f3518f688c9ab345b67a8f6bc59734b506af17fec3607ad52b301704cf6a
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Quick Image Viewer"
|
||||
HOMEPAGE="https://spiegl.de/qiv/ https://codeberg.org/ciberandy/qiv"
|
||||
SRC_URI="https://codeberg.org/ciberandy/qiv/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
IUSE="exif lcms"
|
||||
# just a launch-test
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
sys-apps/file
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/pango
|
||||
exif? ( media-libs/libexif )
|
||||
lcms? (
|
||||
media-libs/lcms:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/tiff:=
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use exif ; then
|
||||
sed -i 's/^EXIF =/#\0/' Makefile || die
|
||||
fi
|
||||
|
||||
if ! use lcms ; then
|
||||
sed -i 's/^LCMS =/#\0/' Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC PKG_CONFIG
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myemakeargs=(
|
||||
PREFIX="${ED}/usr"
|
||||
# do not compress the manpage
|
||||
COMPRESS_PROG=true
|
||||
# do not strip
|
||||
STRIP_FLAG=
|
||||
)
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
dodoc Changelog contrib/qiv-command.example README README.TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "GIF support" gui-libs/gdk-pixbuf[gif]
|
||||
optfeature "JPEG support" gui-libs/gdk-pixbuf[jpeg]
|
||||
optfeature "TIFF support" gui-libs/gdk-pixbuf[tiff]
|
||||
optfeature "WebP support" gui-libs/gdk-pixbuf-loader-webp
|
||||
}
|
||||
Reference in New Issue
Block a user