1 |
commit: 210c9ee629ddc2d50c62e317b010869a6587ec63 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 24 21:47:49 2019 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 24 21:47:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=210c9ee6 |
7 |
|
8 |
app-emulation/winetricks: add version 20191224 |
9 |
|
10 |
Package-Manager: Portage-2.3.83, Repoman-2.3.20 |
11 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
12 |
|
13 |
app-emulation/winetricks/Manifest | 1 + |
14 |
.../winetricks/winetricks-20191224.ebuild | 86 ++++++++++++++++++++++ |
15 |
2 files changed, 87 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest |
18 |
index 2c6ad93..3e226af 100644 |
19 |
--- a/app-emulation/winetricks/Manifest |
20 |
+++ b/app-emulation/winetricks/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST winetricks-20190912.tar.gz 679544 BLAKE2B 633c407f8560fa3aa38806befded957d0bf1276164483b08fb3ef285fe873531d6362ae6305f5a33a85891d75990e6e0271fe954358e49425c4f36f0f918f48d SHA512 a0017cc08c56a511e523116daf2024b1462460d00b3d07de87720c7912dccab3d953db3653d7d611c5ae3b457a45de8d36688ee703e805c1e1f5be5c0fa7739f |
23 |
+DIST winetricks-20191224.tar.gz 683074 BLAKE2B 53e89f57883c7527e083610d4ea036887cc8e058d281ee77b0e8fd7dec8520bcd27d5d86f6cadfa5d11bc191a33571086128e6729642e7f302dc37e27b1ce402 SHA512 31c0866e78d866e569da6c1123af7823a07b6358a79fcba84296938d89a39447ec9f504ca524471abc74ec2e3b24024bbc8a579413b4fe0ee74b1d5612f5d41a |
24 |
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a |
25 |
|
26 |
diff --git a/app-emulation/winetricks/winetricks-20191224.ebuild b/app-emulation/winetricks/winetricks-20191224.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..900a5b5 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/winetricks/winetricks-20191224.ebuild |
31 |
@@ -0,0 +1,86 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit desktop xdg |
38 |
+ |
39 |
+if [[ ${PV} == "99999999" ]] ; then |
40 |
+ EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git" |
41 |
+ inherit git-r3 |
42 |
+ SRC_URI="" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+wtg="winetricks-gentoo-2012.11.24" |
49 |
+ |
50 |
+SRC_URI="${SRC_URI} |
51 |
+ gtk? ( https://dev.gentoo.org/~chiitoo/distfiles/${wtg}.tar.bz2 ) |
52 |
+ kde? ( https://dev.gentoo.org/~chiitoo/distfiles/${wtg}.tar.bz2 ) |
53 |
+" |
54 |
+ |
55 |
+DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine" |
56 |
+HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks" |
57 |
+ |
58 |
+LICENSE="LGPL-2.1+" |
59 |
+SLOT="0" |
60 |
+IUSE="gtk kde rar test" |
61 |
+ |
62 |
+BDEPEND=" |
63 |
+ test? ( |
64 |
+ dev-python/bashate |
65 |
+ dev-util/checkbashisms |
66 |
+ dev-util/shellcheck |
67 |
+ ) |
68 |
+" |
69 |
+DEPEND="" |
70 |
+RDEPEND="${DEPEND} |
71 |
+ app-arch/cabextract |
72 |
+ app-arch/p7zip |
73 |
+ app-arch/unzip |
74 |
+ net-misc/wget |
75 |
+ virtual/wine |
76 |
+ x11-misc/xdg-utils |
77 |
+ gtk? ( gnome-extra/zenity ) |
78 |
+ kde? ( kde-apps/kdialog ) |
79 |
+ rar? ( app-arch/unrar ) |
80 |
+" |
81 |
+ |
82 |
+# Test targets include syntax checks only, not the "heavy duty" tests |
83 |
+# that would require a lot of disk space, as well as network access. |
84 |
+ |
85 |
+# This uses a non-standard "Wine" category, which is provided by |
86 |
+# '/etc/xdg/menus/applications-merged/wine.menu' from the |
87 |
+# 'app-emulation/wine-desktop-common' package. |
88 |
+# https://bugs.gentoo.org/451552 |
89 |
+QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop" |
90 |
+ |
91 |
+src_unpack() { |
92 |
+ if [[ ${PV} == "99999999" ]]; then |
93 |
+ git-r3_src_unpack |
94 |
+ |
95 |
+ if use gtk || use kde; then |
96 |
+ unpack ${wtg}.tar.bz2 |
97 |
+ fi |
98 |
+ |
99 |
+ else |
100 |
+ default |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
+src_test() { |
105 |
+ ./tests/shell-checks || die "Test(s) failed." |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ default |
110 |
+ |
111 |
+ if use gtk || use kde; then |
112 |
+ cd "${WORKDIR}/${wtg}" || die |
113 |
+ domenu winetricks.desktop |
114 |
+ insinto /usr/share/icons/hicolor/scalable/apps |
115 |
+ doins wine-winetricks.svg |
116 |
+ fi |
117 |
+} |