1
0
forked from ports/contrib

pipewire: updated meson syntax

This commit is contained in:
Tim Biermann 2020-11-03 20:19:22 +00:00
parent 5ab8ef7ab9
commit 1f50b8002a
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38duSUIr2ThCnmEDDlfdhZHWM+ji/bNrXOh56NezL8ZoGbqJHo3jOAmezZRg8rqIVUu4Ei8bb2dpn31ye0eJ9Ak=
SHA256 (Pkgfile) = 44279e2b6ae6f5b56615af452488bac42394e4e3dd90081fe4e72d535bba022f
RWSagIOpLGJF34nYs5v3JEcIZhBHRVSbH52MXNwp6J/Jz1zYSoEUtDtFpeLm3F4IFtqWYaEwDfKj7MdzcEBp2poHZop5qT73hww=
SHA256 (Pkgfile) = 74b6e57f158360d041eb9844542c2389c4fa2f642907bdb3309b3b16e5e0bc10
SHA256 (.footprint) = 46933c8661153293229cd04abe6612fd0dd631de70a69b9153a41ae67e2ec900
SHA256 (pipewire-0.3.14.tar.gz) = c19f319c14af8cf5d740842ba78156f29100a504641be29043323c71b7f0ee57

View File

@ -16,11 +16,13 @@ build() {
[[ -e /usr/include/pulse/glib-mainloop.h ]] || PKGMK_PW+=' -Dpipewire-pulseaudio=false'
[[ -e /usr/lib/pkgconfig/gstreamer-1.0.pc ]] || PKGMK_PW+=' -Dgstreamer=false'
meson $name-$version build $PKGMK_PW \
meson setup $name-$version build $PKGMK_PW \
-D prefix=/usr \
--buildtype=plain \
-D b_ndebug=true \
-D docs=false \
-D examples=false \
-D tests=false
ninja -C build
DESTDIR=$PKG ninja -C build install
meson compile -C build
DESTDIR=$PKG meson install -C build
}