Package Details: lib32-gst-plugins-bad-libs 1.24.0-2

Git Clone URL: https://aur.archlinux.org/lib32-gst-bad-ugly.git (read-only, click to copy)
Package Base: lib32-gst-bad-ugly
Description: Multimedia graph framework (32-bit) - bad
Upstream URL: https://gstreamer.freedesktop.org/
Licenses: LGPL
Replaces: lib32-gst-plugins-bad-libs-latest
Submitter: ahmubashshir
Maintainer: ahmubashshir (MarsSeed)
Last Packager: ahmubashshir
Votes: 46
Popularity: 1.18
First Submitted: 2023-01-07 17:47 (UTC)
Last Updated: 2024-04-18 18:37 (UTC)

Pinned Comments

ahmubashshir commented on 2023-11-18 14:43 (UTC) (edited on 2023-11-18 14:44 (UTC) by ahmubashshir)

If you have any improvements/suggestions for the pkgbuilds I maintain, please create an issue/pr on github.com/ahmubashshir/pkgbuilds or send the patches to ahmubashshir+pkgbuilds@gmail.com

p.s. sorry for being late, I was busy with my mid and part-time job last three months... it was truly chaotic...

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 20 Next › Last »

ahmubashshir commented on 2022-03-22 06:39 (UTC)

@MarSeed, This patch is for latest lib32-gst bad, but I had to disable a few plugins because their lib32 deps are not available.

--- a/lib32-gst-plugins-bad/PKGBUILD    2022-02-07 08:15:43.000000000 +0600
+++ b/lib32-gst-plugins-bad/PKGBUILD    2022-03-22 12:23:25.582102333 +0600
@@ -1,10 +1,10 @@
 # Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
 # Contributor: orumin <dev@orum.in>

-_basename=gst-plugins-bad
+_basename=gstreamer/subprojects/gst-plugins-bad
 pkgname=lib32-gst-plugins-bad
-pkgver=1.18.5
-pkgrel=2
+pkgver=1.20.1
+pkgrel=1
 pkgdesc="Multimedia graph framework - bad plugins (32-bit)"
 url="https://gstreamer.freedesktop.org/"
 arch=(x86_64)
@@ -26,8 +26,7 @@
 optdepends=('lib32-nvidia-utils: nvcodec plugin')
 checkdepends=(xorg-server-xvfb)
 options=(!emptydirs)
-_commit=d3af58d5b31941caa26c3ded85d7a7b84a91f0cc # tags/1.18.5^0
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit"
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#tag=$pkgver"
         1267.patch
         wpe-1.1.diff)
 sha256sums=('SKIP'
@@ -40,7 +39,7 @@
     git describe --tags | sed 's/-/+/g'
 }

-prepare() {
+_prepare() {
     cd $_basename

     # Neon 0.32.x
@@ -59,6 +58,7 @@
     arch-meson $_basename build \
         --libdir=lib32 \
         --libexecdir=lib32 \
+        -D gpl=enabled \
         -D introspection=disabled \
         -D doc=disabled \
         -D directfb=disabled \
@@ -72,12 +72,18 @@
         -D openmpt=disabled \
         -D openni2=disabled \
         -D opensles=disabled \
+        -D openaptx=disabled \
+        -D qroverlay=disabled \
         -D tinyalsa=disabled \
         -D voaacenc=disabled \
         -D voamrwbenc=disabled \
         -D wasapi2=disabled \
         -D wasapi=disabled \
+        -D gs=disabled \
         -D wpe=disabled \
+        -D ldac=disabled \
+        -D isac=disabled \
+        -D onnx=disabled \
         -D gobject-cast-checks=disabled \
         -D microdns=disabled \
         -D svthevcenc=disabled \

ahmubashshir commented on 2022-03-22 06:35 (UTC)

@MarSeed, use this patch.

--- a/lib32-gst-plugins-ugly/PKGBUILD   2021-12-29 03:27:00.000000000 +0600
+++ b/lib32-gst-plugins-ugly/PKGBUILD   2022-03-22 12:02:00.650084960 +0600
@@ -2,9 +2,9 @@
 # Contributor: orumin <dev@orum.in>
 # Contributor: Adam <adam900710@gmail.com>

-_basename=gst-plugins-ugly
+_basename=gstreamer/subprojects/gst-plugins-ugly
 pkgname=lib32-gst-plugins-ugly
-pkgver=1.18.5
+pkgver=1.20.1
 pkgrel=1
 pkgdesc="Multimedia graph framework - ugly plugins (32-bit)"
 url="https://gstreamer.freedesktop.org/"
@@ -13,8 +13,7 @@
 depends=(lib32-gst-plugins-base-libs lib32-libdvdread lib32-libmpeg2 lib32-a52dec lib32-libsidplay
          lib32-libcdio lib32-x264 lib32-opencore-amr gst-plugins-ugly)
 makedepends=(git meson python)
-_commit=bd1dfb44475ab04d42b217acdf90942e0b7893b5 # tags/1.18.5^0
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git#commit=$_commit")
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#tag=$pkgver")
 sha256sums=('SKIP')

 pkgver() {
@@ -36,6 +35,7 @@
         --libdir=lib32 \
         --libexecdir=lib32 \
         -D doc=disabled \
+        -D gpl=enabled \
         -D gobject-cast-checks=disabled \
         -D package-name="GStreamer Ugly Plugins (Arch Linux)" \
         -D package-origin="https://www.archlinux.org/"

ukbeast commented on 2022-03-05 19:04 (UTC)

@rodrigo21 I've had a go and I've been able to compile for ugly only, also passed tests. However, I do not understand on how to package :(

https://pastebin.com/h6LmtnnH

Maintainer: Jan Alexander Steffens (heftig) heftig@archlinux.org
Contributor: Jan de Groot jgc@archlinux.org

pkgbase=lib32-gstreamer pkgname=lib32-gst-plugins-ugly pkgver=1.20.0 pkgrel=1 pkgdesc="GStreamer open-source multimedia framework core library (32-bit)" url="https://gstreamer.freedesktop.org/" arch=(x86_64) makedepends=( # superproject git meson

# gstreamer lib32-libunwind bash-completion lib32-gtk3

# gst-plugins-ugly a52dec opencore-amr libcdio libdvdread libmpeg2 libsidplay x264

) checkdepends=(xorg-server-xvfb) source=( "git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git?signed#tag=$pkgver" "https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-$pkgver.tar.xz"{,.asc} 0001-openaptx-Support-libfreeaptx.patch 0002-wpe-Clean-up-build-script.patch ) sha256sums=('SKIP' '8c0cdf6faf99bb7ed9d54d5ea1bb31bfb58dcce77cbf7e17e54ca5d7c64ceb62' 'SKIP' 'dafd73f4264a027b207b2907d54f89f5c5731eab3f4806843878f29504f39b03' 'bbb07e1e21d385b40a69a0f2ae70ca07ccb41adfa1d35d9648e2e16df7d6d59e') validpgpkeys=(D637032E45B8C6585B9456565D2EEE6F6F349D7C) # Tim Müller tim@gstreamer-foundation.org

pkgver() { cd gstreamer git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' }

prepare() { cd gstreamer

# Build fixes git apply -3 ../0001-openaptx-Support-libfreeaptx.patch git apply -3 ../0002-wpe-Clean-up-build-script.patch

# Fix linking with system orc sed -i "s/get_option('orc')/false/" meson.build

# Disable broken tests sed -i "/subdir('tests')/d" subprojects/{gst-editing-services,gstreamer-vaapi}/meson.build sed -i "/subdir('testsuite')/d" subprojects/gst-python/meson.build sed -i "/'gst\/rtspserver'/d" subprojects/gst-rtsp-server/tests/check/meson.build

# Workaround broken detection of underscore prefixes # https://github.com/mesonbuild/meson/issues/5482 sed -i 's/-DPREFIX/-UPREFIX/' subprojects/gst-plugins-good/gst/deinterlace/meson.build }

build() { export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

arch-meson gstreamer build \ --libdir=lib32 \ --libexecdir=lib32 \ -D devtools=disabled \ -D doc=disabled \ -D examples=disabled \ -D gpl=enabled \ -D gst-examples=disabled \ -D introspection=disabled \ -D libnice=disabled \ -D gstreamer:dbghelp=disabled \ -D gstreamer:gobject-cast-checks=disabled \ -D gstreamer:package-name="Arch Linux gstreamer $pkgver-$pkgrel" \ -D gstreamer:package-origin="https://www.archlinux.org/" \ -D gstreamer:ptp-helper-permissions=capabilities \ -D gst-plugins-base:gobject-cast-checks=disabled \ -D gst-plugins-base:package-name="Arch Linux gst-plugins-base $pkgver-$pkgrel" \ -D gst-plugins-base:package-origin="https://www.archlinux.org/" \ -D gst-plugins-base:tremor=disabled \ -D gst-plugins-base:gl-graphene=disabled \ -D gst-plugins-ugly:gobject-cast-checks=disabled \ -D gst-plugins-ugly:package-name="Arch Linux gst-plugins-ugly $pkgver-$pkgrel" \ -D gst-plugins-ugly:package-origin="https://www.archlinux.org/" \ -D libnice=disabled \ -D bad=disabled \ -D base=disabled \ -D good=disabled \ -D libav=disabled \ -D rtsp_server=disabled \ -D ges=disabled \ -D vaapi=disabled \ -D omx=disabled \ -D sharp=disabled \ -D python=disabled \ -D rs=disabled \ -D orc=disabled

meson compile -C build }

check() ( mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}" export XDG_RUNTIME_DIR

# Flaky due to timeouts xvfb-run -s '-nolisten local' \ meson test -C build --print-errorlogs || : )

_install() { local src dir for src in "${files[@]}"; do dir="$pkgdir/$(dirname "$src")" mkdir -p "$dir" mv -v "$src" "$dir" done }

package_lib32-gstreamer() { pkgdesc+=" - core" depends=(lib32-libxml2 lib32-glib2 lib32-libunwind lib32-gtk3 lib32-libelf gstreamer)

DESTDIR="$srcdir/root" meson install -C build

rm -R "$srcdir"/root/usr/{share,include}

for _i in "$srcdir"/root/usr/bin/*; do mv "${_i}" "${_i}-32" done

cd root; local files=( usr/lib32/libgst{reamer,base,check,controller,net}-1.0.so* usr/lib32/pkgconfig/gstreamer{,-base,-check,-controller,-net}-1.0.pc

usr/lib32/gstreamer-1.0/gst-ptp-helper
usr/lib32/gstreamer-1.0/gst-{hotdoc-plugins,plugin}-scanner
usr/lib32/gstreamer-1.0/gst-plugins-doc-cache-generator
usr/lib32/gstreamer-1.0/libgstcoreelements.so
usr/lib32/gstreamer-1.0/libgstcoretracers.so

usr/bin/gst-{inspect,launch,stats,tester,typefind}-1.0-32

); _install } package_lib32-gst-plugins-ugly() { pkgdesc+=" - ugly plugins" depends=( "gst-plugins-base-libs=$pkgver" lib32-libdvdread lib32-libmpeg2 lib32-a52dec lib32-libsidplay lib32-libcdio lib32-x264 lib32-opencore-amr )

cd root; local files=( usr/lib32/gstreamer-1.0/libgsta52dec.so usr/lib32/gstreamer-1.0/libgstamrnb.so usr/lib32/gstreamer-1.0/libgstamrwbdec.so usr/lib32/gstreamer-1.0/libgstasf.so usr/lib32/gstreamer-1.0/libgstcdio.so usr/lib32/gstreamer-1.0/libgstdvdlpcmdec.so usr/lib32/gstreamer-1.0/libgstdvdread.so usr/lib32/gstreamer-1.0/libgstdvdsub.so usr/lib32/gstreamer-1.0/libgstmpeg2dec.so usr/lib32/gstreamer-1.0/libgstrealmedia.so usr/lib32/gstreamer-1.0/libgstsid.so usr/lib32/gstreamer-1.0/libgstx264.so usr/lib32/gstreamer-1.0/libgstxingmux.so

usr/share/gstreamer-1.0/presets/Gst{Amrnb,X264}Enc.prs

usr/share/locale/*/LC_MESSAGES/gst-plugins-ugly-1.0.mo

); _install }

rodrigo21 commented on 2022-02-22 18:32 (UTC)

Sorry, but I cannot continue to maintain this packages. With version 1.20 it uses a monolithic build with a part of it in the multilib repo, it's becoming too complex for me.

I hope someone adopts it and upgrades to version 1.20.

rodrigo21 commented on 2022-02-22 18:32 (UTC)

Sorry, but I cannot continue to maintain this packages. With version 1.20 it uses a monolithic build with a part of it in the multilib repo, it's becoming too complex for me.

I hope someone adopts it and upgrades to version 1.20.

rodrigo21 commented on 2022-02-22 18:32 (UTC)

Sorry, but I cannot continue to maintain this packages. With version 1.20 it uses a monolithic build with a part of it in the multilib repo, it's becoming too complex for me.

I hope someone adopts it and upgrades to version 1.20.

xhyinne commented on 2022-02-21 19:08 (UTC)

won't link:

[13/13] Linking target ext/libav/libgstlibav.so
FAILED: ext/libav/libgstlibav.so 
gcc -m32  -o ext/libav/libgstlibav.so ext/libav/libgstlibav.so.p/gstav.c.o ext/libav/libgstlibav.so.p/gstavprotocol.c.o ext/libav/libgstlibav.so.p/gstavcodecmap.c.o ext/libav/libgstlibav.so.p/gstavutils.c.o ext/libav/libgstlibav.so.p/gstavaudenc.c.o ext/libav/libgstlibav.so.p/gstavvidenc.c.o ext/libav/libgstlibav.so.p/gstavauddec.c.o ext/libav/libgstlibav.so.p/gstavviddec.c.o ext/libav/libgstlibav.so.p/gstavcfg.c.o ext/libav/libgstlibav.so.p/gstavdemux.c.o ext/libav/libgstlibav.so.p/gstavmux.c.o ext/libav/libgstlibav.so.p/gstavdeinterlace.c.o -flto -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgstlibav.so -Wl,--exclude-libs=ALL -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 /usr/lib32/libavfilter.so /usr/lib32/libavformat.so /usr/lib32/libavcodec.so /usr/lib32/libavutil.so /usr/lib32/libgstreamer-1.0.so /usr/lib32/libgobject-2.0.so /usr/lib32/libglib-2.0.so /usr/lib32/libgstbase-1.0.so /usr/lib32/libgstvideo-1.0.so /usr/lib32/libgstaudio-1.0.so /usr/lib32/libgsttag-1.0.so /usr/lib32/libgstpbutils-1.0.so -Wl,--end-group
/usr/bin/ld: /tmp/ccCrGtdf.ltrans0.ltrans.o: in function `gst_ffmpegaudenc_start':
<artificial>:(.text+0x4569): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: /tmp/ccCrGtdf.ltrans0.ltrans.o: in function `gst_ffmpegaudenc_set_format':
<artificial>:(.text+0xa20a): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xa989): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xab4c): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xabd0): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: /tmp/ccCrGtdf.ltrans1.ltrans.o:<artificial>:(.text+0x669): more undefined references to `avcodec_get_context_defaults3' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: lib32-gst-libav

Nocifer commented on 2022-01-25 16:49 (UTC) (edited on 2022-01-25 16:49 (UTC) by Nocifer)

I've created a new package for lib32-soundtouch to satisfy the missing dependency, so lib32-gst-plugins-bad can be built once again. I don't know if I did it all good and proper (AFAICT the original PKGBUILD had a lot of cruft which I've now removed or updated, so I may have broken something in the process) but at least it builds and installs fine, so I guess it's good in my book.