1 |
commit: 2c897ab38e6dba1724879daf439de888f0fca78b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 30 02:35:06 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 02:35:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=2c897ab3 |
7 |
|
8 |
media-libs/SoQt: Drop IUSE=qt4, fix SRC_URI, EAPI-7 |
9 |
|
10 |
Package-Manager: Portage-3.0.11, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/SoQt/SoQt-1.4.1.ebuild | 59 ++++++++++++++++++++------------------- |
14 |
1 file changed, 30 insertions(+), 29 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/SoQt/SoQt-1.4.1.ebuild b/media-libs/SoQt/SoQt-1.4.1.ebuild |
17 |
index 819e9c2a..4009f9d4 100644 |
18 |
--- a/media-libs/SoQt/SoQt-1.4.1.ebuild |
19 |
+++ b/media-libs/SoQt/SoQt-1.4.1.ebuild |
20 |
@@ -1,52 +1,53 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.4.1.ebuild,v 1.6 2009/10/29 11:02:54 fauli Exp $ |
25 |
|
26 |
-EAPI="2" |
27 |
+EAPI=7 |
28 |
|
29 |
-inherit flag-o-matic eutils |
30 |
+inherit flag-o-matic |
31 |
|
32 |
-DESCRIPTION="The glue between Coin3D and Qt" |
33 |
-SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${P}.tar.gz" |
34 |
+DESCRIPTION="Glue between Coin3D and Qt" |
35 |
HOMEPAGE="http://www.coin3d.org/" |
36 |
+SRC_URI="https://github.com/coin3d/soqt/archive/${P}.tar.gz" |
37 |
+S="${WORKDIR}/soqt-${P}" |
38 |
|
39 |
-SLOT="0" |
40 |
LICENSE="|| ( GPL-2 PEL )" |
41 |
+SLOT="0" |
42 |
KEYWORDS="~amd64 x86" |
43 |
-IUSE="doc qt4" |
44 |
- |
45 |
-RDEPEND=">=media-libs/coin-2.4.4 |
46 |
- qt4? ( |
47 |
- dev-qt/qtgui:4[qt3support] |
48 |
- dev-qt/qtopengl:4[qt3support] |
49 |
- dev-qt/qt3support:4 |
50 |
- ) |
51 |
- !qt4? ( dev-qt/qt-meta:3[opengl] )" |
52 |
-DEPEND="${RDEPEND} |
53 |
+IUSE="doc" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-qt/qtgui:4[qt3support] |
57 |
+ dev-qt/qtopengl:4[qt3support] |
58 |
+ dev-qt/qt3support:4 |
59 |
+ >=media-libs/coin-2.4.4 |
60 |
+" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND=" |
63 |
virtual/pkgconfig |
64 |
- doc? ( app-doc/doxygen )" |
65 |
+ doc? ( app-doc/doxygen ) |
66 |
+" |
67 |
|
68 |
-src_prepare() { |
69 |
- epatch "${FILESDIR}/${P}-gcc44.patch" |
70 |
-} |
71 |
+PATCHES=( "${FILESDIR}/${P}-gcc44.patch" ) |
72 |
|
73 |
src_configure() { |
74 |
- if use qt4; then |
75 |
- export PATH="/usr/bin/:${PATH}" |
76 |
- export QTDIR="/usr" |
77 |
- export CONFIG_QTLIBS="$(pkg-config --libs QtGui)" |
78 |
- fi |
79 |
+ export PATH="/usr/bin/:${PATH}" |
80 |
+ export QTDIR="/usr" |
81 |
+ export CONFIG_QTLIBS="$(pkg-config --libs QtGui)" |
82 |
|
83 |
append-ldflags $(no-as-needed) |
84 |
|
85 |
- econf --with-coin --disable-html-help $(use_enable doc html) htmldir=/usr/share/doc/${PF}/html |
86 |
+ econf \ |
87 |
+ --with-coin \ |
88 |
+ --disable-html-help\ |
89 |
+ $(use_enable doc html) \ |
90 |
+ htmldir=/usr/share/doc/${PF}/html |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
- emake -j1 || die "emake failed" |
95 |
+ emake -j1 |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
- emake DESTDIR="${D}" install || die "emake install failed" |
100 |
+ emake DESTDIR="${D}" install |
101 |
dodoc AUTHORS ChangeLog NEWS README* |
102 |
} |