diff --git a/gst-plugins-base.yaml b/gst-plugins-base.yaml new file mode 100644 index 00000000000..3fea5a9d976 --- /dev/null +++ b/gst-plugins-base.yaml @@ -0,0 +1,85 @@ +package: + name: gst-plugins-base + version: 1.22.4 + epoch: 0 + description: GStreamer streaming media framework base plug-ins + copyright: + - license: GPL-2.0-or-later AND LGPL-2.0-or-later + +environment: + contents: + packages: + - busybox + - ca-certificates-bundle + - build-base + - alsa-lib-dev + # - cdparanoia-dev + - expat-dev + - glib-dev + - gobject-introspection-dev + - graphene-dev + - gstreamer-dev + - gtk-2.0-dev + - libice-dev + - libogg-dev + - libsm-dev + - libtheora-dev + - libvorbis-dev + - libxv-dev + - mesa-dev + - meson + - opus-dev + - orc-compiler + - orc-dev + - perl + - cmake + - gdk-pixbuf + - gstreamer + +pipeline: + - uses: fetch + with: + expected-sha512: f623a78534ec7674e770bbec3900f909efd2b3388cfa5d3c47cceb968acbad681ba1b1fa1925f82c21f17151c226d9b5f188fc8699a57f2a94329d18d5745639 + uri: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${{package.version}}.tar.xz + + - runs: | + CFLAGS="${CFLAGS} -O2 -fPIC" \ + CPPFLAGS="$CFLAGS -O2" \ + CXXFLAGS="$CFLAGS -O2" \ + LDFLAGS="$(echo $LDFLAGS | sed 's/,-z,noexecheap//g')" \ + meson \ + -Db_lto=true \ + -Dalsa=enabled \ + -Dintrospection=enabled \ + -Dpackage-origin="https://alpinelinux.org" \ + -Dpackage-name="GStreamer base plug-ins (Alpine Linux)" \ + -Dtests=disabled \ + . output + meson compile -C output + + DESTDIR="${{targets.destdir}}" meson install --no-rebuild -C output + + - uses: strip + +subpackages: + - name: ${{package.name}}-dev + pipeline: + - uses: split/dev + description: ${{package.name}} dev + + - name: ${{package.name}}-doc + pipeline: + - uses: split/manpages + description: ${{package.name}} manpages + + - name: ${{package.name}}-lang + pipeline: + - runs: | + mkdir -p ${{targets.subpkgdir}}/usr/share/locale + mv ${{targets.destdir}}/usr/local/share/locale ${{targets.subpkgdir}}/usr/share/locale + description: ${{package.name}} lang + +update: + enabled: true + release-monitor: + identifier: 21850 diff --git a/packages.txt b/packages.txt index 617ccb6a99b..c66997d06c5 100644 --- a/packages.txt +++ b/packages.txt @@ -840,6 +840,7 @@ opus k3s gobuster runit +gst-plugins-base libtheora ipset nuclei