mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libbs2b, new recipe for bs2b without plugin vst (#2638)
This commit is contained in:
committed by
waddlesplash
parent
a77ad4ff74
commit
8c08cd23e4
72
media-libs/libbs2b/libbs2b-3.1.0.recipe
Normal file
72
media-libs/libbs2b/libbs2b-3.1.0.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY="Bauer stereophonic-to-binaural DSP library"
|
||||
DESCRIPTION="The Bauer stereophonic-to-binaural DSP (bs2b) library and \
|
||||
plugins is designed to improve headphone listening of stereo audio records. \
|
||||
Recommended for headphone prolonged listening to disable superstereo \
|
||||
fatigue without essential distortions."
|
||||
HOMEPAGE="http://bs2b.sourceforge.net/"
|
||||
COPYRIGHT="2009 Boris Mikhaylov"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/bs2b/libbs2b-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f"
|
||||
PATCHES="libbs2b-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libbs2b$secondaryArchSuffix = $portVersion
|
||||
cmd:bs2bconvert$secondaryArchSuffix
|
||||
cmd:bs2bstream$secondaryArchSuffix
|
||||
lib:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libbs2b${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libbs2b$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libbs2b$secondaryArchSuffix \
|
||||
"$libDir"/libbs2b.so.0.0.0 \
|
||||
"$binDir"/bs2bconvert \
|
||||
"$binDir"/bs2bstream
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm "$libDir"/*.la
|
||||
|
||||
prepareInstalledDevelLib libbs2b
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
26
media-libs/libbs2b/patches/libbs2b-3.1.0.patchset
Normal file
26
media-libs/libbs2b/patches/libbs2b-3.1.0.patchset
Normal file
@@ -0,0 +1,26 @@
|
||||
From b99892b5ddce45eb11e90659a6e51d2380e2b0c9 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 3 Jun 2018 07:16:13 +0200
|
||||
Subject: make automake happy
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5a2f76c..892cb83 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -5,10 +5,11 @@ AC_PREREQ([2.63])
|
||||
AC_INIT([libbs2b], [3.1.0], [boris_mikhaylov@users.sourceforge.net])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AM_INIT_AUTOMAKE([1.10.1 -Wall foreign subdir-objects
|
||||
- dist-zip dist-bzip2 dist-lzma])
|
||||
+ dist-zip dist-bzip2])
|
||||
AC_CONFIG_SRCDIR([src/bs2b.h])
|
||||
|
||||
# Checks for programs.
|
||||
+AM_PROG_AR
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
--
|
||||
2.16.4
|
||||
|
||||
Reference in New Issue
Block a user