summaryrefslogtreecommitdiff
path: root/app-misc/brewtarget
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/brewtarget
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/brewtarget')
-rw-r--r--app-misc/brewtarget/Manifest3
-rw-r--r--app-misc/brewtarget/brewtarget-2.3.1.ebuild56
-rw-r--r--app-misc/brewtarget/metadata.xml11
3 files changed, 70 insertions, 0 deletions
diff --git a/app-misc/brewtarget/Manifest b/app-misc/brewtarget/Manifest
new file mode 100644
index 000000000000..ebce77bd9185
--- /dev/null
+++ b/app-misc/brewtarget/Manifest
@@ -0,0 +1,3 @@
+DIST brewtarget_2.3.1.orig.tar.xz 9449200 BLAKE2B 00eda709c6665b2353380d013d55a59068d79f70368e843296f43d2f947c741ed526d4f6820f18c4d5e96866274bce76b2235cc50595882f58f397f651858bf3 SHA512 2ff29496df6df1b4507594905f5b3cdedd472a3e767c5f5dda00d306d092a7bec6f9d67350a830416f0ab457553339ba2f9dd2ea8476ed1dfa7dd4c49adda086
+EBUILD brewtarget-2.3.1.ebuild 1246 BLAKE2B 401e5003db8a39362ea5206563236c45addadfa5922571dd3d0a74bc7e8ca8b62a48ad74d6b63ae7a8a4f56235e100132c36014ad5f86c7f431fbe1f680852dc SHA512 b6409e126ed6e94d0511f08749c56e5a4e774ddacdc6ccf64ca5ce68c27502a5a8b6eb37118301bec44396664b2754d2e76c072879623d2f675d2cc12e0bcc30
+MISC metadata.xml 333 BLAKE2B 610f70294511d47c0df2cbd259fbe558b6f90350f619984e732bc1d3b3977c22fff55ab110da945164baa76ccc4c39bcbf347e29fea175ce3f390c41f4fbc86e SHA512 e51f8f143455d51148898350c95b321226c7bd931a585234bce000cf1b2f2762b465f2af764288cc4ddde13abf825f8571e4a6ed7f9e73fbb315030d51cb45aa
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..320d5b9daa7c
--- /dev/null
+++ b/app-misc/brewtarget/brewtarget-2.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/app-misc/brewtarget/metadata.xml b/app-misc/brewtarget/metadata.xml
new file mode 100644
index 000000000000..398588962207
--- /dev/null
+++ b/app-misc/brewtarget/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pesa@gentoo.org</email>
+ <name>Davide Pesavento</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Brewtarget/brewtarget</remote-id>
+ </upstream>
+</pkgmetadata>