1 |
commit: da44fb3021696c27781b9cf9426d84a254a4a10e |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 12 02:40:36 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 12 03:05:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da44fb30 |
7 |
|
8 |
sys-apps/usbredir: version bump to _p20180211 |
9 |
|
10 |
Also fix usbredirtestclient |
11 |
|
12 |
Closes: https://bugs.gentoo.org/627386 |
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
sys-apps/usbredir/Manifest | 1 + |
16 |
sys-apps/usbredir/usbredir-0.7.1_p20180211.ebuild | 44 +++++++++++++++++++++++ |
17 |
2 files changed, 45 insertions(+) |
18 |
|
19 |
diff --git a/sys-apps/usbredir/Manifest b/sys-apps/usbredir/Manifest |
20 |
index 7096d1802c2..1bc452f0087 100644 |
21 |
--- a/sys-apps/usbredir/Manifest |
22 |
+++ b/sys-apps/usbredir/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST usbredir-0.7.1.tar.bz2 329895 BLAKE2B 7017b1441c2265c9e58532bcc8718844e6f64c7272ad599a8cf5f6e21f694524e05da2d8672c4892faa7b744be46bdfff521dbcb4944715d45b24d5925972ac4 SHA512 f8d26d59d5a530aa413fabe2402fbbd9662760453c2b4e83d34f2e5287c188114ea870f15ae1bc910297649986315be965f0d23d0a2b7b0cec2f207fc65d7598 |
25 |
DIST usbredir-0.7.1_p20170503-patches.tar.xz 8120 BLAKE2B 21c7a853b3d5329fcca45169e22135bce615c9422f314f680f1087014d64179bf26f07bdb377bcff48155f28a37dec82b0bee8bce4d868e41614b128fe61b95a SHA512 b281d7a1ee191746e5fbe655b21c0cd9b2cf9cd69d5f28d91ab41de2d62a7f3c5c2a42f3f9c40c73d61a57d89423d996f4a779ebdff8f9d088030c2a4c2a24a7 |
26 |
+DIST usbredir-0.7.1_p20180211-patches.tar.xz 12508 BLAKE2B 57479444752070147583a0cc2f6651a32c8a618756638ae04928dda7082214d501fb5122a0f5d02aca994be0a386a8e493628faa240f61987dbd02d2fcfa679a SHA512 993c7ad5faf66f249546e1a631a10cd842439486de029ed2fff049b70967cb0a6ad45fb773a1c97fd6811e246f4cc4c7482522393dcc74b26ba2646a83ac70c8 |
27 |
|
28 |
diff --git a/sys-apps/usbredir/usbredir-0.7.1_p20180211.ebuild b/sys-apps/usbredir/usbredir-0.7.1_p20180211.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..511853883be |
31 |
--- /dev/null |
32 |
+++ b/sys-apps/usbredir/usbredir-0.7.1_p20180211.ebuild |
33 |
@@ -0,0 +1,44 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+inherit eutils flag-o-matic |
39 |
+ |
40 |
+MY_PV=${PV/_p*/} |
41 |
+ |
42 |
+DESCRIPTION="TCP daemon and set of libraries for usbredir protocol (redirecting USB traffic)" |
43 |
+HOMEPAGE="https://www.spice-space.org/page/UsbRedir" |
44 |
+SRC_URI="https://www.spice-space.org/download/usbredir/usbredir-${MY_PV}.tar.bz2 |
45 |
+ https://dev.gentoo.org/~tamiko/distfiles/${P}-patches.tar.xz" |
46 |
+ |
47 |
+LICENSE="GPL-2 LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+IUSE="static-libs" |
51 |
+ |
52 |
+RDEPEND="virtual/libusb:1" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ virtual/pkgconfig" |
55 |
+ |
56 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${S}_p20180211-patches" |
60 |
+) |
61 |
+ |
62 |
+DOCS="ChangeLog README* TODO *.txt" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ # https://bugs.freedesktop.org/show_bug.cgi?id=54643 |
66 |
+ append-cflags -Wno-error |
67 |
+ |
68 |
+ econf $(use_enable static-libs static) |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ default |
73 |
+ prune_libtool_files |
74 |
+ |
75 |
+ # noinst_PROGRAMS |
76 |
+ dobin usbredirtestclient/.libs/usbredirtestclient |
77 |
+} |