net-misc/spice-gtk: fix la file pruning
authorMatthias Maier <tamiko@gentoo.org>
Mon, 29 Jul 2019 13:10:39 +0000 (08:10 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 29 Jul 2019 13:21:22 +0000 (08:21 -0500)
Closes: https://bugs.gentoo.org/690966
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
net-misc/spice-gtk/spice-gtk-0.37-r1.ebuild [moved from net-misc/spice-gtk/spice-gtk-0.37.ebuild with 96% similarity]
net-misc/spice-gtk/spice-gtk-9999.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 4ec5cdd5d7dadc658ac01057a8b2842f47316d24..a876916757e926e79cc7cc4d878a8f151dbbebcb 100644 (file)
@@ -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
index b3d753c9202705cfd3005a14af73252a8997018c..05c245ff1153767d1443e54a23f76be7e970a686 100644 (file)
@@ -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