summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-10-06 00:05:22 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2020-10-06 00:06:59 +0200
commitaf3bcec777265d2754895b20f986e42ad038f75c (patch)
treef4dbe9b4666a1b7bd729c1a1387f6d8fc3c7a007 /media-libs/quarter
parentmedia-libs/SoQt: re-add package (diff)
downloadgentoo-af3bcec777265d2754895b20f986e42ad038f75c.tar.gz
gentoo-af3bcec777265d2754895b20f986e42ad038f75c.tar.bz2
gentoo-af3bcec777265d2754895b20f986e42ad038f75c.zip
media-libs/quarter: re-add package
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'media-libs/quarter')
-rw-r--r--media-libs/quarter/Manifest1
-rw-r--r--media-libs/quarter/metadata.xml22
-rw-r--r--media-libs/quarter/quarter-1.1.0.ebuild60
3 files changed, 83 insertions, 0 deletions
diff --git a/media-libs/quarter/Manifest b/media-libs/quarter/Manifest
new file mode 100644
index 000000000000..6030874d214b
--- /dev/null
+++ b/media-libs/quarter/Manifest
@@ -0,0 +1 @@
+DIST quarter-1.1.0-src.tar.gz 724762 BLAKE2B 8f1f0025706c4502ea178c09204e442b9c52148371863a5a49640ba751084cca9ca464398ee171729d85e8fc2f3fe3ea9d5f0492d114d810527601936abbd1e0 SHA512 2b2649132c66c709e3d5df2a99d621fb9cf61424c5376a5ca6a016ee5c7514841f8bbe390d1acc7b94688a86b56304ed12fb98840e11933162ac6ccb3f3d681c
diff --git a/media-libs/quarter/metadata.xml b/media-libs/quarter/metadata.xml
new file mode 100644
index 000000000000..a9191913aaaf
--- /dev/null
+++ b/media-libs/quarter/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <description>Feel free to maintain/fix</description>
+ </maintainer>
+ <longdescription lang="en">
+ Quarter is a light-weight glue library that provides seamless
+ integration between Systems in Motions's Coin high-level 3D
+ visualization library and Trolltech's Qt 2D user interface library.
+ It supersedes previous Qt binding - SoQt - by subclassing QGLWidget.
+ </longdescription>
+ <use>
+ <flag name="designer">Install plugin for <pkg>dev-qt/designer</pkg></flag>
+ <flag name="man">Build and install man pages</flag>
+ <flag name="qthelp">Build API documentation in QtHelp format</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">coin3d/quarter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/quarter/quarter-1.1.0.ebuild b/media-libs/quarter/quarter-1.1.0.ebuild
new file mode 100644
index 000000000000..d52e90e73ea8
--- /dev/null
+++ b/media-libs/quarter/quarter-1.1.0.ebuild
@@ -0,0 +1,60 @@
+# 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/quarter/Quarter}
+
+HOMEPAGE="https://github.com/coin3d/coin/wiki"
+DESCRIPTION="GUI binding for using Coin/Open Inventor with Qt"
+SRC_URI="https://github.com/coin3d/quarter/releases/download/${MY_P}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug designer doc man qthelp"
+
+REQUIRED_USE="
+ man? ( doc )
+ qthelp? ( doc )
+"
+
+RDEPEND="
+ media-libs/coin
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtopengl:5
+ virtual/opengl
+ designer? ( dev-qt/designer:5 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ qthelp? ( dev-qt/qthelp:5 )
+ )
+"
+
+S="${WORKDIR}/quarter"
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+src_configure() {
+ use debug && append-cppflags -DQUARTER_DEBUG=1
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ -DQUARTER_BUILD_SHARED_LIBS=ON
+ -DQUARTER_BUILD_PLUGIN=ON
+ -DQUARTER_BUILD_EXAMPLES=OFF
+ -DQUARTER_BUILD_DOCUMENTATION=$(usex doc)
+ -DQUARTER_BUILD_INTERNAL_DOCUMENTATION=OFF
+ -DQUARTER_BUILD_DOC_MAN=$(usex man)
+ -DQUARTER_BUILD_DOC_QTHELP=$(usex qthelp)
+ -DQUARTER_BUILD_DOC_CHM=OFF
+ -DQUARTER_USE_QT5=ON
+ )
+ cmake_src_configure
+}