summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-10-06 00:04:26 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2020-10-06 00:06:56 +0200
commit23b04b0d1462ca6efe5780edd27cefb423260153 (patch)
tree1a296f230dca2a1418f03674ef535501c07060f1 /media-libs/SoQt/SoQt-1.6.0.ebuild
parentdev-lang/python: Bump to 3.10.0a1 (diff)
downloadgentoo-23b04b0d1462ca6efe5780edd27cefb423260153.tar.gz
gentoo-23b04b0d1462ca6efe5780edd27cefb423260153.tar.bz2
gentoo-23b04b0d1462ca6efe5780edd27cefb423260153.zip
media-libs/SoQt: re-add package
Closes: https://bugs.gentoo.org/686972 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'media-libs/SoQt/SoQt-1.6.0.ebuild')
-rw-r--r--media-libs/SoQt/SoQt-1.6.0.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/SoQt/SoQt-1.6.0.ebuild b/media-libs/SoQt/SoQt-1.6.0.ebuild
new file mode 100644
index 000000000000..987b9268d17c
--- /dev/null
+++ b/media-libs/SoQt/SoQt-1.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+MY_P=${P/soqt/SoQt}
+
+HOMEPAGE="https://github.com/coin3d/coin/wiki"
+DESCRIPTION="GUI binding for using Coin/Open Inventor with Qt"
+SRC_URI="https://github.com/coin3d/soqt/releases/download/${MY_P}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug doc"
+
+RDEPEND="
+ media-libs/coin
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtopengl:5
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXi
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-base/xorg-proto
+ doc? ( app-doc/doxygen )
+"
+
+S="${WORKDIR}/soqt"
+
+DOCS=(AUTHORS ChangeLog HACKING NEWS README)
+
+src_configure() {
+ use debug && append-cppflags -DSOQT_DEBUG=1
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ -DSOQT_BUILD_DOCUMENTATION=$(usex doc)
+ -DSOQT_BUILD_INTERNAL_DOCUMENTATION=OFF
+ -DSOQT_VERBOSE=$(usex debug)
+ )
+ cmake_src_configure
+}