Gentoo Archives: gentoo-commits

From: Maciej Mrozowski <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/SoQt/
Date: Mon, 05 Oct 2020 22:10:35
Message-Id: 1601935616.23b04b0d1462ca6efe5780edd27cefb423260153.reavertm@gentoo
1 commit: 23b04b0d1462ca6efe5780edd27cefb423260153
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 5 22:04:26 2020 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 5 22:06:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b04b0d
7
8 media-libs/SoQt: re-add package
9
10 Closes: https://bugs.gentoo.org/686972
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
13
14 media-libs/SoQt/Manifest | 1 +
15 media-libs/SoQt/SoQt-1.6.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
16 media-libs/SoQt/metadata.xml | 16 +++++++++++++
17 3 files changed, 65 insertions(+)
18
19 diff --git a/media-libs/SoQt/Manifest b/media-libs/SoQt/Manifest
20 new file mode 100644
21 index 00000000000..4b5188f20ea
22 --- /dev/null
23 +++ b/media-libs/SoQt/Manifest
24 @@ -0,0 +1 @@
25 +DIST SoQt-1.6.0-src.tar.gz 1675532 BLAKE2B 9935c32a7f0ad0d0e4248c6f81d2aacad00f3674d8e14aa192a87be5dc3b99e29213fbd96044ad4cc6548aef7f1d281aadebc48256bbfc11ad305e2136f6e12a SHA512 4221e98f51cca4dda23043428e869b60ab4d994710f97c0f44cd82631ffad2bd8bbaf0b820434a4636892df663d66ecd2aec14b185972671b2d22c0fe242b553
26
27 diff --git a/media-libs/SoQt/SoQt-1.6.0.ebuild b/media-libs/SoQt/SoQt-1.6.0.ebuild
28 new file mode 100644
29 index 00000000000..987b9268d17
30 --- /dev/null
31 +++ b/media-libs/SoQt/SoQt-1.6.0.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake flag-o-matic
39 +
40 +MY_P=${P/soqt/SoQt}
41 +
42 +HOMEPAGE="https://github.com/coin3d/coin/wiki"
43 +DESCRIPTION="GUI binding for using Coin/Open Inventor with Qt"
44 +SRC_URI="https://github.com/coin3d/soqt/releases/download/${MY_P}/${P}-src.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +KEYWORDS="~amd64 ~x86"
48 +SLOT="0"
49 +IUSE="debug doc"
50 +
51 +RDEPEND="
52 + media-libs/coin
53 + dev-qt/qtcore:5
54 + dev-qt/qtgui:5
55 + dev-qt/qtwidgets:5
56 + dev-qt/qtopengl:5
57 + virtual/opengl
58 + x11-libs/libX11
59 + x11-libs/libXi
60 +"
61 +DEPEND="${RDEPEND}
62 + virtual/pkgconfig
63 + x11-base/xorg-proto
64 + doc? ( app-doc/doxygen )
65 +"
66 +
67 +S="${WORKDIR}/soqt"
68 +
69 +DOCS=(AUTHORS ChangeLog HACKING NEWS README)
70 +
71 +src_configure() {
72 + use debug && append-cppflags -DSOQT_DEBUG=1
73 + local mycmakeargs=(
74 + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
75 + -DSOQT_BUILD_DOCUMENTATION=$(usex doc)
76 + -DSOQT_BUILD_INTERNAL_DOCUMENTATION=OFF
77 + -DSOQT_VERBOSE=$(usex debug)
78 + )
79 + cmake_src_configure
80 +}
81
82 diff --git a/media-libs/SoQt/metadata.xml b/media-libs/SoQt/metadata.xml
83 new file mode 100644
84 index 00000000000..4b5cc76b6e9
85 --- /dev/null
86 +++ b/media-libs/SoQt/metadata.xml
87 @@ -0,0 +1,16 @@
88 +<?xml version="1.0" encoding="UTF-8"?>
89 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
90 +<pkgmetadata>
91 + <maintainer type="person">
92 + <email>reavertm@g.o</email>
93 + <description>Feel free to maintain/fix</description>
94 + </maintainer>
95 + <longdescription lang="en">
96 + SoQt is a Qt GUI component toolkit library for Coin. It is also compatible
97 + with SGI and TGS Open Inventor, and the API is based on the API of the
98 + InventorXt GUI component toolkit.
99 + </longdescription>
100 + <upstream>
101 + <remote-id type="github">coin3d/soqt</remote-id>
102 + </upstream>
103 +</pkgmetadata>