pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio add audio/libaudec
details: https://anonhg.NetBSD.org/pkgsrc/rev/d0707b3a4ade
branches: trunk
changeset: 456738:d0707b3a4ade
user: nia <nia%pkgsrc.org@localhost>
date: Fri Aug 06 13:50:24 2021 +0000
description:
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+.
diffstat:
audio/Makefile | 3 ++-
audio/libaudec/DESCR | 11 +++++++++++
audio/libaudec/Makefile | 28 ++++++++++++++++++++++++++++
audio/libaudec/PLIST | 6 ++++++
audio/libaudec/buildlink3.mk | 15 +++++++++++++++
audio/libaudec/distinfo | 6 ++++++
6 files changed, 68 insertions(+), 1 deletions(-)
diffs (103 lines):
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/Makefile
--- a/audio/Makefile Fri Aug 06 12:42:53 2021 +0000
+++ b/audio/Makefile Fri Aug 06 13:50:24 2021 +0000
@@ -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-oss
SUBDIR+= libao-pulse
SUBDIR+= libao-sun
+SUBDIR+= libaudec
SUBDIR+= libaudiofile
SUBDIR+= libcanberra
SUBDIR+= libcdaudio
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/libaudec/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libaudec/DESCR Fri Aug 06 13:50:24 2021 +0000
@@ -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+.
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/libaudec/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libaudec/Makefile Fri Aug 06 13:50:24 2021 +0000
@@ -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"
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/libaudec/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libaudec/PLIST Fri Aug 06 13:50:24 2021 +0000
@@ -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
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/libaudec/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libaudec/buildlink3.mk Fri Aug 06 13:50:24 2021 +0000
@@ -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
diff -r 638f4a9b7a82 -r d0707b3a4ade audio/libaudec/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libaudec/distinfo Fri Aug 06 13:50:24 2021 +0000
@@ -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