summaryrefslogtreecommitdiff
path: root/media-libs/SoQt
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/SoQt
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/SoQt')
-rw-r--r--media-libs/SoQt/Manifest6
-rw-r--r--media-libs/SoQt/SoQt-1.5.0-r1.ebuild57
-rw-r--r--media-libs/SoQt/files/SoQt-1.5.0-pkgconfig-partial.patch13
-rw-r--r--media-libs/SoQt/metadata.xml10
4 files changed, 86 insertions, 0 deletions
diff --git a/media-libs/SoQt/Manifest b/media-libs/SoQt/Manifest
new file mode 100644
index 000000000000..acb0173f4e67
--- /dev/null
+++ b/media-libs/SoQt/Manifest
@@ -0,0 +1,6 @@
+AUX SoQt-1.5.0-pkgconfig-partial.patch 454 SHA256 28050b2ff26296dec06199a3815012e58a068d68f8af356686a469177b4acb28 SHA512 a1ca69c0db287bbed67e928ca485f636983d4324cac525ee3d6b99395a6dd1f5d32c02315607f9d5dcd3449340cec427b67515060b320bd6bcc69ab975ed429a WHIRLPOOL de9f23ea25584d611f6c2b693281806f15ab58ae0972b0ed964e5f4b4b28c2f302ffadf38cf1228ebbad2ef5389e652b6b1a308454fba37d723ce3d203b5d435
+DIST SoQt-1.5.0.tar.gz 1515230 SHA256 f6a34b4c19e536c00f21aead298cdd274a7a0b03a31826fbe38fc96f3d82ab91 SHA512 e65596bf466b56aa0d7c4f367b250ba3a77094cf1a529c1e2a199b8b91106ab8954873ddfc9f9cd7ff359c0f82e6bbf32d30e78e3fb92733490937e477890a0b WHIRLPOOL 17d2701963f18fae04eb110d39e6ecff6ab0a8cc8d0a07c7d083fb8995d86ded74f32450ba5940131c2379a4d6adc33e13ebef54f98dfe455fee6ee08ca40aab
+EBUILD SoQt-1.5.0-r1.ebuild 1215 SHA256 364aebca70e193ea5a8891b1928e6c524d86b0f57920dbbe484c89cde28559dd SHA512 fb041cd237fc2461286a5081b92481c6cdbf1797cc2423059decb5040905ff273d1484f948b26b92e642d83bd973962c5725fed370e549a8adbd9b7311a53133 WHIRLPOOL f978d1569fbc518295744105e90515f1720588335f1441944e17e7cc6710293436e95dc7225bb5bf88a98abba0b3409ff5e82856083e1f54a885e105e357ca34
+MISC ChangeLog 2525 SHA256 6515ddbbd1e0544b8598bd5cf061c64cba49499102128b477b67c7c1b2806d92 SHA512 61f0cab6d844a3cab505607449d5ab66ebfcfcaf2b26e3731af918ec7f4ccd7b3944a5cd74057c4a7c823d3c66927e367ab49e649c715f86ef2d3a806a2d1ecf WHIRLPOOL 2c8fd2b1b9b2299ba6cd223f637ca1d4cc861394c368fda0d1a4bfd1b0565db508691767a850c1061d556a25fcf2c9fd39fe493a78ce28271f118ac7fee1acd7
+MISC ChangeLog-2015 5256 SHA256 f84b7651965e520988fd4e57db5b9235cf1607e1c7821713327d6c7ffcbb1835 SHA512 11329ba70bf7576ae2acf2f9dc0af00bc8fcae86c49d00aa45537e0569bb3e664432343aea49034d354116f5b5ca0f819174870c996d05def8e0055d76567fbb WHIRLPOOL 7a6b11f80a065f4a48d1b8cac19fd30d1cab6a1dbd92e1321f217280ee1a8dad6918492db883931d4aa206e779c1e13db882157a70c6c0d209ca4f3e8e4dddad
+MISC metadata.xml 306 SHA256 4c72c169635930dd3a2d989c93f503e42ad5ef744fa30de74e373f4fdf9a89d2 SHA512 2ad9118c4ba9aacce51b710b34ce8ae0d307def6444a926f8f8bb162806ff1fc1420a1e4eca6fa6c8e5893edade928d3866c47e9d81a48a497fc34abe10fc0bb WHIRLPOOL c3adb316f5555b5bbf5fde125b3c6de0b1c336b5d6fc98baa42cc544cebc9821e27b2c74378b95f20ef9f93b834a65e0ac83a87370b28c00cfb83f93acf2cb05
diff --git a/media-libs/SoQt/SoQt-1.5.0-r1.ebuild b/media-libs/SoQt/SoQt-1.5.0-r1.ebuild
new file mode 100644
index 000000000000..95494b3c4008
--- /dev/null
+++ b/media-libs/SoQt/SoQt-1.5.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="The glue between Coin3D and Qt"
+HOMEPAGE="https://bitbucket.org/Coin3D/soqt"
+SRC_URI="https://bitbucket.org/Coin3D/coin/downloads/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 PEL )"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="debug doc static-libs"
+
+RDEPEND="
+ >=media-libs/coin-3.1.3
+ virtual/opengl
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.5.0-pkgconfig-partial.patch"
+)
+
+DOCS=(AUTHORS ChangeLog FAQ HACKING NEWS README)
+
+src_configure() {
+ local myeconfargs=(
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+ --disable-compact
+ --disable-html-help
+ --disable-loadlibrary
+ --disable-man
+ --enable-pkgconfig
+ --includedir="${EPREFIX}/usr/include/coin"
+ --with-coin
+ $(use_enable debug)
+ $(use_enable debug symbols)
+ $(use_enable doc html)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ # Remove SoQt from Libs.private
+ sed -e '/Libs.private/s/ -lSoQt//' -i "${BUILD_DIR}"/SoQt.pc || die
+
+ autotools-utils_src_install
+}
diff --git a/media-libs/SoQt/files/SoQt-1.5.0-pkgconfig-partial.patch b/media-libs/SoQt/files/SoQt-1.5.0-pkgconfig-partial.patch
new file mode 100644
index 000000000000..ff55a03aed4b
--- /dev/null
+++ b/media-libs/SoQt/files/SoQt-1.5.0-pkgconfig-partial.patch
@@ -0,0 +1,13 @@
+diff -ruN SoQt-1.5.0/SoQt.pc.in my/SoQt.pc.in
+--- SoQt-1.5.0/SoQt.pc.in 2010-03-02 23:57:41.000000000 +0100
++++ my/SoQt.pc.in 2013-05-28 01:14:13.083619183 +0200
+@@ -10,7 +10,8 @@
+ Version: @SOQT_VERSION@
+ Requires: Coin
+ Conflicts:
+-Libs: -L${libdir} @SOGUI_EXTRA_LDFLAGS@ @SOGUI_EXTRA_LIBS@
++Libs: -L${libdir} -lSoQt
++Libs.private: -L${libdir} @SOGUI_EXTRA_LIBS@
+ Cflags: -I${includedir} @SOGUI_EXTRA_CFLAGS@ @SOGUI_EXTRA_CPPFLAGS@
+
+ soqt_host=@host@
diff --git a/media-libs/SoQt/metadata.xml b/media-libs/SoQt/metadata.xml
new file mode 100644
index 000000000000..ba799f44a2a0
--- /dev/null
+++ b/media-libs/SoQt/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reavertm@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="bitbucket">Coin3D/coin</remote-id>
+ </upstream>
+</pkgmetadata>