pkgsrc-WIP-changes archive

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

Import libaudec 0.2.4



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Tue Dec 22 17:59:42 2020 -0800
Changeset:	4383459ee3c73af708102b053fd93f8b632e6343

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

Log Message:
Import libaudec 0.2.4

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4383459ee3c73af708102b053fd93f8b632e6343

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

diffstat:
 Makefile               |  1 +
 libaudec/DESCR         |  7 +++++++
 libaudec/Makefile      | 18 ++++++++++++++++++
 libaudec/PLIST         |  5 +++++
 libaudec/buildlink3.mk | 13 +++++++++++++
 libaudec/distinfo      |  6 ++++++
 6 files changed, 50 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6b25cbbeca..c2d84b60a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1813,6 +1813,7 @@ SUBDIR+=	libLLVM38
 SUBDIR+=	libaec
 SUBDIR+=	libalkimia
 SUBDIR+=	libanimal
+SUBDIR+=	libaudec
 SUBDIR+=	libavc1394
 SUBDIR+=	libbacon
 SUBDIR+=	libbfio
diff --git a/libaudec/DESCR b/libaudec/DESCR
new file mode 100644
index 0000000000..48c432f786
--- /dev/null
+++ b/libaudec/DESCR
@@ -0,0 +1,7 @@
+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.
diff --git a/libaudec/Makefile b/libaudec/Makefile
new file mode 100644
index 0000000000..29869afbc6
--- /dev/null
+++ b/libaudec/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	libaudec-0.2.4
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_GITHUB:=zrythm/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	dressupgeekout%gmail.com@localhost
+COMMENT=	Wrapper library over minimp3, sndfile and libsamplerate
+LICENSE=	gnu-gpl-v3 # XXX actually it's Affero v3
+
+EXTRACT_USING=	gtar
+USE_LANGUAGES=	c c++
+
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libaudec/PLIST b/libaudec/PLIST
new file mode 100644
index 0000000000..1f907ff241
--- /dev/null
+++ b/libaudec/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/audec
+include/audec/audec.h
+lib/libaudec.a
+lib/pkgconfig/audec.pc
diff --git a/libaudec/buildlink3.mk b/libaudec/buildlink3.mk
new file mode 100644
index 0000000000..971d0a7b77
--- /dev/null
+++ b/libaudec/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libaudec
+
+.if !defined(LIBAUDEC_BUILDLINK3_MK)
+LIBAUDEC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libaudec+=	libaudec>=0.2.4
+BUILDLINK_ABI_DEPENDS.libaudec+=	libaudec>=0.2.4
+BUILDLINK_PKGSRCDIR.libaudec?=		../../wip/libaudec
+.endif # LIBAUDEC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libaudec
diff --git a/libaudec/distinfo b/libaudec/distinfo
new file mode 100644
index 0000000000..219d99c554
--- /dev/null
+++ b/libaudec/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libaudec-0.2.4.tar.gz) = dbad0368fecb4018497e4f33af80aacf520fd0c6
+RMD160 (libaudec-0.2.4.tar.gz) = 2c9b520c0877c4f4dbef0c397208bac98d9e00f2
+SHA512 (libaudec-0.2.4.tar.gz) = 3d8821d0e6ef6c04175df46328c23498029662511e776f24e070deeead80d0ae2a0ba41d4d70faba4a204ed06164ac0bbc07db014df754f683f484e1f50ced5a
+Size (libaudec-0.2.4.tar.gz) = 626622 bytes


Home | Main Index | Thread Index | Old Index