From 2d4f23dba9f2188372df5664cb183ce747f2aa08 Mon Sep 17 00:00:00 2001 From: "K.I.A.Derouiche" Date: Wed, 6 Jan 2021 14:54:59 +0100 Subject: [PATCH] Import go-riff-1.0.0 to wip --- Makefile | 1 + go-riff/DESCR | 4 ++++ go-riff/Makefile | 18 ++++++++++++++++++ go-riff/PLIST | 18 ++++++++++++++++++ go-riff/buildlink3.mk | 15 +++++++++++++++ go-riff/distinfo | 6 ++++++ 6 files changed, 62 insertions(+) create mode 100644 go-riff/DESCR create mode 100644 go-riff/Makefile create mode 100644 go-riff/PLIST create mode 100644 go-riff/buildlink3.mk create mode 100644 go-riff/distinfo diff --git a/Makefile b/Makefile index e879befc5c..915e14f2c8 100644 --- a/Makefile +++ b/Makefile @@ -1211,6 +1211,7 @@ SUBDIR+= go-python SUBDIR+= go-rateio SUBDIR+= go-rest SUBDIR+= go-resty +SUBDIR+= go-riff SUBDIR+= go-transcoder SUBDIR+= go-trie SUBDIR+= go-upspin diff --git a/go-riff/DESCR b/go-riff/DESCR new file mode 100644 index 0000000000..e90de3b8b2 --- /dev/null +++ b/go-riff/DESCR @@ -0,0 +1,4 @@ +The RIFF container format is used to store +chunks of data in media files, especially +in wav files hence this package inside under +the go-audio organization diff --git a/go-riff/Makefile b/go-riff/Makefile new file mode 100644 index 0000000000..af1f086de1 --- /dev/null +++ b/go-riff/Makefile @@ -0,0 +1,18 @@ +# $NetBSD$ + +DISTNAME= go-riff-1.0.0 +GITHUB_PROJECT= riff +GITHUB_TAG= v${PKGVERSION_NOREV} +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_GITHUB:=go-audio/} + +MAINTAINER= kamelderouiche@yahoo.com +HOMEPAGE= https://github.com/go-audio/riff/ +COMMENT= Resource Interchange File Format parser +LICENSE= apache-2.0 + +GO_SRCPATH= github.com/go-audio/riff +GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/go-riff/PLIST b/go-riff/PLIST new file mode 100644 index 0000000000..aaaec9c10e --- /dev/null +++ b/go-riff/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD$ +bin/riffinfo +gopkg/pkg/${GO_PLATFORM}/github.com/go-audio/riff.a +gopkg/src/github.com/go-audio/riff/LICENSE +gopkg/src/github.com/go-audio/riff/README.md +gopkg/src/github.com/go-audio/riff/chunk.go +gopkg/src/github.com/go-audio/riff/chunk_test.go +gopkg/src/github.com/go-audio/riff/doc.go +gopkg/src/github.com/go-audio/riff/fixtures/junkKick.wav +gopkg/src/github.com/go-audio/riff/fixtures/sample.avi +gopkg/src/github.com/go-audio/riff/fixtures/sample.rmi +gopkg/src/github.com/go-audio/riff/fixtures/sample.wav +gopkg/src/github.com/go-audio/riff/go.mod +gopkg/src/github.com/go-audio/riff/parser.go +gopkg/src/github.com/go-audio/riff/parser_test.go +gopkg/src/github.com/go-audio/riff/riff.go +gopkg/src/github.com/go-audio/riff/riff_test.go +gopkg/src/github.com/go-audio/riff/riffinfo/main.go diff --git a/go-riff/buildlink3.mk b/go-riff/buildlink3.mk new file mode 100644 index 0000000000..e36710ea2c --- /dev/null +++ b/go-riff/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD$ + +BUILDLINK_TREE+= go-riff + +.if !defined(GO_RIFF_BUILDLINK3_MK) +GO_RIFF_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-riff= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-riff?= build + +BUILDLINK_API_DEPENDS.go-riff+= go-riff>=1.0.0 +BUILDLINK_PKGSRCDIR.go-riff?= ../../wip/go-riff +.endif # GO_RIFF_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-riff diff --git a/go-riff/distinfo b/go-riff/distinfo new file mode 100644 index 0000000000..ccc8600da3 --- /dev/null +++ b/go-riff/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (go-riff-1.0.0.tar.gz) = 4dd939eeba3dc97a5c1e631a085470e31cf8be26 +RMD160 (go-riff-1.0.0.tar.gz) = 673577457e0cdbff1c4ba555825a30bc4c12e03b +SHA512 (go-riff-1.0.0.tar.gz) = 34cd28df17d837caa7bc01e5d9292405ede65276d1abe39eef5029e1230e484a88a6dc4c1bee5c5ad1eec61c18a1642788d857aab453dfb5ef6a6b443ef80aaf +Size (go-riff-1.0.0.tar.gz) = 297350 bytes