commit:     9e9e288b6f0e95521aae6540d423ec015ec4a0cd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 17:51:43 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 18:13:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9e288b

x11-libs/cairo: Port to EAPI=7

Thanks to David Michael.

Closes: https://bugs.gentoo.org/705130
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/cairo/cairo-1.16.0-r3.ebuild | 11 ++++++-----
 x11-libs/cairo/cairo-9999.ebuild      | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/x11-libs/cairo/cairo-1.16.0-r3.ebuild 
b/x11-libs/cairo/cairo-1.16.0-r3.ebuild
index b759d204805..1c3590a8d2a 100644
--- a/x11-libs/cairo/cairo-1.16.0-r3.ebuild
+++ b/x11-libs/cairo/cairo-1.16.0-r3.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils flag-o-matic autotools multilib-minimal
+inherit flag-o-matic autotools multilib-minimal
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -25,6 +25,9 @@ IUSE="X aqua debug gles2 +glib opengl static-libs +svg utils 
valgrind xcb"
 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test 
needs gtk+ so we need to block it
 RESTRICT="test"
 
+BDEPEND="
+       virtual/pkgconfig
+       >=sys-devel/libtool-2"
 RDEPEND="
        >=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}]
        >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
@@ -45,8 +48,6 @@ RDEPEND="
                >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]
        )"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       >=sys-devel/libtool-2
        X? ( x11-base/xorg-proto )"
 #[[ ${PV} == *9999* ]] && DEPEND="${DEPEND}
 #      doc? (
@@ -127,6 +128,6 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
        einstalldocs
 }

diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index f2e28c9ed36..6b69a9ab32b 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils flag-o-matic autotools multilib-minimal
+inherit flag-o-matic autotools multilib-minimal
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -25,6 +25,9 @@ IUSE="X aqua debug gles2 +glib opengl static-libs +svg utils 
valgrind xcb"
 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test 
needs gtk+ so we need to block it
 RESTRICT="test"
 
+BDEPEND="
+       virtual/pkgconfig
+       >=sys-devel/libtool-2"
 RDEPEND="
        >=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}]
        >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
@@ -45,8 +48,6 @@ RDEPEND="
                >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]
        )"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       >=sys-devel/libtool-2
        X? ( x11-base/xorg-proto )"
 #[[ ${PV} == *9999* ]] && DEPEND="${DEPEND}
 #      doc? (
@@ -125,6 +126,6 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
        einstalldocs
 }

Reply via email to