svn commit: r442785 - in head/games: . auralquiz auralquiz/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 6 17:15:38 UTC 2017
Author: amdmi3
Date: Tue Jun 6 17:15:36 2017
New Revision: 442785
URL: https://svnweb.freebsd.org/changeset/ports/442785
Log:
- Add games/auralquiz
Auralquiz is a simple music quiz game for GNU/Linux, using your own
music files.
The game plays short pieces of music files from your folders (in
Ogg Vorbis, FLAC, Opus or MP3 formats), and presents a question and
several answers about the current song. The fastest the answer, the
more points you receive.
Up to 8 people can play in a turn-based mode.
In the highest difficulty level there are no answer buttons, and
instead, you have to type the answer yourself.
WWW: https://jancoding.wordpress.com/auralquiz/
Added:
head/games/auralquiz/
head/games/auralquiz/Makefile (contents, props changed)
head/games/auralquiz/distinfo (contents, props changed)
head/games/auralquiz/files/
head/games/auralquiz/files/patch-Auralquiz.pro (contents, props changed)
head/games/auralquiz/pkg-descr (contents, props changed)
head/games/auralquiz/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Tue Jun 6 16:38:00 2017 (r442784)
+++ head/games/Makefile Tue Jun 6 17:15:36 2017 (r442785)
@@ -64,6 +64,7 @@
SUBDIR += atr3d
SUBDIR += atris
SUBDIR += atris-sounds
+ SUBDIR += auralquiz
SUBDIR += avanor
SUBDIR += avoision
SUBDIR += awale
Added: head/games/auralquiz/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/auralquiz/Makefile Tue Jun 6 17:15:36 2017 (r442785)
@@ -0,0 +1,37 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= auralquiz
+PORTVERSION= 1.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= games
+MASTER_SITES= SAVANNAH
+
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= Simple music quiz game using your own music files
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libtag.so:audio/taglib
+
+USES= qmake
+USE_GL= gl
+USE_QT5= core gui widgets phonon4 qmake_build buildtools_build
+
+PORTDOCS= CHANGELOG README TODO
+
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; \
+ s|%%MAN6PREFIX%%|${MAN6PREFIX}|' \
+ ${WRKSRC}/Auralquiz.pro
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+.include <bsd.port.mk>
Added: head/games/auralquiz/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/auralquiz/distinfo Tue Jun 6 17:15:36 2017 (r442785)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496674606
+SHA256 (auralquiz-v1.0.0.tar.gz) = fc1090de1db53eb39250d65788baab5a130509770e4267269fcbd2be91b68778
+SIZE (auralquiz-v1.0.0.tar.gz) = 913550
Added: head/games/auralquiz/files/patch-Auralquiz.pro
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/auralquiz/files/patch-Auralquiz.pro Tue Jun 6 17:15:36 2017 (r442785)
@@ -0,0 +1,27 @@
+--- Auralquiz.pro.orig 2017-05-11 10:46:54 UTC
++++ Auralquiz.pro
+@@ -89,19 +89,19 @@ TRANSLATIONS += translations/auralquiz_e
+ LIBS += -ltag # to use TagLib
+
+ ## This is here so the makefile has a 'make install' target
+-target.path = /usr/games/
++target.path = %%PREFIX%%/bin/
+
+ desktop_file.files = auralquiz.desktop
+-desktop_file.path = /usr/share/applications/
++desktop_file.path = %%PREFIX%%/share/applications/
+
+ man_file.files = manual/auralquiz.6
+-man_file.path = /usr/share/man/man6/
++man_file.path = %%MAN6PREFIX%%/man/man6/
+
+ #icon32_png.files = icon/32x32/auralquiz.png
+-#icon32_png.path = /usr/share/icons/hicolor/32x32/apps/
++#icon32_png.path = %%PREFIX%%/share/icons/hicolor/32x32/apps/
+
+ icon64_png.files = icon/64x64/auralquiz.png
+-icon64_png.path = /usr/share/icons/hicolor/64x64/apps/
++icon64_png.path = %%PREFIX%%/share/icons/hicolor/64x64/apps/
+
+ INSTALLS += target \
+ desktop_file \
Added: head/games/auralquiz/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/auralquiz/pkg-descr Tue Jun 6 17:15:36 2017 (r442785)
@@ -0,0 +1,14 @@
+Auralquiz is a simple music quiz game for GNU/Linux, using your own
+music files.
+
+The game plays short pieces of music files from your folders (in
+Ogg Vorbis, FLAC, Opus or MP3 formats), and presents a question and
+several answers about the current song. The fastest the answer, the
+more points you receive.
+
+Up to 8 people can play in a turn-based mode.
+
+In the highest difficulty level there are no answer buttons, and
+instead, you have to type the answer yourself.
+
+WWW: https://jancoding.wordpress.com/auralquiz/
Added: head/games/auralquiz/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/auralquiz/pkg-plist Tue Jun 6 17:15:36 2017 (r442785)
@@ -0,0 +1,4 @@
+bin/auralquiz
+man/man6/auralquiz.6.gz
+share/icons/hicolor/64x64/apps/auralquiz.png
+share/applications/auralquiz.desktop
More information about the svn-ports-all
mailing list