pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Aug  6 13:50:24 UTC 2021

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/libaudec: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
add audio/libaudec

libaudec (lib audio decoder) is a wrapper library over minimp3, sndfile and
libsamplerate for reading and resampling audio files, based on Robin Gareus'
audio_decoder code.

libaudec supports all formats supported by sndfile, in addition to MP3.

This library is meant to be linked in statically to larger projects.

Until version 1.0 is released, the API is subject to change.

libaudec is released under the GNU Affero GPLv3+.


To generate a diff of this commit:
cvs rdiff -u -r1.636 -r1.637 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libaudec/DESCR \
    pkgsrc/audio/libaudec/Makefile pkgsrc/audio/libaudec/PLIST \
    pkgsrc/audio/libaudec/buildlink3.mk pkgsrc/audio/libaudec/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.636 pkgsrc/audio/Makefile:1.637
--- pkgsrc/audio/Makefile:1.636 Thu Jul 29 19:16:08 2021
+++ pkgsrc/audio/Makefile       Fri Aug  6 13:50:24 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.636 2021/07/29 19:16:08 nia Exp $
+# $NetBSD: Makefile,v 1.637 2021/08/06 13:50:24 nia Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -221,6 +221,7 @@ SUBDIR+=    libao-nas
 SUBDIR+=       libao-oss
 SUBDIR+=       libao-pulse
 SUBDIR+=       libao-sun
+SUBDIR+=       libaudec
 SUBDIR+=       libaudiofile
 SUBDIR+=       libcanberra
 SUBDIR+=       libcdaudio

Added files:

Index: pkgsrc/audio/libaudec/DESCR
diff -u /dev/null pkgsrc/audio/libaudec/DESCR:1.1
--- /dev/null   Fri Aug  6 13:50:24 2021
+++ pkgsrc/audio/libaudec/DESCR Fri Aug  6 13:50:24 2021
@@ -0,0 +1,11 @@
+libaudec (lib audio decoder) is a wrapper library over minimp3, sndfile and
+libsamplerate for reading and resampling audio files, based on Robin Gareus'
+audio_decoder code.
+
+libaudec supports all formats supported by sndfile, in addition to MP3.
+
+This library is meant to be linked in statically to larger projects.
+
+Until version 1.0 is released, the API is subject to change.
+
+libaudec is released under the GNU Affero GPLv3+.
Index: pkgsrc/audio/libaudec/Makefile
diff -u /dev/null pkgsrc/audio/libaudec/Makefile:1.1
--- /dev/null   Fri Aug  6 13:50:24 2021
+++ pkgsrc/audio/libaudec/Makefile      Fri Aug  6 13:50:24 2021
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/08/06 13:50:24 nia Exp $
+
+V=             0.3.4
+PKGNAME=       libaudec-${V}
+CATEGORIES=    audio
+DISTFILES+=    libaudec-${V}.tar.gz
+
+SITES.libaudec-${V}.tar.gz=    \
+       -https://git.sr.ht/~alextee/libaudec/archive/v${V}.tar.gz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://git.sr.ht/~alextee/libaudec
+COMMENT=       Audio decoding library
+LICENSE=       gnu-agpl-v3
+
+WRKSRC=                ${WRKDIR}/libaudec-v${V}
+
+USE_TOOLS+=    pkg-config
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
+PKGCONFIG_OVERRIDE+=           output/meson-private/audec.pc
+
+.include "../../devel/meson/build.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/libaudec/PLIST
diff -u /dev/null pkgsrc/audio/libaudec/PLIST:1.1
--- /dev/null   Fri Aug  6 13:50:24 2021
+++ pkgsrc/audio/libaudec/PLIST Fri Aug  6 13:50:24 2021
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/06 13:50:24 nia Exp $
+bin/audec
+include/audec/audec.h
+lib/libaudec.a
+lib/libaudec.so
+lib/pkgconfig/audec.pc
Index: pkgsrc/audio/libaudec/buildlink3.mk
diff -u /dev/null pkgsrc/audio/libaudec/buildlink3.mk:1.1
--- /dev/null   Fri Aug  6 13:50:24 2021
+++ pkgsrc/audio/libaudec/buildlink3.mk Fri Aug  6 13:50:24 2021
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/08/06 13:50:24 nia Exp $
+
+BUILDLINK_TREE+=       libaudec
+
+.if !defined(LIBAUDEC_BUILDLINK3_MK)
+LIBAUDEC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libaudec+=       libaudec>=0.3.4
+BUILDLINK_PKGSRCDIR.libaudec?=         ../../audio/libaudec
+
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.endif # LIBAUDEC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libaudec
Index: pkgsrc/audio/libaudec/distinfo
diff -u /dev/null pkgsrc/audio/libaudec/distinfo:1.1
--- /dev/null   Fri Aug  6 13:50:24 2021
+++ pkgsrc/audio/libaudec/distinfo      Fri Aug  6 13:50:24 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/08/06 13:50:24 nia Exp $
+
+SHA1 (libaudec-0.3.4.tar.gz) = 91dd871f6a15782496ef05cfc315b48f75ea8069
+RMD160 (libaudec-0.3.4.tar.gz) = d871099c5fe653cb743efd4cbbeaeb5216ad7310
+SHA512 (libaudec-0.3.4.tar.gz) = 9c50b866e2f0d1897d7a55a83263e74c3a1cf77772a52bd446632c9a92f2ccbbb3e2e1ecfde8b05fc41e59e4d60a57935a656ec8f40b6680fc4bbe201ea045ef
+Size (libaudec-0.3.4.tar.gz) = 627395 bytes



Home | Main Index | Thread Index | Old Index