summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emulation/q4wine
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emulation/q4wine')
-rw-r--r--app-emulation/q4wine/Manifest2
-rw-r--r--app-emulation/q4wine/files/q4wine-qtsingleapp.patch15
-rw-r--r--app-emulation/q4wine/metadata.xml18
-rw-r--r--app-emulation/q4wine/q4wine-1.0-r3.ebuild59
-rw-r--r--app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild62
5 files changed, 156 insertions, 0 deletions
diff --git a/app-emulation/q4wine/Manifest b/app-emulation/q4wine/Manifest
new file mode 100644
index 000000000000..f203be4b98c5
--- /dev/null
+++ b/app-emulation/q4wine/Manifest
@@ -0,0 +1,2 @@
+DIST q4wine-1.0-r3.tar.bz2 889308 SHA256 9f1319dd0baff3834a3938e0a048c1529cb9ea521158370176b706fce0d4d2ff SHA512 df10a2fbf6874f4c4e02dd9c43031453a46c76f03d83321f2d6e9544d0540dd07da1bc9246767c5c91ce17d67d5d236227294efaed9de09f3d5a18afbd60b224 WHIRLPOOL 51b5b4cfc157da6b99154269ef4ef9f38ff91f861864158b789352505af485d8b523a21c6d4b59544804ed3c15cb1c6c756db3f3203c8e3ba55c8396c3630df3
+DIST q4wine-1.1-r2.tar.bz2 888990 SHA256 01463f9ec3ef9f7ef987d2b77425f2806cf2b60f574deb6644458366782eafc7 SHA512 8aaeec46d239a86a9eb10377842d63d84a35864f920f9dc46a022ae1cf3e010273d3759701595e058a089f6418a297a0bf94ed62b580a71fa1c8c27a80f4ec7e WHIRLPOOL 6ae891e33a2bf3759c45930820e21a273b2bf36f2c386a841a96c3bf14cfdb6741871d3c90383dde3b6b01df1a87f5b1537ae40bac5a494bdd3023248c526244
diff --git a/app-emulation/q4wine/files/q4wine-qtsingleapp.patch b/app-emulation/q4wine/files/q4wine-qtsingleapp.patch
new file mode 100644
index 000000000000..803284dbdb17
--- /dev/null
+++ b/app-emulation/q4wine/files/q4wine-qtsingleapp.patch
@@ -0,0 +1,15 @@
+https://github.com/brezerk/q4wine/issues/39
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index adb8db6..7c0d0d2 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -275,7 +275,7 @@ SET ( Q4WINE_HEADERS_DIR
+
+ IF (${WITH_SYSTEM_SINGLEAPP} MATCHES ON )
+ MESSAGE(STATUS "Searching for QtSingleApplication package (WITH_SYSTEM_SINGLEAPP=ON) --\n")
+- find_path(QTSINGLEAPPLIB_INCLUDE_DIR QtSingleApplication PATH_SUFFIXES QtSolutions)
++ find_path(QTSINGLEAPPLIB_INCLUDE_DIR QtSingleApplication PATH_SUFFIXES QtSolutions PATHS /usr/include/qt4)
+ find_library(QTSINGLEAPPLIB QtSolutions_SingleApplication-2.6)
+
+ IF (QTSINGLEAPPLIB_INCLUDE_DIR AND QTSINGLEAPPLIB )
diff --git a/app-emulation/q4wine/metadata.xml b/app-emulation/q4wine/metadata.xml
new file mode 100644
index 000000000000..4ad3c6023f85
--- /dev/null
+++ b/app-emulation/q4wine/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <use>
+ <flag name="gnome">Use the gksu sudo GUI for managing the devices</flag>
+ <flag name="icoutils">Enable icoutils support</flag>
+ <flag name="kde">Use the kdesu sudo GUI for managing the devices</flag>
+ <flag name="wineappdb">Enable Win AppDB browser subsystem</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">q4wine</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emulation/q4wine/q4wine-1.0-r3.ebuild b/app-emulation/q4wine/q4wine-1.0-r3.ebuild
new file mode 100644
index 000000000000..474649f6698c
--- /dev/null
+++ b/app-emulation/q4wine/q4wine-1.0-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+LANGS="cs de en es fa he it ru uk pl pt af"
+
+inherit cmake-utils
+
+DESCRIPTION="Qt4 GUI configuration tool for Wine"
+HOMEPAGE="http://q4wine.brezblock.org.ua/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${PF}.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
+
+DEPEND="dev-qt/qtgui:4
+ dev-qt/qtsql:4[sqlite]
+ dev-util/cmake"
+
+RDEPEND="dev-qt/qtgui:4
+ dev-qt/qtsql:4[sqlite]
+ app-admin/sudo
+ app-emulation/wine
+ >=sys-apps/which-2.19
+ icoutils? ( >=media-gfx/icoutils-0.26.0 )
+ sys-fs/fuseiso
+ kde? ( kde-apps/kdesu:4 )
+ gnome? ( x11-libs/gksu )
+ dbus? ( dev-qt/qtdbus:4 )"
+
+DOCS="README AUTHORS ChangeLog"
+
+S="${WORKDIR}/${PF}"
+
+src_configure() {
+ mycmakeargs="${mycmakeargs} \
+ $(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
+}
diff --git a/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild b/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild
new file mode 100644
index 000000000000..d63a1068d6ff
--- /dev/null
+++ b/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+PLOCALE_BACKUP="en_US"
+
+inherit cmake-utils l10n
+
+DESCRIPTION="Qt4 GUI configuration tool for Wine"
+HOMEPAGE="http://q4wine.brezblock.org.ua/"
+
+# Upstream names the package PV-rX. We change that to
+# PV_pX so we can use portage revisions.
+MY_PV="${PV/_p/-r}"
+MY_P="${PN}-${MY_PV}"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dbus debug +icoutils +wineappdb"
+
+DEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsingleapplication[qt4(+),X]
+ dev-qt/qtsql:4[sqlite]
+ dbus? ( dev-qt/qtdbus:4 )
+"
+RDEPEND="${DEPEND}
+ app-admin/sudo
+ app-emulation/wine
+ >=sys-apps/which-2.19
+ sys-fs/fuseiso
+ icoutils? ( >=media-gfx/icoutils-0.26.0 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( AUTHORS ChangeLog README )
+
+src_configure() {
+ local enabled_linguas
+ construct_LINGUAS() {
+ local current_locale="$(echo ${1} | tr '[:upper:]' '[:lower:]')"
+ enabled_linguas="${enabled_linguas};${current_locale}"
+ }
+ l10n_for_each_locale_do construct_LINGUAS
+ local mycmakeargs=(
+ -DLINGUAS="${enabled_linguas}"
+ -DQT5=OFF
+ -DWITH_SYSTEM_SINGLEAPP=ON
+ $(cmake-utils_use debug)
+ $(cmake-utils_use_with dbus)
+ $(cmake-utils_use_with icoutils)
+ $(cmake-utils_use_with wineappdb)
+ )
+ cmake-utils_src_configure
+}