pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio add audio/minimp3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79a3e05ceb58
branches:  trunk
changeset: 450525:79a3e05ceb58
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Apr 19 10:14:10 2021 +0000

description:
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).

diffstat:

 audio/Makefile              |   4 +++-
 audio/minimp3/DESCR         |   2 ++
 audio/minimp3/Makefile      |  26 ++++++++++++++++++++++++++
 audio/minimp3/PLIST         |   5 +++++
 audio/minimp3/buildlink3.mk |  13 +++++++++++++
 audio/minimp3/distinfo      |   6 ++++++
 6 files changed, 55 insertions(+), 1 deletions(-)

diffs (97 lines):

diff -r a34529184f6f -r 79a3e05ceb58 audio/Makefile
--- a/audio/Makefile    Mon Apr 19 07:22:47 2021 +0000
+++ b/audio/Makefile    Mon Apr 19 10:14:10 2021 +0000
@@ -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-us3
 SUBDIR+=       mikmod
 SUBDIR+=       milkytracker
+SUBDIR+=       minimp3
 SUBDIR+=       mixer.app
 SUBDIR+=       mixxx
 SUBDIR+=       mkcdtoc
@@ -318,6 +319,7 @@
 SUBDIR+=       mpdas
 SUBDIR+=       mpegaudio
 SUBDIR+=       mpg123
+SUBDIR+=       mpg123-jack
 SUBDIR+=       mpg123-nas
 SUBDIR+=       mpg123-oss
 SUBDIR+=       mpg123-pulse
diff -r a34529184f6f -r 79a3e05ceb58 audio/minimp3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/minimp3/DESCR       Mon Apr 19 10:14:10 2021 +0000
@@ -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 -r a34529184f6f -r 79a3e05ceb58 audio/minimp3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/minimp3/Makefile    Mon Apr 19 10:14:10 2021 +0000
@@ -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@localhost
+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 -r a34529184f6f -r 79a3e05ceb58 audio/minimp3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/minimp3/PLIST       Mon Apr 19 10:14:10 2021 +0000
@@ -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 -r a34529184f6f -r 79a3e05ceb58 audio/minimp3/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/minimp3/buildlink3.mk       Mon Apr 19 10:14:10 2021 +0000
@@ -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 -r a34529184f6f -r 79a3e05ceb58 audio/minimp3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/minimp3/distinfo    Mon Apr 19 10:14:10 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index