summaryrefslogtreecommitdiff
path: root/media-libs/SoXt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/SoXt
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/SoXt')
-rw-r--r--media-libs/SoXt/Manifest6
-rw-r--r--media-libs/SoXt/SoXt-1.3.0.ebuild51
-rw-r--r--media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch12
-rw-r--r--media-libs/SoXt/metadata.xml17
4 files changed, 86 insertions, 0 deletions
diff --git a/media-libs/SoXt/Manifest b/media-libs/SoXt/Manifest
new file mode 100644
index 000000000000..c0d7266d25b7
--- /dev/null
+++ b/media-libs/SoXt/Manifest
@@ -0,0 +1,6 @@
+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 1325 SHA256 2e6491d2cdbc62d97653e4f6d421bf45c15065690fd7c6f55b4bacb224ef926e SHA512 c6119952741c77fc49855398fb266c18c2f90a26519313a782a6376b39f8133374790f9d23e21da89ee27c9b02aa9c819d80286e8f6c6091744968665aa2e42d WHIRLPOOL b79882eecb1dae58d9d45eefe32e9a8b958be2847635d3ee67400439a37addaf08ae1f6cce0c40f74151a4a97a479f219711ef383f1550f70defda7d59d447d2
+MISC ChangeLog 3112 SHA256 dbd617bc4c3bca34c32e66f1cfeeba0ad7d85580a145967f847418dd0008eb9d SHA512 8e3a69116928eeb9f1072e3eed718eb9ba27ba5fcf13360ae6b0819d6021142951dfec0988e936dc0187e8d7f365c922ca2f9e134fe5c43cfe64326c2210a6ac WHIRLPOOL 5ba44e460e9cc5315d47d5157a3bd3c0e15c8bce1df92fe364d96ff596fbdeacb5dd8857902e48a304296bd8d1231a8fa7e9888134c6669d90743d0fc330f2bb
+MISC ChangeLog-2015 384 SHA256 23c2fc582b912668d1bdcfa445f0d9deebac9658dea77f4777fd8939e1eb9922 SHA512 5b35dc716c9291ed227cf0751989135e0dab882a25cc38c02a12cafcb47d12d962da0d733fae271f5062f039335684660bfe876a61c5550b0f3716155da704f1 WHIRLPOOL 8b8e295c897a57c049a2303b2ed039745ad1e05f04310e77dedde8cdb452b6d0cd98f4004f9b98d58a0fad96f10bc9711f53d1fcf43a9f50ae1db3f0b1ca9937
+MISC metadata.xml 661 SHA256 fe394e2c319899ef979b05921bb1dd6b833b5b2d2f098342c9ef4525b7087629 SHA512 c45a1eb5c1323637eb393dd764fda106aae1447c71fa7ae34f80aea114df248b9d2d36623e202e13da9844b6f37b42b231b7bc775c5f56bf7a3a23e7b2c66210 WHIRLPOOL 9a132f0c85e5822db15892334c61c010d06bb91b234491527336edb1574d28f1e2874b29026fa01e6b7e4406c5da36388d92d11a8e3d2cb13e1f3e91eb3c99f4
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..00fd2ed8390f
--- /dev/null
+++ b/media-libs/SoXt/SoXt-1.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~arm ~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..418672b1b7bb
--- /dev/null
+++ b/media-libs/SoXt/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <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>
+ <upstream>
+ <remote-id type="bitbucket">Coin3D/coin</remote-id>
+ </upstream>
+</pkgmetadata>