aboutsummaryrefslogtreecommitdiff
path: root/audio/moodbar
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-10-26 16:03:12 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-10-26 16:03:12 +0000
commitbe620fdff79fa627090276023c2921e948538923 (patch)
tree6690bb6a547a101cde0eb1e525ff3a06023eb0a4 /audio/moodbar
parent3ac6fd5d6647ddf712b07322e89bcc33e82fcd94 (diff)
downloadports-be620fdff79fa627090276023c2921e948538923.tar.gz
ports-be620fdff79fa627090276023c2921e948538923.zip
audio/moodbar: Update to 1.1
- Use release file instead of git archive - Add regression tests - Add USES=gnome to silence sanity check
Notes
Notes: svn path=/head/; revision=483040
Diffstat (limited to 'audio/moodbar')
-rw-r--r--audio/moodbar/Makefile13
-rw-r--r--audio/moodbar/distinfo6
2 files changed, 9 insertions, 10 deletions
diff --git a/audio/moodbar/Makefile b/audio/moodbar/Makefile
index a6ddc48e007b..1bf301182618 100644
--- a/audio/moodbar/Makefile
+++ b/audio/moodbar/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
PORTNAME= moodbar
-PORTVERSION= 1.0
-DISTVERSIONPREFIX= v
+PORTVERSION= 1.1
CATEGORIES= audio
+MASTER_SITES= https://github.com/exaile/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Generates mood files from audio files
@@ -12,15 +12,14 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfftw3.so:math/fftw3
+TEST_DEPENDS= ${PYNUMPY}
-USES= compiler:c++14-lang meson pkgconfig
-
-USE_GITHUB= yes
-GH_ACCOUNT= exaile
-
+USES= compiler:c++14-lang gnome meson pkgconfig python:3.5+,test \
+ shebangfix tar:xz
USE_GNOME= glib20
USE_GSTREAMER1= yes good ogg vorbis
PLIST_FILES= bin/moodbar
+SHEBANG_FILES= test.py
.include <bsd.port.mk>
diff --git a/audio/moodbar/distinfo b/audio/moodbar/distinfo
index 124725a71b86..c193ef0bf473 100644
--- a/audio/moodbar/distinfo
+++ b/audio/moodbar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518781923
-SHA256 (exaile-moodbar-v1.0_GH0.tar.gz) = ca8eeb0ba41eb067dc5b8a1e3c257228839d489c059f17f6f617ba4055d11e4a
-SIZE (exaile-moodbar-v1.0_GH0.tar.gz) = 23778
+TIMESTAMP = 1540564542
+SHA256 (moodbar-1.1.tar.xz) = b329731259b6db20b969dccb616fd260fa56673571b02144d29cacb42546ea8c
+SIZE (moodbar-1.1.tar.xz) = 26012