master hovercats/oakiss / repo / gst-plugins-base / build
 1#!/bin/sh -e
 2
 3export DESTDIR="$1"
 4export PKG_CONFIG_PATH=/usr/lib/pkgconfig
 5
 6# muon seems to make the check fail, and files seems to no be generated before
 7# check is ran. prompty making the build fail because pc files is missing.
 8patch -p1 < 0001-disable-check-for-pc-files.patch
 9
10muon setup \
11	-Dprefix=/usr \
12	-Dbuildtype=release \
13	-Db_colorout=never \
14	-Dgl=disabled \
15	-Dtests=disabled \
16	-Dtremor=disabled \
17	-Dexamples=disabled \
18	-Dcdparanoia=disabled \
19	-Dintrospection=disabled \
20	-Dnls=disabled \
21	-Ddoc=disabled \
22	-Dalsa=enabled \
23	-Ddefault_library=shared \
24	build
25
26samu -C build
27muon -C build install
28
29# Compress manpages
30find "$1/usr/share/man" -type f -exec gzip -n -9 {} +