commit:     aee8d46d3f1403ab9a0f67181bc529e0e9a231d0
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 13:10:39 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 13:21:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee8d46d

net-misc/spice-gtk: fix la file pruning

Closes: https://bugs.gentoo.org/690966
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../spice-gtk/{spice-gtk-0.37.ebuild => spice-gtk-0.37-r1.ebuild}     | 4 ++--
 net-misc/spice-gtk/spice-gtk-9999.ebuild                              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/spice-gtk/spice-gtk-0.37.ebuild 
b/net-misc/spice-gtk/spice-gtk-0.37-r1.ebuild
similarity index 96%
rename from net-misc/spice-gtk/spice-gtk-0.37.ebuild
rename to net-misc/spice-gtk/spice-gtk-0.37-r1.ebuild
index 4ec5cdd5d7d..a876916757e 100644
--- a/net-misc/spice-gtk/spice-gtk-0.37.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.37-r1.ebuild
@@ -7,7 +7,7 @@ GCONF_DEBUG="no"
 VALA_MIN_API_VERSION="0.14"
 VALA_USE_DEPEND="vapigen"
 
-inherit autotools eutils xdg-utils vala readme.gentoo-r1
+inherit autotools desktop eutils xdg-utils vala readme.gentoo-r1
 
 DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers 
and a client GUI"
 HOMEPAGE="https://www.spice-space.org 
https://cgit.freedesktop.org/spice/spice-gtk/";
@@ -137,7 +137,7 @@ src_install() {
        default
 
        # Remove .la files if they're not needed
-       use static-libs || prune_libtool_files
+       use static-libs || find "${D}" -name '*.la' -delete || die
 
        make_desktop_entry spicy Spicy "utilities-terminal" 
"Network;RemoteAccess;"
        readme.gentoo_create_doc

diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild 
b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index b3d753c9202..05c245ff115 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -7,7 +7,7 @@ WANT_AUTOMAKE="1.12"
 VALA_MIN_API_VERSION="0.14"
 VALA_USE_DEPEND="vapigen"
 
-inherit autotools eutils git-r3 readme.gentoo-r1 vala xdg-utils
+inherit autotools desktop eutils git-r3 readme.gentoo-r1 vala xdg-utils
 
 DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers 
and a client GUI"
 HOMEPAGE="https://www.spice-space.org 
https://cgit.freedesktop.org/spice/spice-gtk/";
@@ -134,7 +134,7 @@ src_install() {
        default
 
        # Remove .la files if they're not needed
-       use static-libs || prune_libtool_files
+       use static-libs || find "${D}" -name '*.la' -delete || die
 
        make_desktop_entry spicy Spicy "utilities-terminal" 
"Network;RemoteAccess;"
        readme.gentoo_create_doc

Reply via email to