diff multimedia/gstreamer/gstreamer.sh @ 766:e91fbcb3d1ef

vanilla: consolidate FHS
author David Demelier <markand@malikania.fr>
date Fri, 09 Aug 2019 20:10:00 +0200
parents cff7770ad21a
children ae55d9077f70
line wrap: on
line diff
--- a/multimedia/gstreamer/gstreamer.sh	Thu Aug 08 17:10:50 2019 +0200
+++ b/multimedia/gstreamer/gstreamer.sh	Fri Aug 09 20:10:00 2019 +0200
@@ -53,18 +53,17 @@
 	CC="$CC" \
 	CFLAGS="$CFLAGS" \
 	LDFLAGS="$LDFLAGS" \
-	meson \
+	meson . build \
 		--prefix / \
 		--buildtype release \
 		--default-library shared \
 		-D tests=disabled \
 		$with_introspection \
-		$with_nls \
-		. build
+		$with_nls
 	CC="$CC" ninja -C build
 	DESTDIR=$DESTDIR ninja -C build install
+	sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
 
 	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }
-