diff options
Diffstat (limited to 'media-libs/libsvgtiny')
-rw-r--r-- | media-libs/libsvgtiny/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libsvgtiny/files/libsvgtiny-0.1.2-glibc2.20.patch | 18 | ||||
-rw-r--r-- | media-libs/libsvgtiny/files/libsvgtiny-0.1.3-glibc2.20.patch | 18 | ||||
-rw-r--r-- | media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch | 10 | ||||
-rw-r--r-- | media-libs/libsvgtiny/libsvgtiny-0.1.2.ebuild | 24 | ||||
-rw-r--r-- | media-libs/libsvgtiny/libsvgtiny-0.1.3-r1.ebuild | 25 | ||||
-rw-r--r-- | media-libs/libsvgtiny/metadata.xml | 9 |
7 files changed, 108 insertions, 0 deletions
diff --git a/media-libs/libsvgtiny/Manifest b/media-libs/libsvgtiny/Manifest new file mode 100644 index 000000000000..a319278de9be --- /dev/null +++ b/media-libs/libsvgtiny/Manifest @@ -0,0 +1,4 @@ +DIST libsvgtiny-0.1.2-src.tar.gz 56077 SHA256 a5ad4ba467e2ba10ac13fb881937655c5d0ef8e9582ede6a2c73447c87d06e90 SHA512 916315b23a8c5a430d9daa727280baeed64b3fd03318f0ee88fa9c6c9b202d6417dc6096ac0554b95f6573904c13be6277b3c79289ddb1ab8cabfb282896e6ce WHIRLPOOL ec277eb453d839c6cac5c6dfea9aae7dd2b1c83cca66d6b5b4a393b698db33f4902f361f6cd5b5de1b14346289ddf183804990eb8395e2cdeacc5af5a449b4de +DIST libsvgtiny-0.1.3-src.tar.gz 57751 SHA256 cbdc024743a56ccacbfa6d6bbce135ab6d701d38609f4a1ac56c2842457e5dff SHA512 5735449b6ad5ea76fd0a87ee0e9a0a1a1141ff9b7f392dd234bd7aae5761e3e3c62cee463b4949d713d1e675a9f3e3dd66aff67eb296180d2db6068323c5fe19 WHIRLPOOL 78072ca27bb55ddec56c04cdf45bd461c86abf4b2ac11bfde286bf8c2e11b4942dcc3879ecfe04d422a97cca60f18cdbdb440b7e1994359e3c3d7727dd236787 +DIST netsurf-buildsystem-1.2.tar.gz 38914 SHA256 3903a4a1551c9c202e1d2047344c4f3598c8d9d6c35ebf8cc2e18874bd0c9d61 SHA512 963e8a5033e8ef70595507f24fea3d9697eefb50ad7f92a6d3c913501c7026f12ec6d48f92b75e352b32f212f6216b8d8455aff25fa8d8d0fc12a3b19a875a1c WHIRLPOOL e56a520ae284089d0f36f06a6891ebb5b208ca847c74340c18581340e457c20ae9365999dc13284f438b965dcd7e85f04b93d1c1f22cadf6f7c1e2cef81d528c +DIST netsurf-buildsystem-1.3.tar.gz 37906 SHA256 10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79 SHA512 79ef3e366c4798dbb88021fd05019ba9fe50539b7482bd3d07422f4c0dbf2047b906f39a0b48deebbdf111d84d93a9364d08e5c97f91609363c27641db15e6b5 WHIRLPOOL c8131d0ffb79b208b63bef94606735968584edfff8cb24b4c83cd747c5d65c2811004626840798047ffddf84556ef7d8e23242f60d01a4a046323df3c78b0980 diff --git a/media-libs/libsvgtiny/files/libsvgtiny-0.1.2-glibc2.20.patch b/media-libs/libsvgtiny/files/libsvgtiny-0.1.2-glibc2.20.patch new file mode 100644 index 000000000000..3f5430248fb7 --- /dev/null +++ b/media-libs/libsvgtiny/files/libsvgtiny-0.1.2-glibc2.20.patch @@ -0,0 +1,18 @@ +--- libsvgtiny-0.1.2/Makefile ++++ libsvgtiny-0.1.2/Makefile +@@ -15,14 +15,8 @@ + WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -pedantic +-# BeOS/Haiku/AmigaOS standard library headers create warnings +-ifneq ($(TARGET),beos) +- ifneq ($(TARGET),amiga) +- WARNFLAGS := $(WARNFLAGS) -Werror +- endif +-endif + +-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ ++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \ + -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 diff --git a/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-glibc2.20.patch b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-glibc2.20.patch new file mode 100644 index 000000000000..e04867fb35af --- /dev/null +++ b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-glibc2.20.patch @@ -0,0 +1,18 @@ +--- libsvgtiny-0.1.3/Makefile ++++ libsvgtiny-0.1.3/Makefile +@@ -15,14 +15,8 @@ + WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -pedantic +-# BeOS/Haiku/AmigaOS standard library headers create warnings +-ifneq ($(BUILD),i586-pc-haiku) +- ifneq ($(findstring amigaos,$(BUILD)),amigaos) +- WARNFLAGS := $(WARNFLAGS) -Werror +- endif +-endif + +-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ ++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \ + -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 diff --git a/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch new file mode 100644 index 000000000000..f647b155b3a9 --- /dev/null +++ b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch @@ -0,0 +1,10 @@ +--- libsvgtiny-0.1.3/src/Makefile ++++ libsvgtiny-0.1.3/src/Makefile +@@ -5,6 +5,7 @@ + + $(BUILDDIR)/src_colors.c: src/colors.gperf + $(VQ)$(ECHO) " GPERF: $<" ++ mkdir -p $(@D) + $(Q)gperf --output-file=$@.tmp $< + # Hack for GCC 4.2 compatibility (gperf 3.0.4 solves this properly) + $(Q)$(SED) -e 's/#ifdef __GNUC_STDC_INLINE__/#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/' $@.tmp >$@ diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.2.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.1.2.ebuild new file mode 100644 index 000000000000..ba2502ec3eaa --- /dev/null +++ b/media-libs/libsvgtiny/libsvgtiny-0.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.2 +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k-mint" +IUSE="" + +RDEPEND=">=net-libs/libdom-0.1.1[xml,static-libs?,${MULTILIB_USEDEP}] + >=dev-libs/libwapcaplet-0.2.1-r1[static-libs?,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + dev-util/gperf + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-glibc2.20.patch ) diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.3-r1.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.1.3-r1.ebuild new file mode 100644 index 000000000000..083de2a50073 --- /dev/null +++ b/media-libs/libsvgtiny/libsvgtiny-0.1.3-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.3 +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k-mint" +IUSE="" + +RDEPEND=">=net-libs/libdom-0.1.2-r1[xml,static-libs?,${MULTILIB_USEDEP}] + >=dev-libs/libwapcaplet-0.2.2-r1[static-libs?,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + dev-util/gperf + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-glibc2.20.patch + "${FILESDIR}"/${P}-parallel-build.patch ) diff --git a/media-libs/libsvgtiny/metadata.xml b/media-libs/libsvgtiny/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/media-libs/libsvgtiny/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + |