summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-05-13 19:00:57 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-05-13 19:00:57 +0200
commit3ef1e343024009ed60a428ab306feb8901dcb55f (patch)
treea262b99ee96cb5fea4cf6f0a306faf90b71ffe84 /app-misc/brewtarget
parentdev-qt/qt-creator: add live ebuild (diff)
downloadgentoo-3ef1e343024009ed60a428ab306feb8901dcb55f.tar.gz
gentoo-3ef1e343024009ed60a428ab306feb8901dcb55f.tar.bz2
gentoo-3ef1e343024009ed60a428ab306feb8901dcb55f.zip
app-misc/brewtarget: version bump, now uses Qt5
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-misc/brewtarget')
-rw-r--r--app-misc/brewtarget/Manifest1
-rw-r--r--app-misc/brewtarget/brewtarget-2.3.1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/brewtarget/Manifest b/app-misc/brewtarget/Manifest
index f3c252842264..b993881d3ae8 100644
--- a/app-misc/brewtarget/Manifest
+++ b/app-misc/brewtarget/Manifest
@@ -1 +1,2 @@
DIST brewtarget_2.1.0.orig.tar.xz 8576552 SHA256 5d34c6ed169d6589c85dd5383850512a0e36ab2b2233f9ed566f3a0fb4adb9be SHA512 980867c7d5d0d9c6a3c7dc659677c384522fa468c4c86b54d2e77e59b577352abdcaa245d04f01ee4d4d433426925f9df472821c81346e13457b6c58a35fe9c5 WHIRLPOOL df22343055dd133efb918afde589bd86bb0596adde2005a3cda70c8c7817392b762d4ae238feb4d026272108e6053743a1becfe953402d2f646f336a17bcf072
+DIST brewtarget_2.3.1.orig.tar.xz 9449200 SHA256 1541856e9f835d896045ea3f0aeaf9ed254c8225e9fe0e540a0b4e5bd467ceb0 SHA512 2ff29496df6df1b4507594905f5b3cdedd472a3e767c5f5dda00d306d092a7bec6f9d67350a830416f0ab457553339ba2f9dd2ea8476ed1dfa7dd4c49adda086 WHIRLPOOL c9e539cd91ebb9d48cecf3a2f21cc5522fcd5b04f99d07a32c98af117949cad467621b09ad26e0ca16c91dce411f70ec5523fd98d98e9f28d6efe44e2c27886d
diff --git a/app-misc/brewtarget/brewtarget-2.3.1.ebuild b/app-misc/brewtarget/brewtarget-2.3.1.ebuild
new file mode 100644
index 000000000000..051c1d7ba2d7
--- /dev/null
+++ b/app-misc/brewtarget/brewtarget-2.3.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PLOCALES="ca cs da de el en es et eu fr gl hu it lv nb nl pl pt ru sr sv tr zh"
+
+inherit cmake-utils l10n
+
+DESCRIPTION="Application to create and manage beer recipes"
+HOMEPAGE="http://www.brewtarget.org/"
+SRC_URI="https://github.com/Brewtarget/${PN}/releases/download/v${PV}/${PN}_${PV}.orig.tar.xz"
+
+LICENSE="GPL-3 WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+remove_locale() {
+ sed -i -e "/bt_${1}\.ts/d" CMakeLists.txt || die
+}
+
+src_prepare() {
+ l10n_find_plocales_changes "${S}/translations" bt_ .ts
+ l10n_for_each_disabled_locale_do remove_locale
+
+ # Tests are bogus, don't build them
+ sed -i -e '/Qt5Test/d' CMakeLists.txt || die
+ sed -i -e '/=Tests=/,/=Installs=/d' src/CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDO_RELEASE_BUILD=ON
+ -DNO_MESSING_WITH_FLAGS=ON
+ )
+ cmake-utils_src_configure
+}