summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/q4wine')
-rw-r--r--app-emulation/q4wine/Manifest1
-rw-r--r--app-emulation/q4wine/q4wine-1.3.4.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/app-emulation/q4wine/Manifest b/app-emulation/q4wine/Manifest
index 860e573151ed..de16637b883d 100644
--- a/app-emulation/q4wine/Manifest
+++ b/app-emulation/q4wine/Manifest
@@ -1,2 +1,3 @@
DIST q4wine-1.3.1.tar.bz2 2863956 SHA256 ba890c8b049cffa261dc0db54ace4d983adcec21cab972e54afb60d9f4fb5ea9 SHA512 ec21d5f05fe322d9632013952c57731a10779fcd578293a7be7515eb3e83bd30bfb3252f795d25cd9da6d4abed54a5de28a32ebea9b300b8eacb39cdea5fd0ef WHIRLPOOL 78d2f2915bd58e0e45b92b6449f670e27ae1eae88de650330292b92cfa794250c27e890c8e042b0464aec9b11d8b40e2bcbb4012ce3c5bad5f4d97e882887442
DIST q4wine-1.3.3.tar.bz2 2863508 SHA256 7f821dea698f122277062878743759d1f7adec289311ac30d2b40c28f184bb14 SHA512 95c98bd3eed14550e1215b84b5fc8f3b493329390fb942b3029331ea93cbff58eb9ed3100be1cb70aa02505ba5c4a91092f8f18347ed75d2112668925a0f4c28 WHIRLPOOL df7eaae98edf85f487770f165d627820e45f5ce465876405a2adcac234c06770113d821efba01d81d4b0bb39eb9e484786e963c514ed0125e5290751f779cd3f
+DIST q4wine-1.3.4.tar.bz2 3013860 SHA256 9862c9353964ed51802342896f6fd0ca3c1d759cc1b7161c8447d447e9b6b4bd SHA512 e5fa50ebf0c098a02d3ee9dfdd5b8ef16eef57f47bef9f43a9849ce7df2f8d66da3404e688b738ff8ccd01be63217d6352aaba803de2383b7e1b0ea1c3c6d565 WHIRLPOOL 5fa4b83da73dcee27e278b849573b1ea16d96cd5b8cb77c247ba70548fe0d78cae72d6adf55fb87c38b31c7d54e574fb6f9c5d00ff82bf759c33134bb4597938
diff --git a/app-emulation/q4wine/q4wine-1.3.4.ebuild b/app-emulation/q4wine/q4wine-1.3.4.ebuild
new file mode 100644
index 000000000000..b2d05836ba4a
--- /dev/null
+++ b/app-emulation/q4wine/q4wine-1.3.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils fdo-mime gnome2-utils
+
+# Upstream names the package PV-rX. We change that to
+# PV_pX so we can use portage revisions.
+MY_P=${PN}-${PV/_p/-r}
+
+DESCRIPTION="Qt GUI configuration tool for Wine"
+HOMEPAGE="http://q4wine.brezblock.org.ua/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dbus debug +ico +iso +wineappdb"
+
+CDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsingleapplication[qt5,X]
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dbus? ( dev-qt/qtdbus:5 )
+"
+DEPEND="${CDEPEND}
+ dev-qt/linguist-tools:5
+"
+RDEPEND="${CDEPEND}
+ app-admin/sudo
+ >=sys-apps/which-2.19
+ ico? ( >=media-gfx/icoutils-0.26.0 )
+ iso? ( sys-fs/fuseiso )
+"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( AUTHORS ChangeLog README )
+
+src_configure() {
+ local mycmakeargs=(
+ -DQT5=ON
+ -DDEBUG=$(usex debug ON OFF)
+ -DWITH_ICOUTILS=$(usex ico ON OFF)
+ -DWITH_SYSTEM_SINGLEAPP=ON
+ -DWITH_WINEAPPDB=$(usex wineappdb ON OFF)
+ -DUSE_BZIP2=OFF
+ -DUSE_GZIP=OFF
+ -DWITH_DBUS=$(usex dbus ON OFF)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}