summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-07-30 05:41:12 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-07-30 05:41:12 +0000
commitb1cad76f99cafb3208eccbed099a6051452811fe (patch)
tree792f667119d1b691a25a8c11793bfb94e4888da4
parentastro/xearth: add myself to freebsd.committers.markers again (diff)
New port: audio/bliss: Multithreaded C library used to compute distance between songs
Notes
Notes: svn path=/head/; revision=543710
-rw-r--r--audio/Makefile1
-rw-r--r--audio/bliss/Makefile26
-rw-r--r--audio/bliss/distinfo3
-rw-r--r--audio/bliss/files/patch-CMakeLists.txt13
-rw-r--r--audio/bliss/pkg-descr8
5 files changed, 51 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index f9b6b156ee4c..85f9f74d7364 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -58,6 +58,7 @@
SUBDIR += beets
SUBDIR += bharvestr-lv2
SUBDIR += bjumblr-lv2
+ SUBDIR += bliss
SUBDIR += blop
SUBDIR += blop-lv2
SUBDIR += bristol
diff --git a/audio/bliss/Makefile b/audio/bliss/Makefile
new file mode 100644
index 000000000000..8c4731cd3a60
--- /dev/null
+++ b/audio/bliss/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= bliss
+DISTVERSION= 1.2.0.20200615
+CATEGORIES= audio
+PKGNAMESUFFIX= -music-analyzer
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Multithreaded C library used to compute distance between songs
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
+ libfftw3.so:math/fftw3
+
+USES= cmake pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= Polochon-street
+GH_TAGNAME= fa6c62588df645b5ccee53207efc6a0d9a303b3a
+USE_LDCONFIG= yes
+
+PLIST_FILES= include/bliss.h \
+ lib/libbliss.so
+
+.include <bsd.port.mk>
diff --git a/audio/bliss/distinfo b/audio/bliss/distinfo
new file mode 100644
index 000000000000..97824c60e93d
--- /dev/null
+++ b/audio/bliss/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1596086046
+SHA256 (Polochon-street-bliss-1.2.0.20200615-fa6c62588df645b5ccee53207efc6a0d9a303b3a_GH0.tar.gz) = 71985ade63fcf9ab1e0f732df6a2b69d25b790119d3eb997000edd510438920b
+SIZE (Polochon-street-bliss-1.2.0.20200615-fa6c62588df645b5ccee53207efc6a0d9a303b3a_GH0.tar.gz) = 3734783
diff --git a/audio/bliss/files/patch-CMakeLists.txt b/audio/bliss/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..7874a6a3dd0a
--- /dev/null
+++ b/audio/bliss/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.orig 2020-07-30 05:15:51 UTC
++++ CMakeLists.txt
+@@ -93,8 +93,8 @@ set_tests_properties(ctest_run_test_decode PROPERTIES
+ ###################
+ # Install targets #
+ ###################
+-install(TARGETS bliss DESTINATION /usr/lib)
+-install(FILES include/bliss.h DESTINATION /usr/include)
++install(TARGETS bliss DESTINATION lib)
++install(FILES include/bliss.h DESTINATION include)
+
+ ##############
+ # Generators #
diff --git a/audio/bliss/pkg-descr b/audio/bliss/pkg-descr
new file mode 100644
index 000000000000..b923bccd9b33
--- /dev/null
+++ b/audio/bliss/pkg-descr
@@ -0,0 +1,8 @@
+Bliss music library is a multithreaded C library used to compute distance
+between songs. It is especially usable through MPD with Blissify. It is can be
+useful for creating "intelligent" playlists and/or continuous play, a la
+Spotify/Grooveshark Radio.
+
+Bliss is really useful when used as a plug-in for audio players.
+
+WWW: https://github.com/Polochon-street/bliss