summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-30 03:35:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-30 03:35:06 +0100
commit2c897ab38e6dba1724879daf439de888f0fca78b (patch)
treec86942d70aa126513e4530a57ad345cbddafe688 /media-libs
parentmedia-libs/phonon: Cleanup UnknownManifest (diff)
downloadkde-sunset-2c897ab38e6dba1724879daf439de888f0fca78b.tar.gz
kde-sunset-2c897ab38e6dba1724879daf439de888f0fca78b.tar.bz2
kde-sunset-2c897ab38e6dba1724879daf439de888f0fca78b.zip
media-libs/SoQt: Drop IUSE=qt4, fix SRC_URI, EAPI-7
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/SoQt/Manifest2
-rw-r--r--media-libs/SoQt/SoQt-1.4.1.ebuild59
2 files changed, 31 insertions, 30 deletions
diff --git a/media-libs/SoQt/Manifest b/media-libs/SoQt/Manifest
index 369b5f85..a07bf0e4 100644
--- a/media-libs/SoQt/Manifest
+++ b/media-libs/SoQt/Manifest
@@ -1 +1 @@
-DIST SoQt-1.4.1.tar.gz 1706403 SHA256 741449af3619a60995d27838d94b8a77e6f8bedf00d6fd3745a8d15cbaaea1ea
+DIST SoQt-1.4.1.tar.gz 1505547 BLAKE2B 43c36a094ebce59bc0edd2c4d59ff97d08a27004d730591f5547451cd6cf4f853bd84e862ac54241556a48bca153b343e5950a84089d479fccc830b413dc95f2 SHA512 25f1faf254ca49586cc5fcf4763c737f4868a29045b82214546280dd1dfa831b0d2a5d28bf3780ce29415972cfd747d2dc891032817dc5b62ad85ccf035a5755
diff --git a/media-libs/SoQt/SoQt-1.4.1.ebuild b/media-libs/SoQt/SoQt-1.4.1.ebuild
index 819e9c2a..4009f9d4 100644
--- a/media-libs/SoQt/SoQt-1.4.1.ebuild
+++ b/media-libs/SoQt/SoQt-1.4.1.ebuild
@@ -1,52 +1,53 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.4.1.ebuild,v 1.6 2009/10/29 11:02:54 fauli Exp $
-EAPI="2"
+EAPI=7
-inherit flag-o-matic eutils
+inherit flag-o-matic
-DESCRIPTION="The glue between Coin3D and Qt"
-SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${P}.tar.gz"
+DESCRIPTION="Glue between Coin3D and Qt"
HOMEPAGE="http://www.coin3d.org/"
+SRC_URI="https://github.com/coin3d/soqt/archive/${P}.tar.gz"
+S="${WORKDIR}/soqt-${P}"
-SLOT="0"
LICENSE="|| ( GPL-2 PEL )"
+SLOT="0"
KEYWORDS="~amd64 x86"
-IUSE="doc qt4"
-
-RDEPEND=">=media-libs/coin-2.4.4
- qt4? (
- dev-qt/qtgui:4[qt3support]
- dev-qt/qtopengl:4[qt3support]
- dev-qt/qt3support:4
- )
- !qt4? ( dev-qt/qt-meta:3[opengl] )"
-DEPEND="${RDEPEND}
+IUSE="doc"
+
+RDEPEND="
+ dev-qt/qtgui:4[qt3support]
+ dev-qt/qtopengl:4[qt3support]
+ dev-qt/qt3support:4
+ >=media-libs/coin-2.4.4
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+"
-src_prepare() {
- epatch "${FILESDIR}/${P}-gcc44.patch"
-}
+PATCHES=( "${FILESDIR}/${P}-gcc44.patch" )
src_configure() {
- if use qt4; then
- export PATH="/usr/bin/:${PATH}"
- export QTDIR="/usr"
- export CONFIG_QTLIBS="$(pkg-config --libs QtGui)"
- fi
+ export PATH="/usr/bin/:${PATH}"
+ export QTDIR="/usr"
+ export CONFIG_QTLIBS="$(pkg-config --libs QtGui)"
append-ldflags $(no-as-needed)
- econf --with-coin --disable-html-help $(use_enable doc html) htmldir=/usr/share/doc/${PF}/html
+ econf \
+ --with-coin \
+ --disable-html-help\
+ $(use_enable doc html) \
+ htmldir=/usr/share/doc/${PF}/html
}
src_compile() {
- emake -j1 || die "emake failed"
+ emake -j1
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README*
}