/[gentoo-x86]/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild
Gentoo

Contents of /app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun May 10 12:41:55 2015 UTC (3 years, 7 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Add missing usedep for qtsingleapplication.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild,v 1.3 2014/06/23 10:02:57 pinkbyte Exp $
4
5 EAPI=5
6
7 PLOCALES="af_ZA cs_CZ de_DE en_US es_ES fa_IR he_IL it_IT pl_PL pt_BR ru_RU uk_UA"
8 PLOCALE_BACKUP="en_US"
9
10 inherit cmake-utils l10n
11
12 DESCRIPTION="Qt4 GUI configuration tool for Wine"
13 HOMEPAGE="http://q4wine.brezblock.org.ua/"
14
15 # Upstream names the package PV-rX. We change that to
16 # PV_pX so we can use portage revisions.
17 MY_PV="${PV/_p/-r}"
18 MY_P="${PN}-${MY_PV}"
19 SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
20
21 LICENSE="GPL-3"
22 SLOT="0"
23 KEYWORDS="~amd64 ~x86"
24 IUSE="+dbus debug +icoutils +wineappdb"
25
26 DEPEND="
27 dev-qt/qtcore:4
28 dev-qt/qtgui:4
29 dev-qt/qtsingleapplication[qt4(+),X]
30 dev-qt/qtsql:4[sqlite]
31 dbus? ( dev-qt/qtdbus:4 )
32 "
33 RDEPEND="${DEPEND}
34 app-admin/sudo
35 app-emulation/wine
36 >=sys-apps/which-2.19
37 sys-fs/fuseiso
38 icoutils? ( >=media-gfx/icoutils-0.26.0 )
39 "
40
41 S="${WORKDIR}/${MY_P}"
42
43 DOCS=( AUTHORS ChangeLog README )
44
45 src_configure() {
46 local enabled_linguas
47 construct_LINGUAS() {
48 local current_locale="$(echo ${1} | tr '[:upper:]' '[:lower:]')"
49 enabled_linguas="${enabled_linguas};${current_locale}"
50 }
51 l10n_for_each_locale_do construct_LINGUAS
52 local mycmakeargs=(
53 -DLINGUAS="${enabled_linguas}"
54 -DQT5=OFF
55 -DWITH_SYSTEM_SINGLEAPP=ON
56 $(cmake-utils_use debug)
57 $(cmake-utils_use_with dbus)
58 $(cmake-utils_use_with icoutils)
59 $(cmake-utils_use_with wineappdb)
60 )
61 cmake-utils_src_configure
62 }

  ViewVC Help
Powered by ViewVC 1.1.20