forked from ports/contrib
portaudio: adopted
switch build system from autotools to cmake
This commit is contained in:
parent
afbf62005e
commit
a65406fc2b
@ -2,37 +2,15 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/pa_linux_alsa.h
|
||||
-rw-r--r-- root/root usr/include/portaudio.h
|
||||
drwxr-xr-x root/root usr/include/portaudiocpp/
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/AutoSystem.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/BlockingStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/CFunCallbackStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/CallbackInterface.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/CallbackStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/CppFunCallbackStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/Device.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/DirectionSpecificStreamParameters.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/Exception.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/HostApi.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/InterfaceCallbackStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/MemFunCallbackStream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/PortAudioCpp.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/SampleDataFormat.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/Stream.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/StreamParameters.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/System.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/SystemDeviceIterator.hxx
|
||||
-rw-r--r-- root/root usr/include/portaudiocpp/SystemHostApiIterator.hxx
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libportaudio.a
|
||||
-rwxr-xr-x root/root usr/lib/libportaudio.la
|
||||
lrwxrwxrwx root/root usr/lib/libportaudio.so -> libportaudio.so.2.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libportaudio.so.2 -> libportaudio.so.2.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libportaudio.so.2.0.0
|
||||
-rw-r--r-- root/root usr/lib/libportaudiocpp.a
|
||||
-rwxr-xr-x root/root usr/lib/libportaudiocpp.la
|
||||
lrwxrwxrwx root/root usr/lib/libportaudiocpp.so -> libportaudiocpp.so.0.0.12
|
||||
lrwxrwxrwx root/root usr/lib/libportaudiocpp.so.0 -> libportaudiocpp.so.0.0.12
|
||||
-rwxr-xr-x root/root usr/lib/libportaudiocpp.so.0.0.12
|
||||
drwxr-xr-x root/root usr/lib/cmake/
|
||||
drwxr-xr-x root/root usr/lib/cmake/portaudio/
|
||||
-rw-r--r-- root/root usr/lib/cmake/portaudio/PortAudioConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/portaudio/PortAudioConfigVersion.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/portaudio/PortAudioTargets-release.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/portaudio/PortAudioTargets.cmake
|
||||
lrwxrwxrwx root/root usr/lib/libportaudio.so -> libportaudio.so.2
|
||||
-rwxr-xr-x root/root usr/lib/libportaudio.so.19.8
|
||||
lrwxrwxrwx root/root usr/lib/libportaudio.so.2 -> libportaudio.so.19.8
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/portaudio-2.0.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/portaudiocpp.pc
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF356ILP8LdbL4rV9F+rVEYsrYk40oYxBJBQ5wX8/oxhsAaLiNWbCJHpCsSNToB7BkLx5fZn0XZmVgEOa1ZUm76w4=
|
||||
SHA256 (Pkgfile) = b963fd93285aeffbff57afd31bbd415c9e1e83fb85251d1c50b9759c11889509
|
||||
SHA256 (.footprint) = 1da466ce5d42da34935b2f7bcebd2e1e4dffe3128c98da7cd965e295a16a69c7
|
||||
SHA256 (pa_stable_v190700_20210406.tgz) = 47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def
|
||||
RWSagIOpLGJF31tXkedEjYkNNAY3+BBAMs//lUHaCc0QWXTNhWOQbELFA9hKn/Wr/SU2vpJpmis3jVtT5wKOywj8lIu2syhVmw0=
|
||||
SHA256 (Pkgfile) = 2d4bca0f707c442f7b2bff007c3e5986da8c0297b4ff2275a26a298c5f07a6c7
|
||||
SHA256 (.footprint) = a5d23201e74b0cdf83ddafff887cb65a9ad0b86b07f04eb5a7f2b34173a0751e
|
||||
SHA256 (portaudio-190700_20231103.tar.gz) = 2c63fca878a72bbdd57806b4514c72f3ce9b0336d04737c2b3024cc6113d6bbb
|
||||
|
@ -1,21 +1,30 @@
|
||||
# Description: Portable cross-platform audio I/O library
|
||||
# URL: http://portaudio.com
|
||||
# Maintainer: unmaintained
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: alsa-lib
|
||||
# Optional: jack-audio-connection-kit
|
||||
# Optional: pulseaudio jack-audio-connection-kit
|
||||
|
||||
name=portaudio
|
||||
version=190700_20210406
|
||||
version=190700_20231103
|
||||
_commit=8a9ebfd29f2818d6ce6e8b6c3b9e3cccce0e0691
|
||||
release=1
|
||||
source=(http://files.portaudio.com/archives/pa_stable_v$version.tgz)
|
||||
source=(https://github.com/PortAudio/$name/archive/$_commit/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name
|
||||
PKGMK_PORTAU=(-Wno-dev
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
-DPA_BUILD_SHARED_LIBS=ON
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS"
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS")
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-cxx
|
||||
prt-get isinst jack-audio-connection-kit || PKGMK_PORTAU+=(-DPA_USE_JACK=OFF)
|
||||
cmake -S $name-$_commit -B build -G Ninja "${PKGMK_PORTAU[@]}"
|
||||
|
||||
make -j1
|
||||
make DESTDIR=$PKG install
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
|
||||
# delete junk files
|
||||
rm -rf $PKG/usr/share
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user