summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-09-16 15:27:51 +0000
committerTim Harder <radhermit@gentoo.org>2013-09-16 15:27:51 +0000
commit5b1e96ff040f3912b884f5be0113aa2abd840af1 (patch)
tree7c684991424cd56b1d59cafb50c45704fe2bc199 /media-gfx
parentold (diff)
downloadgentoo-2-5b1e96ff040f3912b884f5be0113aa2abd840af1.tar.gz
gentoo-2-5b1e96ff040f3912b884f5be0113aa2abd840af1.tar.bz2
gentoo-2-5b1e96ff040f3912b884f5be0113aa2abd840af1.zip
Version bump.
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gif2apng/ChangeLog10
-rw-r--r--media-gfx/gif2apng/files/gif2apng-1.8-flags.patch26
-rw-r--r--media-gfx/gif2apng/gif2apng-1.8.ebuild35
3 files changed, 69 insertions, 2 deletions
diff --git a/media-gfx/gif2apng/ChangeLog b/media-gfx/gif2apng/ChangeLog
index 04ad71254f1e..be6b8a3dfe0f 100644
--- a/media-gfx/gif2apng/ChangeLog
+++ b/media-gfx/gif2apng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/gif2apng
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gif2apng/ChangeLog,v 1.4 2012/02/23 07:59:30 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gif2apng/ChangeLog,v 1.5 2013/09/16 15:27:51 radhermit Exp $
+
+*gif2apng-1.8 (16 Sep 2013)
+
+ 16 Sep 2013; Tim Harder <radhermit@gentoo.org> +gif2apng-1.8.ebuild,
+ +files/gif2apng-1.8-flags.patch:
+ Version bump.
*gif2apng-1.7 (23 Feb 2012)
diff --git a/media-gfx/gif2apng/files/gif2apng-1.8-flags.patch b/media-gfx/gif2apng/files/gif2apng-1.8-flags.patch
new file mode 100644
index 000000000000..fd8884a4dd05
--- /dev/null
+++ b/media-gfx/gif2apng/files/gif2apng-1.8-flags.patch
@@ -0,0 +1,26 @@
+--- gif2apng-1.8-src/Makefile
++++ gif2apng-1.8-src/Makefile
+@@ -11,19 +11,19 @@
+ all : $(PROG_NAME)
+
+ gif2apng : objdirs $(OBJECTS)
+- $(CC) -o $@ $(OBJECTS) -s -lstdc++ -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) -lstdc++ -lz -lm
+
+ objdirs :
+ mkdir -p $(OBJ_DIRS)
+
+ obj/%.o : %.cpp
+- $(CC) -o $@ -c $< $(INCUDE_DIRS) -O2 -Wall -pedantic -lz
++ $(CC) $(CFLAGS) -o $@ -c $< $(INCUDE_DIRS) -Wall -pedantic -lz -lm
+
+ obj/%.o : %.c
+- $(CC) -o $@ -c $< $(INCUDE_DIRS) -O2 -Wall -pedantic -lz
++ $(CC) $(CFLAGS) -o $@ -c $< $(INCUDE_DIRS) -Wall -pedantic -lz -lm
+
+ obj/%.o : %.cc
+- $(CC) -o $@ -c $< $(INCUDE_DIRS) -O2 -Wall -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses -lz
++ $(CC) $(CFLAGS) -o $@ -c $< $(INCUDE_DIRS) -Wall -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses -lz -lm
+
+ .PHONY : clean
+
diff --git a/media-gfx/gif2apng/gif2apng-1.8.ebuild b/media-gfx/gif2apng/gif2apng-1.8.ebuild
new file mode 100644
index 000000000000..45d3b33bf4fd
--- /dev/null
+++ b/media-gfx/gif2apng/gif2apng-1.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gif2apng/gif2apng-1.8.ebuild,v 1.1 2013/09/16 15:27:51 radhermit Exp $
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="create an APNG from a GIF"
+HOMEPAGE="http://sourceforge.net/projects/gif2apng/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc readme.txt
+}