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/simage
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/simage')
-rw-r--r--media-libs/simage/Manifest1
-rw-r--r--media-libs/simage/files/simage-1.7.0-libpng15.patch12
-rw-r--r--media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch13
-rw-r--r--media-libs/simage/metadata.xml7
-rw-r--r--media-libs/simage/simage-1.7.0.ebuild77
5 files changed, 110 insertions, 0 deletions
diff --git a/media-libs/simage/Manifest b/media-libs/simage/Manifest
new file mode 100644
index 000000000000..48d91a12e2ee
--- /dev/null
+++ b/media-libs/simage/Manifest
@@ -0,0 +1 @@
+DIST simage-1.7.0.tar.gz 752602 SHA256 c9a0c43e45f825c46941789f5a8f6c3b61da5ac87e4088cb611ac0fead494def SHA512 944ec009dd7041692073ddd9795fdd633fe3bc9101f1c1234e8be3746487a9431aecf52abde01563e719153fbe1ca7d29f9b64042e4a64ea08d6cb14666dd89f WHIRLPOOL 0d951f1fa1fb588ff0734dfdba3fa1643de30445a58ed2bdc6e7d2936f478ba7ca0599d14919755bb95f6f5cd5e63bcdd2a995dca63b113bab9c0e885dcd6ecd
diff --git a/media-libs/simage/files/simage-1.7.0-libpng15.patch b/media-libs/simage/files/simage-1.7.0-libpng15.patch
new file mode 100644
index 000000000000..f99d474cf04a
--- /dev/null
+++ b/media-libs/simage/files/simage-1.7.0-libpng15.patch
@@ -0,0 +1,12 @@
+diff -ruN simage-1.7.0/src/simage_png.c new/src/simage_png.c
+--- simage-1.7.0/src/simage_png.c 2010-02-26 16:47:31.000000000 +0100
++++ new/src/simage_png.c 2013-06-06 22:34:23.537331509 +0200
+@@ -323,7 +323,7 @@
+ /* Set error handling. REQUIRED if you aren't supplying your own
+ * error hadnling functions in the png_create_write_struct() call.
+ */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we get here, we had a problem reading the file */
+ fclose(fp);
+ png_destroy_write_struct(&png_ptr, (png_infopp)info_ptr);
diff --git a/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch b/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch
new file mode 100644
index 000000000000..c8c893855e8a
--- /dev/null
+++ b/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch
@@ -0,0 +1,13 @@
+diff -ruN simage-1.7.0/simage.pc.in new/simage.pc.in
+--- simage-1.7.0/simage.pc.in 2010-02-26 16:47:31.000000000 +0100
++++ new/simage.pc.in 2013-06-06 22:35:42.303326845 +0200
+@@ -8,7 +8,8 @@
+ Version: @VERSION@
+ Requires:
+ Conflicts:
+-Libs: -L${libdir} @SIMAGE_EXTRA_LDFLAGS@ @SIMAGE_EXTRA_LIBS@
++Libs: -L${libdir} -lsimage
++Libs.private: -L${libdir} @SIMAGE_EXTRA_LIBS@
+ Cflags: -I${includedir} @SIMAGE_EXTRA_CFLAGS@ @SIMAGE_EXTRA_CPPFLAGS@
+
+ simage_host="@host@"
diff --git a/media-libs/simage/metadata.xml b/media-libs/simage/metadata.xml
new file mode 100644
index 000000000000..b9d440525a64
--- /dev/null
+++ b/media-libs/simage/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>reavertm@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-libs/simage/simage-1.7.0.ebuild b/media-libs/simage/simage-1.7.0.ebuild
new file mode 100644
index 000000000000..d0a6ecf734c4
--- /dev/null
+++ b/media-libs/simage/simage-1.7.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+
+inherit base
+
+DESCRIPTION="Image and video texturing library"
+HOMEPAGE="http://www.coin3d.org/lib/simage/"
+SRC_URI="https://bitbucket.org/Coin3D/coin/downloads/${P}.tar.gz"
+
+LICENSE="public-domain mpeg2enc"
+KEYWORDS="amd64 ppc x86"
+SLOT="0"
+IUSE="debug gif jpeg jpeg2k png sndfile static-libs tiff vorbis zlib"
+RESTRICT="mirror bindist" #465086
+
+RDEPEND="
+ gif? ( media-libs/giflib )
+ jpeg? ( virtual/jpeg )
+ jpeg2k? ( media-libs/jasper )
+ png? ( media-libs/libpng:0 )
+ sndfile? ( media-libs/libsndfile )
+ tiff? ( media-libs/tiff:0 )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.0-pkgconfig-partial.patch
+ "${FILESDIR}"/${PN}-1.7.0-libpng15.patch
+)
+
+# --with-pic, two defined (PIC and one for image format, sillyt), no not pass
+# --enable-qimage, broken Qt checks, unable to locate FHS-compliant Qt install
+# --with-x, not used anywhere
+src_configure() {
+ econf \
+ --disable-qimage \
+ --disable-quicktime \
+ --with-eps \
+ --with-mpeg2enc \
+ --with-rgb \
+ --with-targa \
+ --with-xwd \
+ --without-x \
+ $(use_with gif) \
+ $(use_enable debug) \
+ $(use_enable debug symbols) \
+ $(use_with jpeg) \
+ $(use_with jpeg2k jasper) \
+ $(use_with png) \
+ $(use_with sndfile libsndfile) \
+ $(use_enable static-libs static) \
+ $(use_with tiff) \
+ $(use_with vorbis oggvorbis) \
+ $(use_with zlib)
+}
+
+src_install() {
+ # Remove simage from Libs.private
+ sed -e '/Libs.private/s/ -lsimage//' -i simage.pc || die
+
+ base_src_install
+
+ # Remove libtool files when not needed.
+ use static-libs || rm -f "${D}"/usr/lib*/*.la
+}