forked from ports/contrib
libsamplerate,libplacebo: adopted
This commit is contained in:
parent
19fa6ef35f
commit
3a724539fb
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37oMGiyWYPn1kcWlQhHJ0i1EoRpqoESrNBQsOQ+BSU/xWVJZrxKMUTtYQHX6XhkeekenFPPPr2HfbpywmZ+Rgw0=
|
||||
SHA256 (Pkgfile) = 845a7e7cdb54f6d99ee87c67aab0a899959151c3a4984e03caa4ba8f4ba497dd
|
||||
RWSagIOpLGJF319vcy66ARvkfbfZms2zP31FFUey9eo58f9ayQjrhOo57MVt7qqm1SAGDWCGmA7OWcr+WPzeydkUQRyK1jbgdgI=
|
||||
SHA256 (Pkgfile) = fa820782a721cba90f8167ab84aa13d346e51e0b77ba45c7b249fa61d10a1f13
|
||||
SHA256 (.footprint) = d96e8bca396f0e276af631d2a8c4e343bd071d7924491104aeb2f31a984fa63e
|
||||
SHA256 (libplacebo-v5.229.2.tar.gz) = a42035c69e4a6373cb9856cc0c5736f24af4485006f3b29605ddffba377264db
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: Reusable library for GPU-accelerated video/image rendering primitives
|
||||
# URL: https://github.com/haasn/libplacebo
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: ffmpeg glad glfw3 lcms2 libepoxy shaderc vulkan-loader
|
||||
|
||||
name=libplacebo
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38JuV2IAacFX+v+/mqtVMUtp84b4DlqaybTLu2OKjoJAFFJ0NxLWTdgJlALpSXRMZbjKQiVQUIHILO8wGnNY6gs=
|
||||
SHA256 (Pkgfile) = 54803f1bc013c135bd195f70c37d0f413f44a066261fc1a9af6f3dfe4a064762
|
||||
RWSagIOpLGJF3wK/SnP3T0qnEmjuMlAJpwoYf+eBzyt7Sj4M7po0gpSDGLyW91N/PrIYsMMF092tXvm34SCIRXOhijXP+WZLtwI=
|
||||
SHA256 (Pkgfile) = a4a86ddbc9e08d396f065044fd864b579189cf57db7675846440c7b64486524d
|
||||
SHA256 (.footprint) = 1f7df48e455ba4224278fae5d5ecbfe23878247913d6efd9b216cc3728026a31
|
||||
SHA256 (libsamplerate-0.2.2.tar.xz) = 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893
|
||||
|
@ -1,26 +1,25 @@
|
||||
# Description: Sound sample rate conversion library.
|
||||
# URL: https://libsndfile.github.io/libsamplerate/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: cmake libsndfile
|
||||
# Optional: fftw ninja
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: libsndfile
|
||||
# Optional: fftw
|
||||
|
||||
name=libsamplerate
|
||||
version=0.2.2
|
||||
release=1
|
||||
source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/$name-$version.tar.xz)
|
||||
source=(https://github.com/libsndfile/$name/releases/download/$version/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
prt-get isinst ninja && PKGMK_LSR+=' -G Ninja'
|
||||
|
||||
cmake -S $name-$version -B build $PKGMK_LSR \
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
|
||||
rm -r $PKG/usr/share
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user