commit:     4f609de06a4fbf23b475c4c68e24c870f4f149d2
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 18:18:38 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 18:35:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f609de0

sys-apps/usbredir: sync live ebuild

Closes: https://bugs.gentoo.org/773148
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../{usbredir-9999.ebuild => usbredir-0.9.0.ebuild}  | 20 +++++++++-----------
 sys-apps/usbredir/usbredir-9999.ebuild               | 12 ++++++------
 2 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/sys-apps/usbredir/usbredir-9999.ebuild 
b/sys-apps/usbredir/usbredir-0.9.0.ebuild
similarity index 65%
copy from sys-apps/usbredir/usbredir-9999.ebuild
copy to sys-apps/usbredir/usbredir-0.9.0.ebuild
index 86a0a057b70..0f05f9cc506 100644
--- a/sys-apps/usbredir/usbredir-9999.ebuild
+++ b/sys-apps/usbredir/usbredir-0.9.0.ebuild
@@ -1,29 +1,27 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+inherit eutils flag-o-matic
 
-inherit eutils flag-o-matic autotools git-r3 ltprune
+MY_PV=${PV/_p*/}
 
 DESCRIPTION="TCP daemon and set of libraries for usbredir protocol 
(redirecting USB traffic)"
 HOMEPAGE="https://www.spice-space.org/usbredir.html";
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/usbredir.git";
+SRC_URI="https://www.spice-space.org/download/usbredir/usbredir-${MY_PV}.tar.bz2";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="static-libs"
 
 RDEPEND="virtual/libusb:1"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-DOCS="ChangeLog README* TODO *.txt"
+S="${WORKDIR}/${PN}-${MY_PV}"
 
-src_prepare() {
-       default
-       eautoreconf
-}
+DOCS="ChangeLog README* TODO *.txt"
 
 src_configure() {
        # https://bugs.freedesktop.org/show_bug.cgi?id=54643
@@ -34,8 +32,8 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 
        # noinst_PROGRAMS
-       dobin usbredirtestclient/usbredirtestclient
+       dobin usbredirtestclient/.libs/usbredirtestclient
 }

diff --git a/sys-apps/usbredir/usbredir-9999.ebuild 
b/sys-apps/usbredir/usbredir-9999.ebuild
index 86a0a057b70..ccb3efd6fe2 100644
--- a/sys-apps/usbredir/usbredir-9999.ebuild
+++ b/sys-apps/usbredir/usbredir-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils flag-o-matic autotools git-r3 ltprune
+inherit eutils flag-o-matic autotools git-r3
 
 DESCRIPTION="TCP daemon and set of libraries for usbredir protocol 
(redirecting USB traffic)"
 HOMEPAGE="https://www.spice-space.org/usbredir.html";
@@ -18,7 +18,7 @@ RDEPEND="virtual/libusb:1"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-DOCS="ChangeLog README* TODO *.txt"
+DOCS="README* TODO *.txt"
 
 src_prepare() {
        default
@@ -34,8 +34,8 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 
        # noinst_PROGRAMS
-       dobin usbredirtestclient/usbredirtestclient
+       dobin usbredirtestclient/.libs/usbredirtestclient
 }

Reply via email to