Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/winetricks: ChangeLog winetricks-947.ebuild winetricks-939.ebuild
Date: Sun, 31 Mar 2013 21:54:33
Message-Id: 20130331215429.091E62171D@flycatcher.gentoo.org
1 tetromino 13/03/31 21:54:28
2
3 Modified: ChangeLog
4 Added: winetricks-947.ebuild
5 Removed: winetricks-939.ebuild
6 Log:
7 Bump with Flash updates and .NET fixes. Drop old.
8
9 (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
10
11 Revision Changes Path
12 1.18 app-emulation/winetricks/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/winetricks/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/winetricks/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/winetricks/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/winetricks/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 18 Feb 2013 20:58:37 -0000 1.17
25 +++ ChangeLog 31 Mar 2013 21:54:28 -0000 1.18
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-emulation/winetricks
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/ChangeLog,v 1.17 2013/02/18 20:58:37 tetromino Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/ChangeLog,v 1.18 2013/03/31 21:54:28 tetromino Exp $
31 +
32 +*winetricks-947 (31 Mar 2013)
33 +
34 + 31 Mar 2013; Alexandre Rostovtsev <tetromino@g.o>
35 + -winetricks-939.ebuild, +winetricks-947.ebuild:
36 + Bump with Flash updates and .NET fixes. Drop old.
37
38 *winetricks-941 (18 Feb 2013)
39
40
41
42
43 1.1 app-emulation/winetricks/winetricks-947.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/winetricks/winetricks-947.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/winetricks/winetricks-947.ebuild?rev=1.1&content-type=text/plain
47
48 Index: winetricks-947.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-947.ebuild,v 1.1 2013/03/31 21:54:28 tetromino Exp $
53
54 EAPI=4
55
56 inherit gnome2-utils eutils
57
58 if [[ ${PV} == "99999999" ]] ; then
59 ESVN_REPO_URI="http://winetricks.googlecode.com/svn/trunk"
60 inherit subversion
61 else
62 SRC_URI="http://winetricks.googlecode.com/svn-history/r${PV}/trunk/src/winetricks -> ${P}
63 http://winetricks.googlecode.com/svn-history/r${PV}/trunk/src/winetricks.1 -> ${P}.1"
64 KEYWORDS="~amd64 ~x86"
65 fi
66 wtg=winetricks-gentoo-2012.11.24
67 SRC_URI="${SRC_URI}
68 gtk? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
69 kde? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
70
71 DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
72 HOMEPAGE="http://code.google.com/p/winetricks/ http://wiki.winehq.org/winetricks"
73
74 LICENSE="LGPL-2.1+"
75 SLOT="0"
76 IUSE="gtk kde"
77
78 DEPEND=""
79 RDEPEND="app-arch/cabextract
80 app-arch/unzip
81 app-emulation/wine
82 gtk? ( gnome-extra/zenity )
83 kde? ( kde-base/kdialog )"
84
85 # Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552
86 QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
87
88 S="${WORKDIR}"
89
90 src_unpack() {
91 if [[ ${PV} == "99999999" ]] ; then
92 subversion_src_unpack
93 else
94 mkdir src
95 cp "${DISTDIR}"/${P} src/${PN} || die
96 cp "${DISTDIR}"/${P}.1 src/${PN}.1 || die
97 fi
98 if use gtk || use kde; then
99 unpack ${wtg}.tar.bz2
100 fi
101 }
102
103 src_install() {
104 cd src
105 dobin ${PN}
106 doman ${PN}.1
107 if use gtk || use kde; then
108 cd ../${wtg} || die
109 domenu winetricks.desktop
110 insinto /usr/share/icons/hicolor/scalable/apps
111 doins wine-winetricks.svg
112 fi
113 }
114
115 pkg_preinst() {
116 if use gtk || use kde; then
117 gnome2_icon_savelist
118 fi
119 }
120
121 pkg_postinst() {
122 if use gtk || use kde; then
123 gnome2_icon_cache_update
124 fi
125 }
126
127 pkg_postrm() {
128 if use gtk || use kde; then
129 gnome2_icon_cache_update
130 fi
131 }