Package Details: lib32-gst-plugins-bad-libs 1.24.8-1

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: 0.022775
First Submitted: 2023-01-07 17:47 (UTC)
Last Updated: 2024-10-28 05:13 (UTC)

Dependencies (80)

Required by (1)

Sources (3)

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 12 .. 21 Next › Last »

ahmubashshir commented on 2022-07-11 21:40 (UTC)

gst-plugins-base-libs should be added to makedepends[] as lib32-gst-plugins-base-libs doesn't depend on it and it's only required for build.

arzeth commented on 2022-07-03 20:08 (UTC) (edited on 2022-07-03 20:11 (UTC) by arzeth)

PKGBUILD was updated, so here's a more recent patch:

cd %pkgbuilddir%
copy paste the patch into x.patch
patch -p1 < x.patch

x.patch:

diff --git a/PKGBUILD b/PKGBUILD
index c607ef5..1272665 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@

 pkgname='lib32-gst-plugins-bad'
 _basename="${pkgname#lib32-}"
-pkgver=1.18.5
-pkgrel=2
+pkgver=1.20.3
+pkgrel=1
 pkgdesc='Multimedia graph framework - bad plugins (32-bit)'
 arch=('x86_64')
 url='https://gstreamer.freedesktop.org/'
@@ -93,20 +93,16 @@ checkdepends=('xorg-server-xvfb')
 optdepends=('lib32-nvidia-utils: nvcodec plugin')
 options=('!emptydirs')
 _tarname="${_basename}-${pkgver}"
-source=("${_tarname}.tar.xz::${url}src/${_basename}/${_tarname}.tar.xz"
-        '1267.patch'
-        'wpe-1.1.diff')
-sha256sums=('a164923b94f0d08578a6fcaeaac6e0c05da788a46903a1086870e9ca45ad678e'
-            '6b44a256d1ce3ed788d689a9abc5d8a2c4f992ce3c6c60f7a1efb4aa5cc3deb1'
-            '841988d7dffaf98adeff046cfeed97505a66d268c156361ac29c2b7a112cf984')
+source=("${_tarname}.tar.xz::${url}src/${_basename}/${_tarname}.tar.xz")
+sha256sums=('7a11c13b55dd1d2386dd902219e41cbfcdda8e1e0aa3e738186c95074b35da4f')

 prepare() {
     # Neon 0.32.x
     # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1267
-    patch -Np3 --directory="${_tarname}" --input='../1267.patch'
+    #patch -Np3 --directory="${_tarname}" --input='../1267.patch'

     # wpe-webkit-1.1 (libsoup3)
-    patch -Np1 --directory="${_tarname}" --input='../wpe-1.1.diff'
+    #patch -Np1 --directory="${_tarname}" --input='../wpe-1.1.diff'

     # configure
     export CC='gcc -m32'
@@ -117,6 +113,7 @@ prepare() {
     arch-meson "${_tarname}" 'build' \
         --libdir='lib32' \
         --libexecdir='lib32' \
+        -Dgpl='enabled' \
         -Dintrospection='disabled' \
         -Ddoc='disabled' \
         -Ddirectfb='disabled' \
@@ -141,6 +138,12 @@ prepare() {
         -Dsvthevcenc='disabled' \
         -Dzxing='disabled' \
         -Dopenexr='disabled' \
+        -Dgs='disabled' \
+        -Disac='disabled' \
+        -Dldac='disabled' \
+        -Donnx='disabled' \
+        -Dopenaptx='disabled' \
+        -Dqroverlay='disabled' \
         -Dpackage-name="Arch Linux ${pkgname} ${pkgver}-${pkgrel}" \
         -Dpackage-origin='https://www.archlinux.org/'
 }

rodrigo21 commented on 2022-05-22 01:43 (UTC) (edited on 2022-05-22 01:44 (UTC) by rodrigo21)

Hi @MarsSeed, the patches posted by @ahmubashshir are working. I just build the 3 lib32-gst's packages that I was maintaining and they are working fine.

If you want, I can update the packages. Just put me as co-maintainer in this package and in lib32-gst-plugins-ugly and lib32-gst-libav.

Thanks.

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

--- a/lib32-gst-libav/PKGBUILD  2021-12-29 03:18:11.000000000 +0600
+++ b/lib32-gst-libav/PKGBUILD  2022-03-22 12:42:36.278117515 +0600
@@ -3,9 +3,9 @@
 # Contributor: orumin <dev@orum.in>
 # Contributor: Adam <adam900710 at gmail dot com>

-_basename=gst-libav
+_basename=gstreamer/subprojects/gst-libav
 pkgname=lib32-gst-libav
-pkgver=1.18.5
+pkgver=1.20.1
 pkgrel=1
 pkgdesc="Multimedia graph framework - libav plugin (32-bit)"
 url="https://gstreamer.freedesktop.org/"
@@ -14,8 +14,7 @@
 depends=(bzip2 lib32-gst-plugins-base-libs lib32-libffmpeg gst-libav)
 makedepends=(python git meson)
 provides=("lib32-gst-ffmpeg=$pkgver-$pkgrel")
-_commit=9db917cab4c20e72e53ed962406a0d94636a2a39 # tags/1.18.5^0
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git#commit=$_commit")
+source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#tag=$pkgver")
 sha256sums=('SKIP')

 pkgver() {

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.