summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2023-12-09 02:53:37 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2023-12-09 02:53:37 +0100
commite46fe8cd2f29d87fa1fdd32e6b2ac88483d221db (patch)
tree7c35709ac54a547b8a6af19b20bcfd00cb58cd88 /media-libs
parentmedia-libs/coin: add 4.0.2 (diff)
downloadgentoo-e46fe8cd2f29d87fa1fdd32e6b2ac88483d221db.tar.gz
gentoo-e46fe8cd2f29d87fa1fdd32e6b2ac88483d221db.tar.bz2
gentoo-e46fe8cd2f29d87fa1fdd32e6b2ac88483d221db.zip
media-libs/SoQt: add 1.6.1
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/SoQt/Manifest1
-rw-r--r--media-libs/SoQt/SoQt-1.6.1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/SoQt/Manifest b/media-libs/SoQt/Manifest
index 4b5188f20ea8..687d0e25533f 100644
--- a/media-libs/SoQt/Manifest
+++ b/media-libs/SoQt/Manifest
@@ -1 +1,2 @@
DIST SoQt-1.6.0-src.tar.gz 1675532 BLAKE2B 9935c32a7f0ad0d0e4248c6f81d2aacad00f3674d8e14aa192a87be5dc3b99e29213fbd96044ad4cc6548aef7f1d281aadebc48256bbfc11ad305e2136f6e12a SHA512 4221e98f51cca4dda23043428e869b60ab4d994710f97c0f44cd82631ffad2bd8bbaf0b820434a4636892df663d66ecd2aec14b185972671b2d22c0fe242b553
+DIST soqt-1.6.1-src.tar.gz 1705089 BLAKE2B 514eb67f00df857fd3621ec81caec1a028a643e78350af6cc38061c6c7fc07fdf32fbeee5138c25207dd7f4594f982d14fd672e34ec7792994f3ae9cfc87bb49 SHA512 8691b0f1b011e48e824d07c56e4f578c3d6669b8fd955e720b399274589c8bf0e97d08941756a95cf7925d723ae044e1dda9ba0afce9377a0137b9c73e7834dd
diff --git a/media-libs/SoQt/SoQt-1.6.1.ebuild b/media-libs/SoQt/SoQt-1.6.1.ebuild
new file mode 100644
index 000000000000..e90a6e81568c
--- /dev/null
+++ b/media-libs/SoQt/SoQt-1.6.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 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/v${PV}/${MY_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_USE_QT6=OFF
+ -DSOQT_VERBOSE=$(usex debug)
+ )
+ cmake_src_configure
+}