summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2020-03-11 13:18:21 +0100
committerGuilherme Amadio <amadio@gentoo.org>2020-03-11 13:21:38 +0100
commit4658562489678824f4a7efdea14c972e678e75b7 (patch)
treef5013ffccd128d52fc688f0e84070cd374ff6bea /media-libs
parentmedia-libs/SoXt: update dependency on media-libs/coin (diff)
downloadgentoo-4658562489678824f4a7efdea14c972e678e75b7.tar.gz
gentoo-4658562489678824f4a7efdea14c972e678e75b7.tar.bz2
gentoo-4658562489678824f4a7efdea14c972e678e75b7.zip
media-libs/SoXt: bump to EAPI=7
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/SoXt/SoXt-1.3.0-r1.ebuild (renamed from media-libs/SoXt/SoXt-1.3.0.ebuild)12
-rw-r--r--media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch4
2 files changed, 6 insertions, 10 deletions
diff --git a/media-libs/SoXt/SoXt-1.3.0.ebuild b/media-libs/SoXt/SoXt-1.3.0-r1.ebuild
index 449806a13697..9a19d7672949 100644
--- a/media-libs/SoXt/SoXt-1.3.0.ebuild
+++ b/media-libs/SoXt/SoXt-1.3.0-r1.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit autotools-utils
+EAPI=7
HOMEPAGE="http://www.coin3d.org/"
DESCRIPTION="GUI binding for using Coin/Open Inventor with Xt/Motif"
@@ -41,11 +39,9 @@ src_configure() {
$(use_enable doc html)
$(use_enable doc man)
)
- autotools-utils_src_configure
+ default
# Remove SoXt from Libs.private (patch installs it in Libs)
- sed -i -e '/Libs.private/s/ -lSoXt//' "${BUILD_DIR}"/SoXt.pc || die
+ sed -i -e '/Libs.private/s/ -lSoXt//' SoXt.pc || die
# Strip the default libdir
- sed -i -e "s,-L%{_libdir} ,," soxt-default.cfg
- # soxt-config is arch dependent
- sed -i -e "s,/share/Coin/conf/,/%{_lib}/Coin2/conf/,g" soxt-config
+ sed -i -e "s,-L%{_libdir} ,," soxt-default.cfg || die
}
diff --git a/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch b/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch
index 397d223b6157..d9f1ad25eeff 100644
--- a/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch
+++ b/media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch
@@ -1,5 +1,5 @@
---- SoXt.pc.in.orig 2013-06-17 11:26:59.998321839 -0700
-+++ SoXt.pc.in 2013-06-17 11:28:01.603654611 -0700
+--- a/SoXt.pc.in 2013-06-17 11:26:59.998321839 -0700
++++ b/SoXt.pc.in 2013-06-17 11:28:01.603654611 -0700
@@ -10,7 +10,8 @@
Version: @SOXT_VERSION@
Requires: Coin