summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-19 10:14:10 +0000
committernia <nia@pkgsrc.org>2021-04-19 10:14:10 +0000
commit8c5b5fc69efb4aa1e67bd9db65d3a369d6ba40d8 (patch)
treee0a5f6147a170a4bb681d0afe31c8a12ba13b481
parentcce461e26f91268a113d272f17f7799d8f4987fc (diff)
downloadpkgsrc-8c5b5fc69efb4aa1e67bd9db65d3a369d6ba40d8.tar.gz
add audio/minimp3
Minimalistic, single-header library for decoding MP3. minimp3 is designed to be small, fast (with SSE and NEON support), and accurate (ISO conformant).
-rw-r--r--audio/Makefile4
-rw-r--r--audio/minimp3/DESCR2
-rw-r--r--audio/minimp3/Makefile26
-rw-r--r--audio/minimp3/PLIST5
-rw-r--r--audio/minimp3/buildlink3.mk13
-rw-r--r--audio/minimp3/distinfo6
6 files changed, 55 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 77e95946a16..bdc837b0ace 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.625 2021/03/30 12:01:04 nia Exp $
+# $NetBSD: Makefile,v 1.626 2021/04/19 10:14:10 nia Exp $
#
COMMENT= Audio tools, players, and libraries
@@ -294,6 +294,7 @@ SUBDIR+= mbrolavox-us2
SUBDIR+= mbrolavox-us3
SUBDIR+= mikmod
SUBDIR+= milkytracker
+SUBDIR+= minimp3
SUBDIR+= mixer.app
SUBDIR+= mixxx
SUBDIR+= mkcdtoc
@@ -318,6 +319,7 @@ SUBDIR+= mpc
SUBDIR+= mpdas
SUBDIR+= mpegaudio
SUBDIR+= mpg123
+SUBDIR+= mpg123-jack
SUBDIR+= mpg123-nas
SUBDIR+= mpg123-oss
SUBDIR+= mpg123-pulse
diff --git a/audio/minimp3/DESCR b/audio/minimp3/DESCR
new file mode 100644
index 00000000000..f258a764b16
--- /dev/null
+++ b/audio/minimp3/DESCR
@@ -0,0 +1,2 @@
+Minimalistic, single-header library for decoding MP3. minimp3 is designed
+to be small, fast (with SSE and NEON support), and accurate (ISO conformant).
diff --git a/audio/minimp3/Makefile b/audio/minimp3/Makefile
new file mode 100644
index 00000000000..3c4e5da7987
--- /dev/null
+++ b/audio/minimp3/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2021/04/19 10:14:10 nia Exp $
+
+DISTNAME= minimp3-20200120
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=lieff/}
+GITHUB_PROJECT= minimp3
+GITHUB_TAG= ef9e212fa29bb72d23558da21bb5694fd2d01768
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/lieff/minimp3
+COMMENT= Minimalistic MP3 decoder single header library
+LICENSE= cc0-1.0-universal
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= include
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/minimp3.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/minimp3_ex.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/LICENSE \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/minimp3/PLIST b/audio/minimp3/PLIST
new file mode 100644
index 00000000000..19753aa28da
--- /dev/null
+++ b/audio/minimp3/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/19 10:14:11 nia Exp $
+include/minimp3.h
+include/minimp3_ex.h
+share/doc/minimp3/LICENSE
+share/doc/minimp3/README.md
diff --git a/audio/minimp3/buildlink3.mk b/audio/minimp3/buildlink3.mk
new file mode 100644
index 00000000000..eb1f19ab1da
--- /dev/null
+++ b/audio/minimp3/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/19 10:14:11 nia Exp $
+
+BUILDLINK_TREE+= minimp3
+
+.if !defined(MINIMP3_BUILDLINK3_MK)
+MINIMP3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.minimp3+= minimp3>=20200120
+BUILDLINK_PKGSRCDIR.minimp3?= ../../audio/minimp3
+BUILDLINK_DEPMETHOD.minimp3?= build
+.endif # MINIMP3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -minimp3
diff --git a/audio/minimp3/distinfo b/audio/minimp3/distinfo
new file mode 100644
index 00000000000..6f55454cca4
--- /dev/null
+++ b/audio/minimp3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/19 10:14:11 nia Exp $
+
+SHA1 (minimp3-20200120-ef9e212fa29bb72d23558da21bb5694fd2d01768.tar.gz) = fe0de7e92d249f9f9ac26af4ac293e28e0e66243
+RMD160 (minimp3-20200120-ef9e212fa29bb72d23558da21bb5694fd2d01768.tar.gz) = c43be0bee9917f3d7bf1dd1d4b650a32d03dae91
+SHA512 (minimp3-20200120-ef9e212fa29bb72d23558da21bb5694fd2d01768.tar.gz) = cf2d39150ca55a7fc0451afacf03e3b121c3d9fa67f820bd61b5da0d720099b087dae30a0cf1cad9073673e89208013b8eca12bab44b3dca5b35fb9171e7efe8
+Size (minimp3-20200120-ef9e212fa29bb72d23558da21bb5694fd2d01768.tar.gz) = 19744364 bytes