summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-06-25 23:17:24 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-06-25 23:17:24 +0000
commit3253a18729383ba7a70891689e5c0e3f34ce9cbd (patch)
treeafef2e4fcee37cb91d51f0ff57eb1ad928030078 /media-libs/simage
parentUse Python 2. (diff)
downloadgentoo-2-3253a18729383ba7a70891689e5c0e3f34ce9cbd.tar.gz
gentoo-2-3253a18729383ba7a70891689e5c0e3f34ce9cbd.tar.bz2
gentoo-2-3253a18729383ba7a70891689e5c0e3f34ce9cbd.zip
Add new package, fixes bug 197209, ebuild submitted by me
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/simage')
-rw-r--r--media-libs/simage/ChangeLog10
-rw-r--r--media-libs/simage/metadata.xml8
-rw-r--r--media-libs/simage/simage-1.7.0.ebuild67
3 files changed, 85 insertions, 0 deletions
diff --git a/media-libs/simage/ChangeLog b/media-libs/simage/ChangeLog
new file mode 100644
index 000000000000..b81b4a4ca856
--- /dev/null
+++ b/media-libs/simage/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/simage
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/simage/ChangeLog,v 1.1 2010/06/25 23:17:24 reavertm Exp $
+
+*simage-1.7.0 (25 Jun 2010)
+
+ 25 Jun 2010; Maciej Mrozowski <reavertm@gentoo.org> +simage-1.7.0.ebuild,
+ +metadata.xml:
+ Add new package, fixes bug 197209, ebuild submitted by me.
+
diff --git a/media-libs/simage/metadata.xml b/media-libs/simage/metadata.xml
new file mode 100644
index 000000000000..07528c910cb6
--- /dev/null
+++ b/media-libs/simage/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<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..f4ea2cf24f06
--- /dev/null
+++ b/media-libs/simage/simage-1.7.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/simage/simage-1.7.0.ebuild,v 1.1 2010/06/25 23:17:24 reavertm Exp $
+
+EAPI=2
+
+inherit base
+
+DESCRIPTION="Image and video texturing library"
+HOMEPAGE="http://www.coin3d.org/lib/simage/"
+SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${P}.tar.gz"
+
+LICENSE="public-domain as-is"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug gif jpeg jpeg2k png sndfile static-libs tiff vorbis zlib"
+
+RDEPEND="
+ gif? ( media-libs/giflib )
+ jpeg? ( media-libs/jpeg:0 )
+ 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}
+ dev-util/pkgconfig
+"
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+# --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() {
+ base_src_install
+ # Remove libtool files when not needed.
+ use static-libs || rm -f "${D}"/usr/lib*/*.la
+}