pkgsrc-WIP-changes archive

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

Import go-mp3-0.3.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 6 12:09:00 2021 +0100
Changeset:	92588c6d6e327b2da13dd8ef974a5b84a1a21b4f

Modified Files:
	Makefile
Added Files:
	go-mp3/DESCR
	go-mp3/Makefile
	go-mp3/PLIST
	go-mp3/buildlink3.mk
	go-mp3/distinfo

Log Message:
Import go-mp3-0.3.1 to wip

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

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

diffstat:
 Makefile             |  3 ++-
 go-mp3/DESCR         |  1 +
 go-mp3/Makefile      | 18 ++++++++++++++++++
 go-mp3/PLIST         | 33 +++++++++++++++++++++++++++++++++
 go-mp3/buildlink3.mk | 15 +++++++++++++++
 go-mp3/distinfo      |  6 ++++++
 6 files changed, 75 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index f74c8933f5..ec4b42d398 100644
--- a/Makefile
+++ b/Makefile
@@ -1181,7 +1181,7 @@ SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
 SUBDIR+=	go-dotenv
-SUBDIR+=	go-flac
+SUBDIR+=	go-flac-eaburns
 SUBDIR+=	go-flags
 SUBDIR+=	go-fsnotify
 SUBDIR+=	go-ghodss-yaml
@@ -1198,6 +1198,7 @@ SUBDIR+=	go-kong
 SUBDIR+=	go-kr-text
 SUBDIR+=	go-log
 SUBDIR+=	go-madon
+SUBDIR+=	go-mp3
 SUBDIR+=	go-notify
 SUBDIR+=	go-param
 SUBDIR+=	go-pass
diff --git a/go-mp3/DESCR b/go-mp3/DESCR
new file mode 100644
index 0000000000..012e5c6d30
--- /dev/null
+++ b/go-mp3/DESCR
@@ -0,0 +1 @@
+An MP3 decoder in pure Go based on PDMP3.
diff --git a/go-mp3/Makefile b/go-mp3/Makefile
new file mode 100644
index 0000000000..ece3bffd6e
--- /dev/null
+++ b/go-mp3/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-mp3-0.3.1
+GITHUB_PROJECT=	go-mp3
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hajimehoshi/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/hajimehoshi/go-mp3/
+COMMENT=	MP3 decoder in pure Go
+LICENSE=	apache-2.0
+
+GO_SRCPATH=     github.com/hajimehoshi/go-mp3
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-mp3/PLIST b/go-mp3/PLIST
new file mode 100644
index 0000000000..0ed0561aa8
--- /dev/null
+++ b/go-mp3/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/bits.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/consts.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/frame.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/frameheader.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/huffman.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/imdct.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/maindata.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hajimehoshi/go-mp3/internal/sideinfo.a
+gopkg/src/github.com/hajimehoshi/go-mp3/AUTHORS
+gopkg/src/github.com/hajimehoshi/go-mp3/LICENSE
+gopkg/src/github.com/hajimehoshi/go-mp3/README.md
+gopkg/src/github.com/hajimehoshi/go-mp3/bench_test.go
+gopkg/src/github.com/hajimehoshi/go-mp3/decode.go
+gopkg/src/github.com/hajimehoshi/go-mp3/example/classic.mp3
+gopkg/src/github.com/hajimehoshi/go-mp3/example/license.md
+gopkg/src/github.com/hajimehoshi/go-mp3/example/main.go
+gopkg/src/github.com/hajimehoshi/go-mp3/example/mpeg2.mp3
+gopkg/src/github.com/hajimehoshi/go-mp3/fuzzing_test.go
+gopkg/src/github.com/hajimehoshi/go-mp3/go.mod
+gopkg/src/github.com/hajimehoshi/go-mp3/go.sum
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/bits/bits.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/bits/bits_test.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/consts/consts.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/frame/frame.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/frameheader/frameheader.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/huffman/huffman.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/imdct/imdct.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/maindata/huffman.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/maindata/maindata.go
+gopkg/src/github.com/hajimehoshi/go-mp3/internal/sideinfo/sideinfo.go
+gopkg/src/github.com/hajimehoshi/go-mp3/source.go
diff --git a/go-mp3/buildlink3.mk b/go-mp3/buildlink3.mk
new file mode 100644
index 0000000000..50067d00c8
--- /dev/null
+++ b/go-mp3/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-mp3
+
+.if !defined(GO_MP3_BUILDLINK3_MK)
+GO_MP3_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mp3=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mp3?=		build
+
+BUILDLINK_API_DEPENDS.go-mp3+=	go-mp3>=0.3.1
+BUILDLINK_PKGSRCDIR.go-mp3?=	../../wip/go-mp3
+.endif	# GO_MP3_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-mp3
diff --git a/go-mp3/distinfo b/go-mp3/distinfo
new file mode 100644
index 0000000000..fe447a65c8
--- /dev/null
+++ b/go-mp3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-mp3-0.3.1.tar.gz) = cd95f6863bc6835cc1ca2a76c1c6535050c0338b
+RMD160 (go-mp3-0.3.1.tar.gz) = 10cd0bcd8b6e26cef16dfe4c0237b4a0c9c3709a
+SHA512 (go-mp3-0.3.1.tar.gz) = c486b555687e268304ba4dd66ed619ad4472dd3ab6509541776776728efbb9efac1a77ea7038fadbe1d4a0b3adff4a26b41a7c9553182cdd7b1fb986ee220862
+Size (go-mp3-0.3.1.tar.gz) = 11655539 bytes


Home | Main Index | Thread Index | Old Index