summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-04-18 22:10:18 +0000
committerMichael Weber <xmw@gentoo.org>2010-04-18 22:10:18 +0000
commit0a1a7056e69bd9a6231b135b0b5f7d576ed0d0e5 (patch)
treed4e348f3064e786ab3c77e4baa84b6b11a22ea88
parentFix indentation in metadata.xml, and update a single file omitted by Tommy. (diff)
downloadsunrise-0a1a7056e69bd9a6231b135b0b5f7d576ed0d0e5.tar.gz
sunrise-0a1a7056e69bd9a6231b135b0b5f7d576ed0d0e5.tar.bz2
sunrise-0a1a7056e69bd9a6231b135b0b5f7d576ed0d0e5.zip
media-libs/oyranos: New Ebuild for bug 287353
svn path=/sunrise/; revision=10469
-rw-r--r--media-libs/oyranos/ChangeLog8
-rw-r--r--media-libs/oyranos/Manifest4
-rw-r--r--media-libs/oyranos/metadata.xml6
-rw-r--r--media-libs/oyranos/oyranos-0.1.9.ebuild82
4 files changed, 100 insertions, 0 deletions
diff --git a/media-libs/oyranos/ChangeLog b/media-libs/oyranos/ChangeLog
new file mode 100644
index 000000000..fb65b8f54
--- /dev/null
+++ b/media-libs/oyranos/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-libs/oyranos
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de> +oyranos-0.1.9.ebuild,
+ +metadata.xml:
+ New Ebuild for bug 287353
+
diff --git a/media-libs/oyranos/Manifest b/media-libs/oyranos/Manifest
new file mode 100644
index 000000000..36033d06c
--- /dev/null
+++ b/media-libs/oyranos/Manifest
@@ -0,0 +1,4 @@
+DIST oyranos-0.1.9.tar.gz 7334005 RMD160 348f3aaa46819e92a8f77f789a46a15b52d86c24 SHA1 5f629cf418abcc83a66fdd17bb009383ce0ff1ab SHA256 fcad970d334ed281b3347b620e47845d7ab3f24efd492e38ae1a3a74b7315926
+EBUILD oyranos-0.1.9.ebuild 2113 RMD160 d6c92626d8060ab01c8ebc53b55ca3f8b9bd1128 SHA1 8cb31f710f77dce3d4e29065c327ef14c4e8b4fc SHA256 4eaf2f6e5a320b6ef26596b13cf66b08bac96ff8dc06f78a5f536ac50b84fd95
+MISC ChangeLog 239 RMD160 a9ae4919b3f3abc56199a10ab5bb8e2b260755fe SHA1 bd4cf07ac025a138836e42950f3cdc809c5d3a47 SHA256 e7d20bda668333c6b23a3ee83760f65ed0df27371ac5383984e7a6c6f746a6d9
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/media-libs/oyranos/metadata.xml b/media-libs/oyranos/metadata.xml
new file mode 100644
index 000000000..e6233b5dc
--- /dev/null
+++ b/media-libs/oyranos/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/media-libs/oyranos/oyranos-0.1.9.ebuild b/media-libs/oyranos/oyranos-0.1.9.ebuild
new file mode 100644
index 000000000..e72fba1d8
--- /dev/null
+++ b/media-libs/oyranos/oyranos-0.1.9.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Color Management System (CMS) on the operating system level"
+HOMEPAGE="http://www.oyranos.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc X xinerama"
+
+RDEPEND="app-admin/elektra
+ dev-libs/libxml2
+ media-libs/jpeg
+ media-libs/lcms
+ media-libs/libpng
+ sys-devel/gettext
+ sys-devel/libtool
+ sys-libs/zlib
+ virtual/opengl
+ X? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/fltk:1.1
+ xinerama? ( x11-libs/libXinerama )
+ )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ X? ( x11-proto/xf86vidmodeproto
+ xinerama? ( x11-proto/xineramaproto )
+ )"
+
+src_prepare() {
+ # remove X11R6/g++ from include/lib paths
+ sed -i -e 's:/X11R6::' configure{,.sh} {,fl_i18n/}makefile.in || die
+ sed -i -e 's: -I/usr/include/g++ : :' fl_i18n/makefile.in
+
+ # leave custom flags untouched, do not remove -O1 from LDFLAGS=-Wl,-O1
+ sed -i -e 's:STRIPOPT="sed s/-O.//":STRIPOPT="cat":' configure || die
+ sed -i -e 's:s/-O.// ;::' configure.sh || die
+
+ # ${S}/oyranos-config is not in PATH
+ sed -i -e 's:oyranos-config :./\0:' configure.sh makefile.in || die
+
+ # force version number at /usr/share/doc
+ sed -i -e 's:$(datadir)/doc/$(TARGET):\0-$(VERSION):' makefile.in || die
+
+ # configure.sh calls doxygen --help which is not needed w/o USE=doc, silence QA
+ use doc || { sed -i -e 's:doxygen:#\0:' configure.sh || die ; }
+}
+
+src_configure() {
+ tc-export CC CXX
+ econf $(use_enable debug) \
+ $(use_enable X libX11) \
+ $(use_enable X libXext) \
+ $(use_enable X libXxf86vm) \
+ $(use_enable xinerama libXinerama)
+}
+
+src_compile() {
+ emake lib${PN}.so.${PV} || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install_bin || die
+ emake DESTDIR="${D}" install_linguas || die
+ emake DESTDIR="${D}" install-icc || die
+ if use doc ; then
+ emake DESTDIR="${D}" install_docu || die
+ rm "${D}/usr/share/doc/${P}/COPYING" || die
+ fi
+ dodoc AUTHORS ChangeLog README || die
+}