2013-04-09 04:52:57 +02:00
|
|
|
# Description: A set of plugins for gstreamer that may pose distribution problems.
|
2017-02-15 13:11:44 +01:00
|
|
|
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2022-01-03 07:52:27 +01:00
|
|
|
# Depends on: gst-plugins-base x264
|
|
|
|
# Optional: libcdio libdvdread libsidplay libmpeg2 liba52 opencore-amr
|
2013-04-09 04:52:57 +02:00
|
|
|
|
2014-07-27 14:23:39 +02:00
|
|
|
name=gst-plugins-ugly
|
2022-05-22 16:10:56 +02:00
|
|
|
version=1.20.2
|
2022-02-19 15:26:22 +01:00
|
|
|
release=1
|
2017-02-15 13:11:44 +01:00
|
|
|
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
|
2013-04-09 04:52:57 +02:00
|
|
|
|
|
|
|
build() {
|
2022-01-03 07:52:27 +01:00
|
|
|
meson build $name-$version \
|
2013-04-09 04:52:57 +02:00
|
|
|
--prefix=/usr \
|
2022-01-03 07:52:27 +01:00
|
|
|
--libexecdir lib \
|
|
|
|
--buildtype plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D doc=disabled \
|
2019-10-06 09:38:39 +02:00
|
|
|
-D nls=disabled \
|
2022-01-03 07:52:27 +01:00
|
|
|
-D gobject-cast-checks=disabled \
|
|
|
|
-D package-name="GStreamer Ugly Plugins (CRUX Linux)" \
|
2019-10-06 09:38:39 +02:00
|
|
|
-D package-origin="https://crux.nu/"
|
2013-04-09 04:52:57 +02:00
|
|
|
|
2019-10-06 09:38:39 +02:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2013-04-09 04:52:57 +02:00
|
|
|
}
|