summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-06-17 18:56:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-06-17 18:56:55 +0000
commitb1b12527195b7311b74e6cb9ef6ae1af4ae218e6 (patch)
tree1721fa1e078f82e7faca74ef1ab6d049442cd336 /media-libs/SoXt
parentInitial import (diff)
downloadhistorical-b1b12527195b7311b74e6cb9ef6ae1af4ae218e6.tar.gz
historical-b1b12527195b7311b74e6cb9ef6ae1af4ae218e6.tar.bz2
historical-b1b12527195b7311b74e6cb9ef6ae1af4ae218e6.zip
Initial import
Package-Manager: portage-2.2.01.22013-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'media-libs/SoXt')
-rw-r--r--media-libs/SoXt/Manifest13
-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
4 files changed, 91 insertions, 1 deletions
diff --git a/media-libs/SoXt/Manifest b/media-libs/SoXt/Manifest
index ce23b1c66941..ab80667839b4 100644
--- a/media-libs/SoXt/Manifest
+++ b/media-libs/SoXt/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD SoXt-1.3.0.ebuild 1430 SHA256 a637b4b903d0923a5e404c3aac1c3ec8530b79a8dd0ae2825587c10f9d1bcd1f SHA512 6dce6a2fc4d49ff504d14a180fc9ccfd035b600d32e562eee50105a517ed6aad78ec0cbf75cc738ad2ffa86bf5e391715a5a90cdbc2b42d578b0a45f696b98b1 WHIRLPOOL cd9d43ada6da7d087d28d046661e37d5d305fd3bcb55217dfe8ea1f2e8d1a60330a907a324a622b1b8c38c029492111b794d4529704c4ad03a03d8f7fee8cf14
+MISC ChangeLog 384 SHA256 23c2fc582b912668d1bdcfa445f0d9deebac9658dea77f4777fd8939e1eb9922 SHA512 5b35dc716c9291ed227cf0751989135e0dab882a25cc38c02a12cafcb47d12d962da0d733fae271f5062f039335684660bfe876a61c5550b0f3716155da704f1 WHIRLPOOL 8b8e295c897a57c049a2303b2ed039745ad1e05f04310e77dedde8cdb452b6d0cd98f4004f9b98d58a0fad96f10bc9711f53d1fcf43a9f50ae1db3f0b1ca9937
MISC metadata.xml 576 SHA256 c8ca02c78b26356d2783da2a5ce5f7ca59e023fd783e58413ddd2f78544e916e SHA512 2a8f7cb72833685bd67c916abdc8e4ca8eb22079569395147e4af21942276316cc58910fa6ae890ede1f55d0bc544d134fab64a1e4922314ec26dc8cce150f40 WHIRLPOOL 4182d034ed26854a35d8fc1462db339ef263a581ec2d8f14bc8834e0ad4323f6473f652b9e0c3763f48c1933b282a935706da96f06faf3cd992c90897197962d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iEYEAREIAAYFAlG/W+wACgkQ1ycZbhPLE2BfNACfaUmrRI6XmBZxYkg6B1QgMexI
+xIoAn1QIe6DvhgkGHB4sl3AWBCcsyNEx
+=+UMy
+-----END PGP SIGNATURE-----
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>