Mercurial > vanilla
comparison multimedia/gst-plugins-good/gst-plugins-good.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 337f950c30f5 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
214 with_x="-D ximagesrc-xshm=disabled $with_x" | 214 with_x="-D ximagesrc-xshm=disabled $with_x" |
215 with_x="-D ximagesrc-xfixes=disabled $with_x" | 215 with_x="-D ximagesrc-xfixes=disabled $with_x" |
216 with_x="-D ximagesrc-xdmage=disabled $with_x" | 216 with_x="-D ximagesrc-xdmage=disabled $with_x" |
217 fi | 217 fi |
218 | 218 |
219 build() | 219 rm -rf $PKGNAME-$PKGVERSION |
220 { | 220 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
221 rm -rf $PKGNAME-$PKGVERSION | 221 cd $PKGNAME-$PKGVERSION |
222 tar xvf $PKGNAME-$PKGVERSION.tar.xz | 222 |
223 cd $PKGNAME-$PKGVERSION | 223 CC="$CC" \ |
224 | 224 CFLAGS="$CFLAGS" \ |
225 CC="$CC" \ | 225 CXX="$CXX" \ |
226 CFLAGS="$CFLAGS" \ | 226 CXXFLAGS="$CXXFLAGS" \ |
227 CXX="$CXX" \ | 227 LDFLAGS="$LDFLAGS" \ |
228 CXXFLAGS="$CXXFLAGS" \ | 228 meson . build \ |
229 LDFLAGS="$LDFLAGS" \ | 229 --prefix / \ |
230 meson . build \ | 230 --buildtype release \ |
231 --prefix / \ | 231 --default-library shared \ |
232 --buildtype release \ | 232 -D tests=disabled \ |
233 --default-library shared \ | 233 $with_bzip2 \ |
234 -D tests=disabled \ | 234 $with_cairo \ |
235 $with_bzip2 \ | 235 $with_flac \ |
236 $with_cairo \ | 236 $with_gtk \ |
237 $with_flac \ | 237 $with_jack \ |
238 $with_gtk \ | 238 $with_jpeg \ |
239 $with_jack \ | 239 $with_lame \ |
240 $with_jpeg \ | 240 $with_libsoup \ |
241 $with_lame \ | 241 $with_mp2 \ |
242 $with_libsoup \ | 242 $with_mpg123 \ |
243 $with_mp2 \ | 243 $with_nls \ |
244 $with_mpg123 \ | 244 $with_oss \ |
245 $with_nls \ | 245 $with_png \ |
246 $with_oss \ | 246 $with_pulseaudio \ |
247 $with_png \ | 247 $with_qt \ |
248 $with_pulseaudio \ | 248 $with_shout \ |
249 $with_qt \ | 249 $with_speex \ |
250 $with_shout \ | 250 $with_taglib \ |
251 $with_speex \ | 251 $with_wavpack \ |
252 $with_taglib \ | 252 $with_x |
253 $with_wavpack \ | 253 CC="$CC" ninja -C build |
254 $with_x | 254 DESTDIR=$DESTDIR ninja -C build install |
255 CC="$CC" ninja -C build | 255 |
256 DESTDIR=$DESTDIR ninja -C build install | 256 cd .. |
257 | 257 rm -rf $PKGNAME-$PKGVERSION |
258 cd .. | |
259 rm -rf $PKGNAME-$PKGVERSION | |
260 } |