mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/xzgv: treeclean
Closes: https://bugs.gentoo.org/831252 Closes: https://bugs.gentoo.org/740000 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST xzgv-0.9.1.tar.gz 163419 BLAKE2B 6b97136a8e9b8228f849d5f905af6654a876b044e39dbacfeb01e89ac64d03920cd9f0bf17ff2e2ad4a59cb690d601db34488c72280fc0743799e7ed0c0288a0 SHA512 e57d0eb3f34bc63cb9f2d033856eefdeb6363ce55589b8bc52a8c253e211a4e36d3c0691b4559581d4052810fde445c6ec1832b964c40c5365c3869ce72f7361
|
||||
@@ -1,35 +0,0 @@
|
||||
http://bugs.gentoo.org/500692
|
||||
|
||||
--- a/config.mk
|
||||
+++ b/config.mk
|
||||
@@ -7,7 +7,7 @@
|
||||
# This is likely to be what you'll want for most systems:
|
||||
#
|
||||
CC=gcc
|
||||
-CFLAGS=-O2 -Wall
|
||||
+CFLAGS+=-Wall
|
||||
|
||||
# Set the awk interpreter to use for a script used while compiling.
|
||||
# (This should be a `new' awk, such as gawk or mawk.)
|
||||
--- 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
|
||||
|
||||
all: xzgv
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
backend.o
|
||||
|
||||
xzgv: $(OBJS)
|
||||
- $(CC) $(LDFLAGS) -o xzgv $(OBJS)
|
||||
+ $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o xzgv
|
||||
|
||||
installdirs:
|
||||
/bin/sh ../mkinstalldirs $(BINDIR)
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">xzgv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Fast and simple GTK+ image viewer"
|
||||
HOMEPAGE="https://sourceforge.net/projects/xzgv"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P/.1}-asneeded-and-cflags.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
emake CC="$(tc-getCC)"
|
||||
emake -C doc CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/usr" install
|
||||
dodoc AUTHORS NEWS README TODO
|
||||
}
|
||||
@@ -562,7 +562,6 @@ app-misc/glimpse
|
||||
dev-db/cpp-driver
|
||||
dev-erlang/riakc
|
||||
dev-util/stubgen
|
||||
media-gfx/xzgv
|
||||
|
||||
# Jonas Stein <jstein@gentoo.org> (2022-11-13)
|
||||
# Dead upstream
|
||||
|
||||
Reference in New Issue
Block a user