diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-10-25 16:22:17 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-10-25 16:22:17 +0000 |
commit | 22eadc5226d7f5a6e9c0dfc5fa6c9f22295f218a (patch) | |
tree | 4bee61baf9a7a948601aacd087586610b0748dc8 /media-gfx | |
parent | Version bump, fix building when disabling accelerated compositing and webgl (... (diff) | |
download | gentoo-2-22eadc5226d7f5a6e9c0dfc5fa6c9f22295f218a.tar.gz gentoo-2-22eadc5226d7f5a6e9c0dfc5fa6c9f22295f218a.tar.bz2 gentoo-2-22eadc5226d7f5a6e9c0dfc5fa6c9f22295f218a.zip |
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sxiv/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/sxiv/files/sxiv-1.3-makefile.patch | 30 | ||||
-rw-r--r-- | media-gfx/sxiv/sxiv-1.3.ebuild | 37 |
3 files changed, 74 insertions, 1 deletions
diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog index d3bdc06d68a4..f5df0983107c 100644 --- a/media-gfx/sxiv/ChangeLog +++ b/media-gfx/sxiv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/sxiv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.20 2014/04/25 08:41:19 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.21 2014/10/25 16:22:17 radhermit Exp $ + +*sxiv-1.3 (25 Oct 2014) + + 25 Oct 2014; Tim Harder <radhermit@gentoo.org> +sxiv-1.3.ebuild, + +files/sxiv-1.3-makefile.patch: + Version bump. 25 Apr 2014; Tim Harder <radhermit@gentoo.org> -sxiv-1.1-r1.ebuild, -files/sxiv-1.1-fix-segfault.patch: diff --git a/media-gfx/sxiv/files/sxiv-1.3-makefile.patch b/media-gfx/sxiv/files/sxiv-1.3-makefile.patch new file mode 100644 index 000000000000..0640bf71af92 --- /dev/null +++ b/media-gfx/sxiv/files/sxiv-1.3-makefile.patch @@ -0,0 +1,30 @@ +--- sxiv-1.3/Makefile ++++ sxiv-1.3/Makefile +@@ -3,10 +3,9 @@ + PREFIX = /usr/local + MANPREFIX = $(PREFIX)/share/man + +-CC = gcc +-CFLAGS = -std=c99 -Wall -pedantic -O2 +-CPPFLAGS = -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_LIBEXIF -DHAVE_GIFLIB +-LDFLAGS = -L$(PREFIX)/lib ++CC ?= gcc ++CFLAGS += -std=c99 -Wall -pedantic ++CPPFLAGS += -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_LIBEXIF -DHAVE_GIFLIB + LIBS = -lX11 -lImlib2 -lexif -lgif + + SRC = commands.c image.c main.c options.c thumbs.c util.c window.c +@@ -18,11 +17,11 @@ + + depend: .depend + +-.depend: $(SRC) ++.depend: $(SRC) config.h + rm -f ./.depend + $(CC) $(CFLAGS) -MM $^ >./.depend + +-include .depend ++-include .depend + + .c.o: + $(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -c -o $@ $< diff --git a/media-gfx/sxiv/sxiv-1.3.ebuild b/media-gfx/sxiv/sxiv-1.3.ebuild new file mode 100644 index 000000000000..41f4e158be5b --- /dev/null +++ b/media-gfx/sxiv/sxiv-1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/sxiv-1.3.ebuild,v 1.1 2014/10/25 16:22:17 radhermit Exp $ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="Simple (or small or suckless) X Image Viewer" +HOMEPAGE="https://github.com/muennich/sxiv/" +SRC_URI="https://github.com/muennich/sxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-libs/libexif + media-libs/giflib + media-libs/imlib2[X] + x11-libs/libX11 +" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + tc-export CC + + restore_config config.h +} + +src_install() { + emake DESTDIR="${ED}" PREFIX=/usr install + dodoc README.md + + save_config config.h +} |