diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-libs/quarter | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-libs/quarter')
-rw-r--r-- | media-libs/quarter/Manifest | 4 | ||||
-rw-r--r-- | media-libs/quarter/files/quarter-1.1.0-cmake.patch | 16 | ||||
-rw-r--r-- | media-libs/quarter/metadata.xml | 22 | ||||
-rw-r--r-- | media-libs/quarter/quarter-1.1.0.ebuild | 64 |
4 files changed, 106 insertions, 0 deletions
diff --git a/media-libs/quarter/Manifest b/media-libs/quarter/Manifest new file mode 100644 index 000000000000..a76192e9e3b0 --- /dev/null +++ b/media-libs/quarter/Manifest @@ -0,0 +1,4 @@ +AUX quarter-1.1.0-cmake.patch 535 BLAKE2B b800b87ff88a824170700f37599bd425c08d2defdd515f98314de531710ff56f916a7619cd9eac35c74664bc7dd55f4320234ac96b0e1c6b08ff64b04c312918 SHA512 fbd981e1af9003ee6f92a6218a2d150b110f3e86c580b2a57a7d5e496f3e7a36e0ee8b5e664ef38b7d5db7294b2500c64e1c8c4adf9a8ee3b877173f409bb411 +DIST quarter-1.1.0-src.tar.gz 724762 BLAKE2B 8f1f0025706c4502ea178c09204e442b9c52148371863a5a49640ba751084cca9ca464398ee171729d85e8fc2f3fe3ea9d5f0492d114d810527601936abbd1e0 SHA512 2b2649132c66c709e3d5df2a99d621fb9cf61424c5376a5ca6a016ee5c7514841f8bbe390d1acc7b94688a86b56304ed12fb98840e11933162ac6ccb3f3d681c +EBUILD quarter-1.1.0.ebuild 1365 BLAKE2B e939cda9ba73ca07c4d6e3465245173c361c26d83d168efef138a1dda8f11059748939f221d25ddd5e0265ef80470e85e8e95206348b0503ababf18d57c8d73f SHA512 289234257e66f0705bdce89c47e3ec4b93c8a5094cb5637493d2a71702ad1560858510b235ce2b5162c4f9f3d057448efbb98b736532dc4d75f15fac0e1371db +MISC metadata.xml 905 BLAKE2B 5fdaa70b0890d88bb877ad348dffeda594598c82b213b178dc87bdd149bfbe5f5c0cb54681963d1c046c1d39ed6ef3c169a9ffb0cba2e1594399b1ab03bc6fce SHA512 9711104dcd8b1d26d3aff62d5046389492becad1cbbec1e8367dab68ba499e581ff7b3f2bec0b59af53052e40c81071db79a26b79992ece3450da598efec2475 diff --git a/media-libs/quarter/files/quarter-1.1.0-cmake.patch b/media-libs/quarter/files/quarter-1.1.0-cmake.patch new file mode 100644 index 000000000000..73c6473354a0 --- /dev/null +++ b/media-libs/quarter/files/quarter-1.1.0-cmake.patch @@ -0,0 +1,16 @@ +diff -ruN quarter/CMakeLists.txt quarter-my/CMakeLists.txt +--- quarter/CMakeLists.txt 2019-12-25 19:44:38.000000000 +0100 ++++ quarter-my/CMakeLists.txt 2020-10-06 20:16:47.094206772 +0200 +@@ -90,7 +90,11 @@ + find_package(Spacenav) + + if(QUARTER_USE_QT5) +- find_package(Qt5 COMPONENTS Widgets UiTools OpenGL Designer REQUIRED) ++ if(QUARTER_BUILD_PLUGIN) ++ find_package(Qt5 COMPONENTS Widgets UiTools OpenGL Designer REQUIRED) ++ else() ++ find_package(Qt5 COMPONENTS Widgets OpenGL REQUIRED) ++ endif() + endif() + + if(Qt5_FOUND) 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..71fc4f42430f --- /dev/null +++ b/media-libs/quarter/quarter-1.1.0.ebuild @@ -0,0 +1,64 @@ +# 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" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.0-cmake.patch +) + +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=$(usex designer) + -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 +} |