pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio audio: Add libmysofa.
details: https://anonhg.NetBSD.org/pkgsrc/rev/56beb625aebe
branches: trunk
changeset: 344987:56beb625aebe
user: nia <nia%pkgsrc.org@localhost>
date: Sat Nov 30 13:35:42 2019 +0000
description:
audio: Add libmysofa.
This is a simple set of C functions to read AES SOFA files, if they contain
HRTFs stored according to the AES69-2015 standard.
diffstat:
audio/Makefile | 3 ++-
audio/libmysofa/DESCR | 2 ++
audio/libmysofa/Makefile | 22 ++++++++++++++++++++++
audio/libmysofa/PLIST | 9 +++++++++
audio/libmysofa/buildlink3.mk | 14 ++++++++++++++
audio/libmysofa/distinfo | 7 +++++++
audio/libmysofa/patches/patch-CMakeLists.txt | 13 +++++++++++++
7 files changed, 69 insertions(+), 1 deletions(-)
diffs (108 lines):
diff -r e0b811743032 -r 56beb625aebe audio/Makefile
--- a/audio/Makefile Sat Nov 30 11:47:15 2019 +0000
+++ b/audio/Makefile Sat Nov 30 13:35:42 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.576 2019/11/25 12:30:16 nia Exp $
+# $NetBSD: Makefile,v 1.577 2019/11/30 13:35:42 nia Exp $
#
COMMENT= Audio tools
@@ -251,6 +251,7 @@
SUBDIR+= libmusepack
SUBDIR+= libmusicbrainz
SUBDIR+= libmusicbrainz5
+SUBDIR+= libmysofa
SUBDIR+= libofa
SUBDIR+= libopenmpt
SUBDIR+= libopenspc
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/DESCR Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,2 @@
+This is a simple set of C functions to read AES SOFA files, if they contain
+HRTFs stored according to the AES69-2015 standard.
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/Makefile Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/11/30 13:35:42 nia Exp $
+
+DISTNAME= libmysofa-0.9
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hoene/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/hoene/libmysofa
+COMMENT= Reader for AES SOFA HRTF files
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+
+CMAKE_ARGS+= -Wno-dev
+CMAKE_ARGS+= -DBUILD_TESTS=OFF
+
+PKGCONFIG_OVERRIDE+= libmysofa.pc.cmake
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/PLIST Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/30 13:35:42 nia Exp $
+include/mysofa.h
+lib/libmysofa.a
+lib/libmysofa.so
+lib/libmysofa.so.0
+lib/libmysofa.so.0.5.1
+lib/pkgconfig/libmysofa.pc
+share/libmysofa/MIT_KEMAR_normal_pinna.sofa
+share/libmysofa/default.sofa
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/buildlink3.mk Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/30 13:35:42 nia Exp $
+
+BUILDLINK_TREE+= libmysofa
+
+.if !defined(LIBMYSOFA_BUILDLINK3_MK)
+LIBMYSOFA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmysofa+= libmysofa>=0.9
+BUILDLINK_PKGSRCDIR.libmysofa?= ../../audio/libmysofa
+
+.include "../../devel/zlib/buildlink3.mk"
+.endif # LIBMYSOFA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libmysofa
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/distinfo Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/11/30 13:35:42 nia Exp $
+
+SHA1 (libmysofa-0.9.tar.gz) = 55493ab91bec91f6b1d9813cb66f378df9acc2ca
+RMD160 (libmysofa-0.9.tar.gz) = d2499aff00fc42fcaddbf7a272ec7adfb462a7fa
+SHA512 (libmysofa-0.9.tar.gz) = c78b907ae9af1e145781de8e1f9092b9108bb3446d24d0512e924aa454c114a3e4fb2a94f98fc782f2d25f2e8efc2bbcb1af830c387da006e5b88b80f74ff285
+Size (libmysofa-0.9.tar.gz) = 80597989 bytes
+SHA1 (patch-CMakeLists.txt) = 03e047b3f28541e8e1e19fc5e0df2715bed5a202
diff -r e0b811743032 -r 56beb625aebe audio/libmysofa/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmysofa/patches/patch-CMakeLists.txt Sat Nov 30 13:35:42 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/11/30 13:35:42 nia Exp $
+
+Don't need a C++ compiler.
+
+--- CMakeLists.txt.orig 2019-11-24 16:27:35.000000000 +0000
++++ CMakeLists.txt
+@@ -1,5 +1,5 @@
+ cmake_minimum_required (VERSION 2.8)
+-project (libmysofa)
++project (libmysofa C)
+
+ INCLUDE(CheckCCompilerFlag)
+ include(GenerateExportHeader)
Home |
Main Index |
Thread Index |
Old Index