diff options
Diffstat (limited to 'media-gfx/xzgv')
-rw-r--r-- | media-gfx/xzgv/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/xzgv/files/xzgv-0.9-asneeded-and-cflags.patch | 12 | ||||
-rw-r--r-- | media-gfx/xzgv/xzgv-0.9.1.ebuild | 22 |
3 files changed, 21 insertions, 17 deletions
diff --git a/media-gfx/xzgv/Manifest b/media-gfx/xzgv/Manifest index 77a3a92a87e0..cee187e00d07 100644 --- a/media-gfx/xzgv/Manifest +++ b/media-gfx/xzgv/Manifest @@ -1,4 +1,4 @@ -AUX xzgv-0.9-asneeded-and-cflags.patch 976 BLAKE2B d83aaa182b8e27f8883d6512f657cc34300b8d5e08521cf6f8e11db67bcfe6f8052ba18d17a4ebbd1181d09e7607e2a5ad8b632c03c4c60c78b86167beacfabc SHA512 05fa8d01d86e5a3e4be7c7226ce21e041f80e9ea8beeaf57f9e4624237b87e39447c07019e8b6530681ed8583c370737f50583941ed939195553ce81110742af +AUX xzgv-0.9-asneeded-and-cflags.patch 1002 BLAKE2B 7278103cadc14e2c52b9df5bddee761a757c363e7bfd46ebcfa83048b46ea0b0da19f8bba5380f535f92957b640ce977c207577db91fbf45104f012256608aea SHA512 b0afc6e73042bffc94f8fcdd83deff1dc182d5150a0b5da81ecead0ad5e2852c4aa4ce6be6e9334312ab9983df27af90fb9f81fc7529615a8e3d8c9de5ad47f9 DIST xzgv-0.9.1.tar.gz 163419 BLAKE2B 6b97136a8e9b8228f849d5f905af6654a876b044e39dbacfeb01e89ac64d03920cd9f0bf17ff2e2ad4a59cb690d601db34488c72280fc0743799e7ed0c0288a0 SHA512 e57d0eb3f34bc63cb9f2d033856eefdeb6363ce55589b8bc52a8c253e211a4e36d3c0691b4559581d4052810fde445c6ec1832b964c40c5365c3869ce72f7361 -EBUILD xzgv-0.9.1.ebuild 672 BLAKE2B 60d62e57389262c964ae0bf0ac75c630431728b55a46c2d6545dc90465a5d6b09cf44cfe8daeee31df016c7a7d494dd43c697dc692172ee0f40332a49ebcf074 SHA512 991be7ef2638495e84110c449fa7d0bcba7703e6f3fbb25e64f6935454bd24782ffe22513657550f2fc7db0332488abbda23e790be0010eafe9dca6a721cd748 +EBUILD xzgv-0.9.1.ebuild 677 BLAKE2B 7ffad5441432d8f944e23a2039656fdb21530537b8bf397aa8d14adb3290d23d91848748dc1991685eca45e51f7a756ec9031faf0c9673f1f6e7cae16c270de4 SHA512 e1d31ad4ad8ede88f11811fd3fb7f9099aec8b0e617cab925b95aee1d975bf4e13b76910023869713f2ef79c07ec0b9b3a7ac19a5755f3e9eb1e04d519873d62 MISC metadata.xml 241 BLAKE2B d46a91c71c0348dbb312757885169dd5cd781957192054db8e43e4e0027dfd127f6ad5830d3452e40a7d5200016bf1b9d1bee268941c3c920445ee3e31278c84 SHA512 3dba82b698fa750dbd8847b3f22334c288688f5ce73b940f6073ae962754cadffc7fa8b9fcb8a5b60021481e970abc95d93d5f148ce60293b289f7e32ad28c2b diff --git a/media-gfx/xzgv/files/xzgv-0.9-asneeded-and-cflags.patch b/media-gfx/xzgv/files/xzgv-0.9-asneeded-and-cflags.patch index 8b3c671dbf8a..344f283d7663 100644 --- a/media-gfx/xzgv/files/xzgv-0.9-asneeded-and-cflags.patch +++ b/media-gfx/xzgv/files/xzgv-0.9-asneeded-and-cflags.patch @@ -1,7 +1,7 @@ http://bugs.gentoo.org/500692 ---- config.mk -+++ config.mk +--- a/config.mk ++++ b/config.mk @@ -7,7 +7,7 @@ # This is likely to be what you'll want for most systems: # @@ -11,16 +11,16 @@ http://bugs.gentoo.org/500692 # Set the awk interpreter to use for a script used while compiling. # (This should be a `new' awk, such as gawk or mawk.) ---- src/Makefile -+++ src/Makefile +--- a/src/Makefile ++++ b/src/Makefile @@ -9,8 +9,8 @@ # This gets definitions for CC, CFLAGS, BINDIR etc. include ../config.mk -CFLAGS+=`pkg-config --cflags gtk+-2.0` `pkg-config --cflags gdk-pixbuf-2.0` -LDFLAGS+=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0` -+CFLAGS+=`pkg-config --cflags gtk+-2.0` `pkg-config --cflags gdk-pixbuf-2.0` `pkg-config --cflags x11` -+LIBS=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0` `pkg-config --libs x11` -lm ++CFLAGS+=`${PKG_CONFIG} --cflags gtk+-2.0` `${PKG_CONFIG} --cflags gdk-pixbuf-2.0` `${PKG_CONFIG} --cflags x11` ++LIBS=`${PKG_CONFIG} --libs gtk+-2.0` `${PKG_CONFIG} --libs gdk-pixbuf-2.0` `${PKG_CONFIG} --libs x11` -lm all: xzgv diff --git a/media-gfx/xzgv/xzgv-0.9.1.ebuild b/media-gfx/xzgv/xzgv-0.9.1.ebuild index 283f5de88d59..912f0a805616 100644 --- a/media-gfx/xzgv/xzgv-0.9.1.ebuild +++ b/media-gfx/xzgv/xzgv-0.9.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Fast and simple GTK+ image viewer" HOMEPAGE="https://sourceforge.net/projects/xzgv" @@ -11,18 +12,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc64 x86" -IUSE="" RDEPEND="x11-libs/gtk+:2" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-apps/texinfo - virtual/pkgconfig" + virtual/pkgconfig +" -src_prepare() { - epatch "${FILESDIR}"/${P/.1}-asneeded-and-cflags.patch -} +PATCHES=( + "${FILESDIR}"/${P/.1}-asneeded-and-cflags.patch +) src_compile() { + tc-export PKG_CONFIG + emake CC="$(tc-getCC)" emake -C doc CC="$(tc-getCC)" } |