From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-gfx/gif2apng/Manifest | 6 ++++ .../gif2apng/files/gif2apng-1.9-makefile.patch | 18 ++++++++++ media-gfx/gif2apng/gif2apng-1.9-r1.ebuild | 38 ++++++++++++++++++++++ media-gfx/gif2apng/metadata.xml | 11 +++++++ 4 files changed, 73 insertions(+) create mode 100644 media-gfx/gif2apng/Manifest create mode 100644 media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch create mode 100644 media-gfx/gif2apng/gif2apng-1.9-r1.ebuild create mode 100644 media-gfx/gif2apng/metadata.xml (limited to 'media-gfx/gif2apng') diff --git a/media-gfx/gif2apng/Manifest b/media-gfx/gif2apng/Manifest new file mode 100644 index 000000000000..9a199f5d104a --- /dev/null +++ b/media-gfx/gif2apng/Manifest @@ -0,0 +1,6 @@ +AUX gif2apng-1.9-makefile.patch 529 SHA256 08d29293cc2a22a2a07946447636582bf6e1c425ffbe0e614b33f6116302b397 SHA512 f76e3249e8c02b4b4381a2bdfe34bba31f52d4552271b2e66eaab8214366f3464b24624cacc3597b74dfaf7c198d513e18bf9888eb0478e3372e6d3f3eccd809 WHIRLPOOL 490e1e3420ee8082f496fee1f021a381309a006455af28a79adc53a855f31f17c30fc174d3829ea8bf4e4e69a50fbf20c6c1c40a4a6e4ae015fb7c31f642b693 +DIST gif2apng-1.9-src.zip 258946 SHA256 3b21308e935d799b3ffb4a86c6e00ffa4cb9b3f72f52d58d51c66eb0574ae7d2 SHA512 6f161699aad949466c60e0fb6abb2f38e7ec8353dd15e65ccb9944a66dabc5a4acf32523cb64073c73290e54cc2b753db68123c14f3f7789343491a4f65dcd2c WHIRLPOOL 5e2058886505a89015f756c4d6a9e5f9e1a3efb74a8c754940fe79c6b9a00f54be416d2026bb7c8a3e918d051a5c7bb4681e21dfb0971d55e38f92ef5f04d631 +EBUILD gif2apng-1.9-r1.ebuild 640 SHA256 e0bcf795bf1db3bc14f85461ed5423b57ff71bac6cdedd09bc70e3304a68a9c4 SHA512 ce73b3e42b02b2f669fee62709a8575cd6b1ecfdb559fff4ac979dcd0bac62e5271520bc7974f55412504b8ba2ad5a032aa8f13e014c83e68e1b6e0f2fcae1f8 WHIRLPOOL 4b9fd037f227bfcba5e1b80d2a4478fdb23abd76dce209c2c1cd02f9730a1c2e71beaaf7b598e11a5f1a4d2681053929ab0daf4c34395f44dfdda55e8bbc4687 +MISC ChangeLog 2823 SHA256 2677302b1e21ae1b15d1386ced68897f34dfd38f6dcad9697c0cc1ff9f1b230b SHA512 87a1e7cdcecca994f8ac5d96fe524be2c287a824ba1a109cb324050e002fa02acf113dfbedd026101173350df0c1626d7652f704f3fa804f6bf28ec1bfe03531 WHIRLPOOL 93664129c4861c40a5b13161cc047368f6458b8bc02dfe5fc351104deace25db263da22fd1dac7922368123cb243b3540ae26ae8d9badb8c390b267c9517bf06 +MISC ChangeLog-2015 1062 SHA256 76d60114dcb047468e2551acbb6f40e130bf24f1f38275484f81b055e937767f SHA512 8a8face1b323c536875d767fdc7903cda397527a0668398f83ec6bfdcc12f2ba23ceae5dc51de17cfefdb59b903d73f3ce756a94a05f9f934fabbb1c3d792e96 WHIRLPOOL 1764bb1140eb7933cf4ce47bdf28413c1b9d68fb62665068c1cb42f10e100bcab1665273496dd207395fd73ba82f0c73784d5d2267f198e65d0b8fbbe08994ac +MISC metadata.xml 337 SHA256 315a40bb837b26c2f173651176c21bbfc8b0c7cf0e91909c5098e807552b326d SHA512 f086dad518faacba9371c089e8b97651dd45d5c1fc655975dc3fa2e553c9d1026b41a46bc839df23ef60a5529e0261a9af91de65e763b63b2e3193d67f2df7e5 WHIRLPOOL 4c2a61060f79393c7883d8483960286276039279cddb70bb09e0ff46fc5b6e6e70a3e4db4400fb38853b9a90db1716eb049bff240dfb726e509322e75d05794a diff --git a/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch b/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch new file mode 100644 index 000000000000..2322e214fbf0 --- /dev/null +++ b/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch @@ -0,0 +1,18 @@ +--- gif2apng-1.9-src/Makefile ++++ gif2apng-1.9-src/Makefile +@@ -1,11 +1,9 @@ + PACKAGE = gif2apng +-CC = gcc +-SRC_DIRS = . 7z zopfli +-CFLAGS = -Wall -pedantic +-CFLAGS_OPT = -O2 ++CC ?= gcc ++SRC_DIRS = . 7z ++CFLAGS += -Wall -pedantic + CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses +-LDFLAGS = -s +-LIBS = -lstdc++ -lm -lz ++LIBS = -lstdc++ -lm -lz -lzopfli + + INCUDE_DIRS := $(addprefix -I./, $(SRC_DIRS)) + OBJ_DIRS := $(addprefix obj/, $(SRC_DIRS)) diff --git a/media-gfx/gif2apng/gif2apng-1.9-r1.ebuild b/media-gfx/gif2apng/gif2apng-1.9-r1.ebuild new file mode 100644 index 000000000000..9e8aa44e1c0b --- /dev/null +++ b/media-gfx/gif2apng/gif2apng-1.9-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="create an APNG from a GIF" +HOMEPAGE="https://sourceforge.net/projects/gif2apng/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.zip" + +LICENSE="ZLIB LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-libs/zlib + app-arch/zopfli:=" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) + +src_prepare() { + default + + # remove bundled libs + rm -r zlib zopfli || die + + tc-export CC +} + +src_install() { + dobin ${PN} + dodoc readme.txt +} diff --git a/media-gfx/gif2apng/metadata.xml b/media-gfx/gif2apng/metadata.xml new file mode 100644 index 000000000000..8edecc7643d8 --- /dev/null +++ b/media-gfx/gif2apng/metadata.xml @@ -0,0 +1,11 @@ + + + + + graphics@gentoo.org + Gentoo Graphics Project + + + gif2apng + + -- cgit v1.2.3