summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libsvg
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libsvg')
-rw-r--r--media-libs/libsvg/Manifest1
-rw-r--r--media-libs/libsvg/files/libsvg-0.1.4-asneeded.patch10
-rw-r--r--media-libs/libsvg/libsvg-0.1.4-r1.ebuild36
-rw-r--r--media-libs/libsvg/metadata.xml5
4 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/libsvg/Manifest b/media-libs/libsvg/Manifest
new file mode 100644
index 000000000000..83893696a679
--- /dev/null
+++ b/media-libs/libsvg/Manifest
@@ -0,0 +1 @@
+DIST libsvg-0.1.4.tar.gz 366688 RMD160 7e324f88313c3963bac1d57e3b77d7827b2c65e0 SHA1 2198e65833eed905d93be70f3db4f0d32a2eaf57 SHA256 4c3bf9292e676a72b12338691be64d0f38cd7f2ea5e8b67fbbf45f1ed404bc8f
diff --git a/media-libs/libsvg/files/libsvg-0.1.4-asneeded.patch b/media-libs/libsvg/files/libsvg-0.1.4-asneeded.patch
new file mode 100644
index 000000000000..35445356ae54
--- /dev/null
+++ b/media-libs/libsvg/files/libsvg-0.1.4-asneeded.patch
@@ -0,0 +1,10 @@
+--- configure.in.orig 2009-01-04 16:26:45.836984083 +0100
++++ configure.in 2009-01-04 16:26:30.409983868 +0100
+@@ -55,6 +55,7 @@
+ LIBSVG_PARSER_BACKEND="libxml"
+ LIBSVG_REQUIRES="libxml-2.0"
+ fi
++AC_SEARCH_LIBS([jpeg_stdio_src], [jpeg])
+ AC_SUBST(LIBSVG_CFLAGS)
+ AC_SUBST(LIBSVG_LIBS)
+ AC_SUBST(LIBSVG_REQUIRES)
diff --git a/media-libs/libsvg/libsvg-0.1.4-r1.ebuild b/media-libs/libsvg/libsvg-0.1.4-r1.ebuild
new file mode 100644
index 000000000000..671d907bba2e
--- /dev/null
+++ b/media-libs/libsvg/libsvg-0.1.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit autotools eutils libtool
+
+DESCRIPTION="A parser for SVG content in files or buffers"
+HOMEPAGE="http://cairographics.org"
+SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="dev-libs/libxml2
+ media-libs/libpng
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
+ src/svg_image.c || die
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ elibtoolize
+ eautoconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/media-libs/libsvg/metadata.xml b/media-libs/libsvg/metadata.xml
new file mode 100644
index 000000000000..9be90a258970
--- /dev/null
+++ b/media-libs/libsvg/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+</pkgmetadata>