From 78586d3535b03c6204ed8078f0eb3af6efb61b2f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 26 Feb 2016 00:19:09 +0100 Subject: [PATCH] games-board/netmaumau: initial import of version 0.23 --- .../netmaumau/netmaumau-0.23.exheres-0 | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 packages/games-board/netmaumau/netmaumau-0.23.exheres-0 diff --git a/packages/games-board/netmaumau/netmaumau-0.23.exheres-0 b/packages/games-board/netmaumau/netmaumau-0.23.exheres-0 new file mode 100644 index 00000000..b4a97404 --- /dev/null +++ b/packages/games-board/netmaumau/netmaumau-0.23.exheres-0 @@ -0,0 +1,46 @@ +# Copyright 2015-2016 Julian Ospald , Heiko Schaefer +# Distributed under the terms of the GNU General Public License v2 + +require qmake [ slot=4 ] + +MY_P=nmm-qt-client${PV} + +SUMMARY="Client for games-server/netmaumau, the popular card game Mau Mau" +HOMEPAGE="http://sourceforge.net/projects/netmaumau" +DOWNLOADS="https://github.com/velnias75/NetMauMau-Qt-Client/archive/V${PV}.tar.gz -> ${PNV}-client.tar.gz" + +LICENCES="LGPL-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="espeak [[ description = [ enable speech support ] ]]" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + app-text/discount + dev-libs/qjson + games-server/netmaumau + x11-libs/qt:4 + espeak? ( app-accessibility/espeak ) +" + +WORK=${WORKBASE}/NetMauMau-Qt-Client-${PV} + +src_configure() { + if option espeak; then USE_ESPEAK='CONFIG+=espeak'; fi + EQMAKE_SOURCES="nmm-qt-client.pro" eqmake $USE_ESPEAK + lrelease -compress -nounfinished -removeidentical -silent src/src.pro +} + +src_install() { + dobin src/nmm-qt-client + dodoc src/THANKS + insinto /usr/share/icons/hicolor/256x256/apps + doins src/nmm_qt_client.png + insinto /usr/share/applications + doins src/nmm_qt_client.desktop + insinto /usr/share/nmm-qt-client + doins src/*.qm +} +