summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-06-17 18:56:43 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-06-17 18:56:43 +0000
commit5a65b90102f5c81aa3586ff8d98564563aca11b8 (patch)
treea1426d67805af3d2f3059e383ad2b11f8ee462ab /media-libs/SoXt
parentAdd myself as a maintainer. (diff)
downloadgentoo-2-5a65b90102f5c81aa3586ff8d98564563aca11b8.tar.gz
gentoo-2-5a65b90102f5c81aa3586ff8d98564563aca11b8.tar.bz2
gentoo-2-5a65b90102f5c81aa3586ff8d98564563aca11b8.zip
Initial import
(Portage version: 2.2.01.22013-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'media-libs/SoXt')
-rw-r--r--media-libs/SoXt/ChangeLog9
-rw-r--r--media-libs/SoXt/Manifest4
-rw-r--r--media-libs/SoXt/SoXt-1.3.0.ebuild52
-rw-r--r--media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch12
-rw-r--r--media-libs/SoXt/metadata.xml15
5 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/SoXt/ChangeLog b/media-libs/SoXt/ChangeLog
new file mode 100644
index 000000000000..14912f16a85c
--- /dev/null
+++ b/media-libs/SoXt/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/SoXt
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/SoXt/ChangeLog,v 1.1 2013/06/17 18:56:43 bicatali Exp $
+
+*SoXt-1.3.0 (17 Jun 2013)
+
+ 17 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +SoXt-1.3.0.ebuild,
+ +files/SoXt-1.3.0-pkgconfig-partial.patch, +metadata.xml:
+ Initial import
diff --git a/media-libs/SoXt/Manifest b/media-libs/SoXt/Manifest
new file mode 100644
index 000000000000..ce23b1c66941
--- /dev/null
+++ b/media-libs/SoXt/Manifest
@@ -0,0 +1,4 @@
+AUX SoXt-1.3.0-pkgconfig-partial.patch 400 SHA256 cabf104b8ad7b919da931b474e3d743fad5bf4f25807ba17d67e9844e88a4ffa SHA512 f10341ed597667674cb063ca56cf8783cd9895592eaf209fca85c43584b3322292d5af12c71fa1ad7f2683ce060de4fe16178ddcf0a12ecf25574f005b6b2749 WHIRLPOOL d345e723fc771def284ed66f2d8ca7a53576757cf4cc6ec3edac4f7156b212c864882bbe49b8505484cae72c23108cf9a91aeb5dbf059facd25ee8412efd77cd
+DIST SoXt-1.3.0.tar.gz 1203903 SHA256 f5443aadafe8e2222b9b5a23d1f228bb0f3e7d98949b8ea8676171b7ea5bf013 SHA512 1aae8c6d0b5e8de52734dac0326f9bcbae343a1819d18bb915f8f6fa223782e3512286819af62f494ce5238b8e1d981af5322186b2c07a94be20b7c9d32db208 WHIRLPOOL 3f89ffe061844da1fc5f6ce26beb9f69480791a6dfbc8d13869e7a0a07d4b7933180a8f0d35f0ceb3b1a6674d98901db6d3803c5f6991b9de4a1395f846019fa
+EBUILD SoXt-1.3.0.ebuild 1433 SHA256 175d8a8527bbad5f5030d54a90b0b7d9b3fda4eb3077976745a0d38538ba15ad SHA512 0e59e1aece19c25dc7b6ca841160931316f31c6e0d5ef56f8144cac1c237bb22083dafa00b480606c938f2a0440596d7b68e5324b497ba04129d6ad41acf0d54 WHIRLPOOL 9a5d0c8a4d4c0393dc48fafa159794b189c17264b175aa31695bd3d387bb69b0dca6233d9ad6382506d4621f0e4582644166a51d98ac6f0ec4e57c0522925bba
+MISC metadata.xml 576 SHA256 c8ca02c78b26356d2783da2a5ce5f7ca59e023fd783e58413ddd2f78544e916e SHA512 2a8f7cb72833685bd67c916abdc8e4ca8eb22079569395147e4af21942276316cc58910fa6ae890ede1f55d0bc544d134fab64a1e4922314ec26dc8cce150f40 WHIRLPOOL 4182d034ed26854a35d8fc1462db339ef263a581ec2d8f14bc8834e0ad4323f6473f652b9e0c3763f48c1933b282a935706da96f06faf3cd992c90897197962d
diff --git a/media-libs/SoXt/SoXt-1.3.0.ebuild b/media-libs/SoXt/SoXt-1.3.0.ebuild
new file mode 100644
index 000000000000..5bbeca3bf77e
--- /dev/null
+++ b/media-libs/SoXt/SoXt-1.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/SoXt/SoXt-1.3.0.ebuild,v 1.1 2013/06/17 18:56:43 bicatali Exp $
+
+EAPI=5
+
+inherit autotools-utils
+
+HOMEPAGE="http://www.coin3d.org/"
+DESCRIPTION="GUI binding for using Coin/Open Inventor with Xt/Motif"
+SRC_URI="https://bitbucket.org/Coin3D/coin/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="debug doc static-libs"
+
+RDEPEND="
+ >=media-libs/coin-3.1.3
+ x11-libs/motif:0
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.3.0-pkgconfig-partial.patch"
+)
+
+DOCS=(AUTHORS ChangeLog HACKING NEWS README TODO BUGS.txt)
+
+src_configure() {
+ local myeconfargs=(
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+ --disable-compact
+ --disable-html-help
+ --includedir="$(coin-config --includedir)"
+ --with-coin
+ --with-motif
+ $(use_enable debug)
+ $(use_enable debug profile)
+ $(use_enable doc html)
+ $(use_enable doc man)
+ )
+ autotools-utils_src_configure
+ # Remove SoXt from Libs.private (patch installs it in Libs)
+ sed -i -e '/Libs.private/s/ -lSoXt//' "${BUILD_DIR}"/SoXt.pc || die
+ # Strip the default libdir
+ sed -i -e "s,-L%{_libdir} ,," soxt-default.cfg
+ # soxt-config is arch dependent
+ sed -i -e "s,/share/Coin/conf/,/%{_lib}/Coin2/conf/,g" soxt-config
+}
diff --git a/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch b/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch
new file mode 100644
index 000000000000..397d223b6157
--- /dev/null
+++ b/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch
@@ -0,0 +1,12 @@
+--- SoXt.pc.in.orig 2013-06-17 11:26:59.998321839 -0700
++++ SoXt.pc.in 2013-06-17 11:28:01.603654611 -0700
+@@ -10,7 +10,8 @@
+ Version: @SOXT_VERSION@
+ Requires: Coin
+ Conflicts:
+-Libs: -L${libdir} @SOGUI_EXTRA_LDFLAGS@ @SOGUI_EXTRA_LIBS@
++Libs: -L${libdir} -lSoXt
++Libs.private: -L${libdir} @SOGUI_EXTRA_LIBS@
+ Cflags: -I${includedir} @SOGUI_EXTRA_CFLAGS@ @SOGUI_EXTRA_CPPFLAGS@
+
+ soxt_host=@host@
diff --git a/media-libs/SoXt/metadata.xml b/media-libs/SoXt/metadata.xml
new file mode 100644
index 000000000000..9aaf70cc4605
--- /dev/null
+++ b/media-libs/SoXt/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<maintainer>
+ <email>sci-physics@gentoo.org</email>
+ <description>Feel free to maintain/fix</description>
+</maintainer>
+<longdescription lang='en'>
+ SoXt is an alternative to SGIs InventorXt library, which is a GUI
+ binding for using Open Inventor with Xt/Motif. While SoXt has been developed
+ for use with Coin, it is also possible to compile it against Open Inventor
+ from SGI or TGS.
+</longdescription>
+</pkgmetadata>