Browse Source

[trunk] -> [extra] 'gstreamer-1.16.0-1' add

master
artoo 4 months ago
parent
commit
7a64ba1dc2
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B
2 changed files with 32 additions and 46 deletions
  1. 16
    23
      gstreamer/repos/extra-x86_64/PKGBUILD
  2. 16
    23
      gstreamer/trunk/PKGBUILD

+ 16
- 23
gstreamer/repos/extra-x86_64/PKGBUILD View File

@@ -2,19 +2,19 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer
pkgver=1.14.4
pkgver=1.16.0
pkgrel=1
pkgdesc="GStreamer open-source multimedia framework core library"
url="https://gstreamer.freedesktop.org/"
arch=(x86_64)
license=(LGPL)
depends=(libxml2 glib2 libunwind libcap libelf)
makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
checkdepends=(gmp gsl gtk3)
_commit=3c586dec930c5c253da0cf49e3f3846243f0ecf5 # tags/1.14.4^0
_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^0
install=gstreamer.install
source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
"gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
sha256sums=('SKIP'
'SKIP')

@@ -29,31 +29,24 @@ prepare() {
git submodule init
git config --local submodule.common.url "$srcdir/gst-common"
git submodule update

NOCONFIGURE=1 ./autogen.sh
}

build() {
cd $pkgname
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-package-name="GStreamer (Artix Linux)" \
--with-package-origin="https://www.artixlinux.org/" \
--enable-gtk-doc \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
arch-meson $pkgname build \
-D ptp-helper-permissions=capabilities \
-D dbghelp=disabled \
-D gobject-cast-checks=disabled \
-D glib-asserts=disabled \
-D glib-checks=disabled \
-D package-name="GStreamer (Artix Linux)" \
-D package-origin="https://www.artixlinux.org/"
ninja -C build
}

check() {
cd $pkgname
make check
meson test -C build --print-errorlogs
}

package() {
cd $pkgname
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install -C build
}

+ 16
- 23
gstreamer/trunk/PKGBUILD View File

@@ -2,19 +2,19 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer
pkgver=1.14.4
pkgver=1.16.0
pkgrel=1
pkgdesc="GStreamer open-source multimedia framework core library"
url="https://gstreamer.freedesktop.org/"
arch=(x86_64)
license=(LGPL)
depends=(libxml2 glib2 libunwind libcap libelf)
makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
checkdepends=(gmp gsl gtk3)
_commit=3c586dec930c5c253da0cf49e3f3846243f0ecf5 # tags/1.14.4^0
_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^0
install=gstreamer.install
source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
"gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
sha256sums=('SKIP'
'SKIP')

@@ -29,31 +29,24 @@ prepare() {
git submodule init
git config --local submodule.common.url "$srcdir/gst-common"
git submodule update

NOCONFIGURE=1 ./autogen.sh
}

build() {
cd $pkgname
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-package-name="GStreamer (Artix Linux)" \
--with-package-origin="https://www.artixlinux.org/" \
--enable-gtk-doc \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
arch-meson $pkgname build \
-D ptp-helper-permissions=capabilities \
-D dbghelp=disabled \
-D gobject-cast-checks=disabled \
-D glib-asserts=disabled \
-D glib-checks=disabled \
-D package-name="GStreamer (Artix Linux)" \
-D package-origin="https://www.artixlinux.org/"
ninja -C build
}

check() {
cd $pkgname
make check
meson test -C build --print-errorlogs
}

package() {
cd $pkgname
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install -C build
}

Loading…
Cancel
Save