1 |
hwoarang 13/03/03 15:33:48 |
2 |
|
3 |
Added: q4wine-1.0-r2.ebuild |
4 |
Log: |
5 |
Version bump. Thanks to Alexey Malakhov <brezerk@×××××.com> |
6 |
|
7 |
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-emulation/q4wine/q4wine-1.0-r2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/q4wine/q4wine-1.0-r2.ebuild?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/q4wine/q4wine-1.0-r2.ebuild?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: q4wine-1.0-r2.ebuild |
16 |
=================================================================== |
17 |
# Copyright 1999-2013 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.0-r2.ebuild,v 1.1 2013/03/03 15:33:48 hwoarang Exp $ |
20 |
|
21 |
EAPI="4" |
22 |
LANGS="cs de en es fa he it ru uk pl pt" |
23 |
|
24 |
inherit cmake-utils |
25 |
|
26 |
DESCRIPTION="Qt4 GUI configuration tool for Wine" |
27 |
HOMEPAGE="http://q4wine.brezblock.org.ua/" |
28 |
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${PF}.tar.bz2" |
29 |
|
30 |
LICENSE="GPL-3" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
IUSE="debug +icoutils +wineappdb -dbus gnome kde" |
34 |
|
35 |
for x in ${LANGS}; do |
36 |
IUSE+=" linguas_${x}" |
37 |
done |
38 |
|
39 |
DEPEND="dev-qt/qtgui:4 |
40 |
dev-qt/qtsql:4[sqlite] |
41 |
dev-util/cmake" |
42 |
|
43 |
RDEPEND="dev-qt/qtgui:4 |
44 |
dev-qt/qtsql:4[sqlite] |
45 |
app-admin/sudo |
46 |
app-emulation/wine |
47 |
>=sys-apps/which-2.19 |
48 |
icoutils? ( >=media-gfx/icoutils-0.26.0 ) |
49 |
sys-fs/fuseiso |
50 |
kde? ( kde-base/kdesu ) |
51 |
gnome? ( x11-libs/gksu ) |
52 |
dbus? ( dev-qt/qtdbus:4 )" |
53 |
|
54 |
DOCS="README AUTHORS ChangeLog" |
55 |
|
56 |
S="${WORKDIR}/${PF}" |
57 |
|
58 |
src_configure() { |
59 |
mycmakeargs="${mycmakeargs} \ |
60 |
$(cmake-utils_use debug DEBUG) \ |
61 |
$(cmake-utils_use_with icoutils ICOUTILS) \ |
62 |
$(cmake-utils_use_with wineappdb WINEAPPDB) \ |
63 |
$(cmake-utils_use_with dbus DBUS)" |
64 |
|
65 |
cmake-utils_src_configure |
66 |
} |
67 |
|
68 |
src_install() { |
69 |
cmake-utils_src_install |
70 |
for x in ${LANGS}; do |
71 |
if ! has ${x} ${LINGUAS}; then |
72 |
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \; |
73 |
fi |
74 |
done |
75 |
} |