summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-12-01 12:26:07 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-12-01 12:26:07 +0000
commitcdd1a6c349c542eebb33ca6bb402d6efef3771b6 (patch)
tree9aa101b8dc74b3c6fbde33dfd7d42ef589a7ef34 /app-emulation/q4wine
parentStable for x86, wrt bug #489796 (diff)
downloadgentoo-2-cdd1a6c349c542eebb33ca6bb402d6efef3771b6.tar.gz
gentoo-2-cdd1a6c349c542eebb33ca6bb402d6efef3771b6.tar.bz2
gentoo-2-cdd1a6c349c542eebb33ca6bb402d6efef3771b6.zip
Version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'app-emulation/q4wine')
-rw-r--r--app-emulation/q4wine/ChangeLog7
-rw-r--r--app-emulation/q4wine/q4wine-1.1_p1.ebuild66
2 files changed, 72 insertions, 1 deletions
diff --git a/app-emulation/q4wine/ChangeLog b/app-emulation/q4wine/ChangeLog
index 922d04cc2ea8..646ef5f865e6 100644
--- a/app-emulation/q4wine/ChangeLog
+++ b/app-emulation/q4wine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/q4wine
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/ChangeLog,v 1.45 2013/11/16 11:29:23 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/ChangeLog,v 1.46 2013/12/01 12:26:07 hwoarang Exp $
+
+*q4wine-1.1_p1 (01 Dec 2013)
+
+ 01 Dec 2013; Markos Chandras <hwoarang@gentoo.org> +q4wine-1.1_p1.ebuild:
+ Version bump
*q4wine-1.1 (15 Nov 2013)
diff --git a/app-emulation/q4wine/q4wine-1.1_p1.ebuild b/app-emulation/q4wine/q4wine-1.1_p1.ebuild
new file mode 100644
index 000000000000..150fcb5fa286
--- /dev/null
+++ b/app-emulation/q4wine/q4wine-1.1_p1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1_p1.ebuild,v 1.1 2013/12/01 12:26:07 hwoarang Exp $
+
+EAPI="4"
+LANGS="cs de en es fa he it ru uk pl pt af"
+
+inherit cmake-utils
+
+# Upstream names the package PV-rX. We need to fix that to
+# PV_pX so we can use portage revisions.
+MY_PV="${PV/_p/-r}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="Qt4 GUI configuration tool for Wine"
+HOMEPAGE="http://q4wine.brezblock.org.ua/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +icoutils +wineappdb -dbus gnome kde"
+
+for x in ${LANGS}; do
+ IUSE+=" linguas_${x}"
+done
+
+CDEPEND="dev-qt/qtgui:4
+ dev-qt/qtsingleapplication
+ dev-qt/qtsql:4[sqlite]"
+
+DEPEND="${CDEPEND}
+ dev-util/cmake"
+
+RDEPEND="${CDEPEND}
+ app-admin/sudo
+ app-emulation/wine
+ >=sys-apps/which-2.19
+ icoutils? ( >=media-gfx/icoutils-0.26.0 )
+ sys-fs/fuseiso
+ kde? ( kde-base/kdesu )
+ gnome? ( x11-libs/gksu )
+ dbus? ( dev-qt/qtdbus:4 )"
+
+DOCS="README AUTHORS ChangeLog"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ mycmakeargs="${mycmakeargs} \
+ -DWITH_SYSTEM_SINGLEAPP=ON \
+ $(cmake-utils_use debug DEBUG) \
+ $(cmake-utils_use_with icoutils ICOUTILS) \
+ $(cmake-utils_use_with wineappdb WINEAPPDB) \
+ $(cmake-utils_use_with dbus DBUS)"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ for x in ${LANGS}; do
+ if ! has ${x} ${LINGUAS}; then
+ find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
+ fi
+ done
+}