forked from ports/compat-32
29 lines
694 B
Plaintext
29 lines
694 B
Plaintext
# Description: The Oil Runtime Compiler.
|
|
# URL: https://gstreamer.freedesktop.org/projects/orc.html
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: orc
|
|
|
|
name=orc-32
|
|
version=0.4.38
|
|
release=1
|
|
source=(https://gstreamer.freedesktop.org/src/orc/orc-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup orc-$version build \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D benchmarks=disabled \
|
|
-D examples=disabled \
|
|
-D gtk_doc=disabled \
|
|
-D tests=disabled
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{bin,include}
|
|
}
|