pkgsrc-WIP-changes archive

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

filter_audio: Import as wip/filter_audio



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Sun Jun 12 11:24:47 2016 +0200
Changeset:	372bf13f632a791c3796d44a6c4268721c716245

Modified Files:
	Makefile
Added Files:
	filter_audio/DESCR
	filter_audio/Makefile
	filter_audio/PLIST
	filter_audio/buildlink3.mk
	filter_audio/distinfo
	filter_audio/patches/patch-Makefile

Log Message:
filter_audio: Import as wip/filter_audio

Lightweight audio filtering library made from webrtc code.

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

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

diffstat:
 Makefile                            |  1 +
 filter_audio/DESCR                  |  1 +
 filter_audio/Makefile               | 20 +++++++++++++++++++
 filter_audio/PLIST                  |  7 +++++++
 filter_audio/buildlink3.mk          | 12 ++++++++++++
 filter_audio/distinfo               |  3 +++
 filter_audio/patches/patch-Makefile | 38 +++++++++++++++++++++++++++++++++++++
 7 files changed, 82 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 890d400..d49904c 100644
--- a/Makefile
+++ b/Makefile
@@ -728,6 +728,7 @@ SUBDIR+=	filelight
 SUBDIR+=	filepp
 SUBDIR+=	filerunner
 SUBDIR+=	filevercmp
+SUBDIR+=	filter_audio
 SUBDIR+=	fio
 SUBDIR+=	firebird
 SUBDIR+=	fireflysung-ttf
diff --git a/filter_audio/DESCR b/filter_audio/DESCR
new file mode 100644
index 0000000..443a1bc
--- /dev/null
+++ b/filter_audio/DESCR
@@ -0,0 +1 @@
+Lightweight audio filtering library made from webrtc code.
diff --git a/filter_audio/Makefile b/filter_audio/Makefile
new file mode 100644
index 0000000..486f731
--- /dev/null
+++ b/filter_audio/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	filter_audio-0.0.0.0
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_GITHUB:=irungentoo/}
+
+GIT_REPOSITORIES=	filter_audio
+GIT_REPO.filter_audio=	http://github.com/irungentoo/filter_audio.git
+WRKSRC=			${WRKDIR}/filter_audio
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://github.com/irungentoo/filter_audio/
+COMMENT=	Easy to use audio filtering library made from webrtc code
+LICENSE=	modified-bsd
+
+NO_CONFIGURE=	yes
+USE_TOOLS+=	gmake
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/filter_audio/PLIST b/filter_audio/PLIST
new file mode 100644
index 0000000..1b1f275
--- /dev/null
+++ b/filter_audio/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+include/filter_audio.h
+lib/libfilteraudio.a
+lib/libfilteraudio.so
+lib/libfilteraudio.so.0
+lib/libfilteraudio.so.0.0.0
+lib/pkgconfig/filteraudio.pc
diff --git a/filter_audio/buildlink3.mk b/filter_audio/buildlink3.mk
new file mode 100644
index 0000000..cb5abdf
--- /dev/null
+++ b/filter_audio/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	filter_audio
+
+.if !defined(FILTER_AUDIO_BUILDLINK3_MK)
+FILTER_AUDIO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.filter_audio+=	filter_audio>=0.0.0.0
+BUILDLINK_PKGSRCDIR.filter_audio?=	../../wip/filter_audio
+.endif	# FILTER_AUDIO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-filter_audio
diff --git a/filter_audio/distinfo b/filter_audio/distinfo
new file mode 100644
index 0000000..c8d171f
--- /dev/null
+++ b/filter_audio/distinfo
@@ -0,0 +1,3 @@
+$NetBSD$
+
+SHA1 (patch-Makefile) = 667edcb842ec60c084a347436141ef3a2fee0535
diff --git a/filter_audio/patches/patch-Makefile b/filter_audio/patches/patch-Makefile
new file mode 100644
index 0000000..1a1b1e9
--- /dev/null
+++ b/filter_audio/patches/patch-Makefile
@@ -0,0 +1,38 @@
+$NetBSD$
+
+Treat Unix-like platforms similarly.
+
+--- Makefile.orig	2016-06-11 20:46:53.000000000 +0000
++++ Makefile
+@@ -15,18 +15,7 @@ TARGET_ONLY = NO
+ 
+ # Check on which system we are running
+ UNAME_S = $(shell uname -s)
+-ifeq ($(UNAME_S), Linux)
+-    SHARED_EXT = so
+-    TARGET = $(BASE_NAME).$(SHARED_EXT).$(VERSION)
+-    SHARED_LIB = $(BASE_NAME).$(SHARED_EXT).$(shell echo $(VERSION) | rev | cut -d "." -f 1 | rev)
+-    LDFLAGS += -Wl,-soname=$(SHARED_LIB)
+-else ifeq ($(UNAME_S), FreeBSD)
+-    SHARED_EXT = so
+-    TARGET = $(BASE_NAME).$(SHARED_EXT).$(VERSION)
+-    SHARED_LIB = $(BASE_NAME).$(SHARED_EXT).$(shell echo $(VERSION) | rev | cut -d "." -f 1 | rev)
+-    LDFLAGS += -Wl,-soname=$(SHARED_LIB)
+-    LIBDIR = lib
+-else ifeq ($(UNAME_S), Darwin)
++ifeq ($(UNAME_S), Darwin)
+     SHARED_EXT = dylib
+     TARGET = $(BASE_NAME).$(VERSION).$(SHARED_EXT)
+     SHARED_LIB = $(BASE_NAME).$(shell echo $(VERSION) | rev | cut -d "." -f 1 | rev).$(SHARED_EXT)
+@@ -37,6 +26,11 @@ else ifneq (, $(shell echo $(UNAME_S) | 
+     TARGET_ONLY = YES
+     NO_STATIC = 1
+     LDFLAGS += -Wl,--out-implib,$(TARGET).a
++else
++    SHARED_EXT = so
++    TARGET = $(BASE_NAME).$(SHARED_EXT).$(VERSION)
++    SHARED_LIB = $(BASE_NAME).$(SHARED_EXT).$(shell echo $(VERSION) | rev | cut -d "." -f 1 | rev)
++    LDFLAGS += -Wl,-soname=$(SHARED_LIB)
+ endif
+ 
+ 


Home | Main Index | Thread Index | Old Index