1 |
commit: 69eba8c5988a12dc7b97c5801f3edaf5fa46a839 |
2 |
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 3 17:09:02 2018 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 3 17:12:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69eba8c5 |
7 |
|
8 |
app-emulation/winetricks: Sync with ::wine |
9 |
|
10 |
Version bump to 20180603 |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
app-emulation/winetricks/Manifest | 1 + |
15 |
.../winetricks/winetricks-20180603.ebuild | 96 ++++++++++++++++++++++ |
16 |
2 files changed, 97 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest |
19 |
index e50eaeb8f66..cfa85e11f1d 100644 |
20 |
--- a/app-emulation/winetricks/Manifest |
21 |
+++ b/app-emulation/winetricks/Manifest |
22 |
@@ -1,4 +1,5 @@ |
23 |
DIST winetricks-20170823.tar.gz 639027 BLAKE2B ce0de22ff3363bd6fd675d07ea235ed5fb03ea7a84b3242329c094d6a9190c61813a1f360e74ece49d43d2dbf48dbbb1e94c4febc6e1a0d84cf1df895b0be6f9 SHA512 edc805be1a1c4fa64ae16b14fdd46786e259b88a0cde7afdf24bf934fa79f4acf3d9e599727fa589f155ec265569953b9e419cda79d54057157cbb1510261e3a |
24 |
DIST winetricks-20180217.tar.gz 646726 BLAKE2B 3cde3ca1cd7c74946732c530a49ca532975e037bc2907e88239b4697b3828dfcde3ce250d95e6c03ca36cc36b4e00cd545b0f6b63f984722a737674aff808e27 SHA512 3f90ef3381d89c0dac8c4b7acea04d71fe898207c534d4fe00c3db4e5c2e18db90602b78672e8ecf6f754206a999465ba5d8f1f5962e0291386badfc8202cd73 |
25 |
DIST winetricks-20180513.tar.gz 652299 BLAKE2B fb4c55e534e368d5d7e94247feed031d0f6f98a2f3604f6187e32d25659f1cfa7f5589806e429ee054b4a94c00ebd6ac63cb99012fd94a99622891132a477001 SHA512 49fc022fc3db068145baf3a51444dc937deb092aceac8e31259888fea21ffe86f747a0d4dbd5ff10f253a94b15de090c01f20dacbe838c8444bdb00b98cbf5c6 |
26 |
+DIST winetricks-20180603.tar.gz 651678 BLAKE2B a70ae685bd49e429199619176e130681ab2d28ba8659f68bdba298d82e610c77df86c3d998273e60bb53d9da24bddcfe80f6d89e044007c1477a92bbc0e6043f SHA512 e88b0d4375331c94d3e2d995985b6c28fd208f1e32b1e4d84f33997a8a69fc9f8a4173325a571f5d10f233bcf40fe4cde644401c1563c8cfe7915748448a08cd |
27 |
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a |
28 |
|
29 |
diff --git a/app-emulation/winetricks/winetricks-20180603.ebuild b/app-emulation/winetricks/winetricks-20180603.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..58d2e71829b |
32 |
--- /dev/null |
33 |
+++ b/app-emulation/winetricks/winetricks-20180603.ebuild |
34 |
@@ -0,0 +1,96 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit gnome2-utils eutils |
41 |
+ |
42 |
+if [[ ${PV} == "99999999" ]] ; then |
43 |
+ EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git" |
44 |
+ inherit git-r3 |
45 |
+ SRC_URI="" |
46 |
+else |
47 |
+ SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~x86" |
49 |
+fi |
50 |
+ |
51 |
+wtg=winetricks-gentoo-2012.11.24 |
52 |
+ |
53 |
+SRC_URI="${SRC_URI} |
54 |
+ gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 ) |
55 |
+ kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )" |
56 |
+ |
57 |
+DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine" |
58 |
+HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks" |
59 |
+ |
60 |
+LICENSE="LGPL-2.1+" |
61 |
+SLOT="0" |
62 |
+IUSE="gtk kde rar test" |
63 |
+ |
64 |
+DEPEND="test? ( |
65 |
+ dev-python/bashate |
66 |
+ dev-util/checkbashisms |
67 |
+ dev-util/shellcheck |
68 |
+ )" |
69 |
+ |
70 |
+RDEPEND="app-arch/cabextract |
71 |
+ app-arch/p7zip |
72 |
+ app-arch/unzip |
73 |
+ net-misc/wget |
74 |
+ virtual/wine |
75 |
+ x11-misc/xdg-utils |
76 |
+ gtk? ( gnome-extra/zenity ) |
77 |
+ kde? ( kde-apps/kdialog ) |
78 |
+ rar? ( app-arch/unrar )" |
79 |
+ |
80 |
+# Test targets include syntax checks only, not the "heavy duty" tests |
81 |
+# that would require a lot of disk space, as well as network access. |
82 |
+ |
83 |
+# This uses a non-standard "Wine" category, which is provided by |
84 |
+# '/etc/xdg/menus/applications-merged/wine.menu' from the |
85 |
+# 'app-emulation/wine-desktop-common' package. |
86 |
+# https://bugs.gentoo.org/451552 |
87 |
+QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop" |
88 |
+ |
89 |
+src_unpack() { |
90 |
+ if [[ ${PV} == "99999999" ]] ; then |
91 |
+ git-r3_src_unpack |
92 |
+ if use gtk || use kde; then |
93 |
+ unpack ${wtg}.tar.bz2 |
94 |
+ fi |
95 |
+ else |
96 |
+ default |
97 |
+ fi |
98 |
+} |
99 |
+ |
100 |
+src_test() { |
101 |
+ ./tests/shell-checks || die "Test(s) failed." |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ default |
106 |
+ if use gtk || use kde; then |
107 |
+ cd "${WORKDIR}/${wtg}" || die |
108 |
+ domenu winetricks.desktop |
109 |
+ insinto /usr/share/icons/hicolor/scalable/apps |
110 |
+ doins wine-winetricks.svg |
111 |
+ fi |
112 |
+} |
113 |
+ |
114 |
+pkg_preinst() { |
115 |
+ if use gtk || use kde; then |
116 |
+ gnome2_icon_savelist |
117 |
+ fi |
118 |
+} |
119 |
+ |
120 |
+pkg_postinst() { |
121 |
+ if use gtk || use kde; then |
122 |
+ gnome2_icon_cache_update |
123 |
+ fi |
124 |
+} |
125 |
+ |
126 |
+pkg_postrm() { |
127 |
+ if use gtk || use kde; then |
128 |
+ gnome2_icon_cache_update |
129 |
+ fi |
130 |
+} |