summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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