diff options
author | wiz <wiz@pkgsrc.org> | 2014-04-30 23:42:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-04-30 23:42:52 +0000 |
commit | 62e1efff977d1daf3f4d5447ad8078563cd54618 (patch) | |
tree | aee0b4a30172cb51294f2625ba96f998469eb6f4 /audio | |
parent | c23ec4f540cf1e4deaaa522a1d567eb25f8b4e9c (diff) | |
download | pkgsrc-62e1efff977d1daf3f4d5447ad8078563cd54618.tar.gz |
Import libgroove-3.1.1 as audio/libgroove.
Audio dispatching library. Generic sink-based interface. Provides
decoding, encoding, resampling, and gain adjustment. Perfect for
the backend of a music player.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libgroove/DESCR | 3 | ||||
-rw-r--r-- | audio/libgroove/Makefile | 33 | ||||
-rw-r--r-- | audio/libgroove/PLIST | 23 | ||||
-rw-r--r-- | audio/libgroove/distinfo | 6 | ||||
-rw-r--r-- | audio/libgroove/patches/patch-CMakeLists.txt | 17 |
5 files changed, 82 insertions, 0 deletions
diff --git a/audio/libgroove/DESCR b/audio/libgroove/DESCR new file mode 100644 index 00000000000..278182be5be --- /dev/null +++ b/audio/libgroove/DESCR @@ -0,0 +1,3 @@ +Audio dispatching library. Generic sink-based interface. Provides +decoding, encoding, resampling, and gain adjustment. Perfect for +the backend of a music player. diff --git a/audio/libgroove/Makefile b/audio/libgroove/Makefile new file mode 100644 index 00000000000..f5bffeba071 --- /dev/null +++ b/audio/libgroove/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2014/04/30 23:42:52 wiz Exp $ + +DISTNAME= 3.1.1 +PKGNAME= libgroove-${DISTNAME} +CATEGORIES= audio +MASTER_SITES= https://github.com/andrewrk/libgroove/archive/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/andrewrk/libgroove/ +COMMENT= Audio dispatching library +LICENSE= mit + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +USE_CMAKE= yes +USE_TOOLS+= gmake pkg-config perl:build +USE_LANGUAGES= c c++ + +DIST_SUBDIR= libgroove + +# libav has to be built first but isn't +# https://github.com/andrewrk/libgroove/issues/59 +MAKE_JOBS_SAFE= no + +# for included libav +BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm +.include "../../audio/lame/buildlink3.mk" +.include "../../archivers/bzip2/buildlink3.mk" + +.include "../../audio/chromaprint/buildlink3.mk" +.include "../../audio/libebur128/buildlink3.mk" +.include "../../devel/SDL2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libgroove/PLIST b/audio/libgroove/PLIST new file mode 100644 index 00000000000..a0acf006ff9 --- /dev/null +++ b/audio/libgroove/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1 2014/04/30 23:42:52 wiz Exp $ +include/groove/encoder.h +include/groove/groove.h +include/groove/queue.h +include/groovefingerprinter/fingerprinter.h +include/grooveloudness/loudness.h +include/grooveplayer/player.h +lib/libgroove.a +lib/libgroove.so +lib/libgroove.so.3 +lib/libgroove.so.${PKGVERSION} +lib/libgroovefingerprinter.a +lib/libgroovefingerprinter.so +lib/libgroovefingerprinter.so.3 +lib/libgroovefingerprinter.so.${PKGVERSION} +lib/libgrooveloudness.a +lib/libgrooveloudness.so +lib/libgrooveloudness.so.3 +lib/libgrooveloudness.so.${PKGVERSION} +lib/libgrooveplayer.a +lib/libgrooveplayer.so +lib/libgrooveplayer.so.3 +lib/libgrooveplayer.so.${PKGVERSION} diff --git a/audio/libgroove/distinfo b/audio/libgroove/distinfo new file mode 100644 index 00000000000..50da69e0619 --- /dev/null +++ b/audio/libgroove/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/04/30 23:42:52 wiz Exp $ + +SHA1 (libgroove/3.1.1.tar.gz) = e73b091eb9e6d81c5a223c216967f2344606a25c +RMD160 (libgroove/3.1.1.tar.gz) = d494f8010188472dd0716920de760dae2b1fe7e5 +Size (libgroove/3.1.1.tar.gz) = 8584469 bytes +SHA1 (patch-CMakeLists.txt) = d743ccd6eee1b9cee7af1ca61bc0c17dd9aee0d6 diff --git a/audio/libgroove/patches/patch-CMakeLists.txt b/audio/libgroove/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..94078502ad1 --- /dev/null +++ b/audio/libgroove/patches/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2014/04/30 23:42:52 wiz Exp $ + +Always use embedded libav, since there is no pkgsrc package for +libav and the ffmpeg package is misdetected as libav. +https://github.com/andrewrk/libgroove/issues/58 + +--- CMakeLists.txt.orig 2014-04-21 07:09:21.000000000 +0000 ++++ CMakeLists.txt +@@ -121,7 +121,7 @@ endif(DISABLE_PLAYER) + + # check for libav + find_package(LibAV 10.0) +-if(LIBAV_AVCODEC_FOUND AND LIBAV_AVFILTER_FOUND AND LIBAV_AVFORMAT_FOUND AND LIBAV_AVUTIL_FOUND) ++if(LIBAV_AVCODEC_FOUND AND LIBAV_AVFILTER_FOUND AND LIBAV_AVFORMAT_FOUND AND LIBAV_AVUTIL_FOUND AND FALSE) + set(LIBAV_IS_BUNDLED FALSE) + set(STATUS_DEP_LIBAV "using system libraries") + set(STATUS_BZIP2 "not needed") |