media-libs/SoXt: bump to EAPI=7
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 11 Mar 2020 12:18:21 +0000 (13:18 +0100)
committerGuilherme Amadio <amadio@gentoo.org>
Wed, 11 Mar 2020 12:21:38 +0000 (13:21 +0100)
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
media-libs/SoXt/SoXt-1.3.0-r1.ebuild [moved from media-libs/SoXt/SoXt-1.3.0.ebuild with 78% similarity]
media-libs/SoXt/files/SoXt-1.3.0-pkgconfig-partial.patch

similarity index 78%
rename from media-libs/SoXt/SoXt-1.3.0.ebuild
rename to media-libs/SoXt/SoXt-1.3.0-r1.ebuild
index 449806a13697dc8a329526d7652ee3174d1b7191..9a19d7672949de84e8c9c625347c7ed2761ac40c 100644 (file)
@@ -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
 }
index 397d223b6157be0902f9e2b37f5a178bd6e098f0..d9f1ad25eeff6fe718d8b7587ed73e5fab996f4e 100644 (file)
@@ -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