Browse Source
subrepo: subdir: "gstreamer" merged: "0d0808d" upstream: origin: "gitea@gitea.artixlinux.org:packagesG/gstreamer.git" branch: "master" commit: "0d0808d" git-subrepo: version: "0.4.0" origin: "???" commit: "???"master
9 changed files with 173 additions and 0 deletions
@ -0,0 +1,33 @@
|
||||
# ---> ArchLinuxPackages |
||||
*.tar |
||||
*.tar.* |
||||
*.jar |
||||
*.exe |
||||
*.msi |
||||
*.zip |
||||
*.tgz |
||||
*.log |
||||
*.log.* |
||||
*.sig |
||||
|
||||
pkg/ |
||||
src/ |
||||
|
||||
|
||||
# ---> Archives |
||||
*.7z |
||||
*.rar |
||||
*.gz |
||||
*.bzip |
||||
*.bz2 |
||||
*.xz |
||||
*.lzma |
||||
*.cab |
||||
|
||||
# ---> systemd |
||||
*.service |
||||
*.socket |
||||
*.timer |
||||
|
||||
# ---> snap |
||||
*.snap |
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing) |
||||
; |
||||
; This subdirectory is a git "subrepo", and this file is maintained by the |
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme |
||||
; |
||||
[subrepo] |
||||
remote = gitea@gitea.artixlinux.org:packagesG/gstreamer.git |
||||
branch = master |
||||
commit = 0d0808d02d339f3d87ab2060d05f90b70c38cbad |
||||
parent = 51fbeafc208f4360018851c9464a43701e141d66 |
||||
method = merge |
||||
cmdver = 0.4.0 |
@ -0,0 +1,3 @@
|
||||
@Library('artix-ci') import org.artixlinux.RepoPackage |
||||
|
||||
PackagePipeline(new RepoPackage(this)) |
@ -0,0 +1,52 @@
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> |
||||
# Maintainer: Jan de Groot <jgc@archlinux.org> |
||||
|
||||
pkgname=gstreamer |
||||
pkgver=1.16.0 |
||||
pkgrel=2 |
||||
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 git valgrind bash-completion meson) |
||||
checkdepends=(gmp gsl gtk3) |
||||
_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^0 |
||||
install=gstreamer.install |
||||
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit" |
||||
"gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git") |
||||
sha256sums=('SKIP' |
||||
'SKIP') |
||||
|
||||
pkgver() { |
||||
cd $pkgname |
||||
git describe --tags | sed 's/-/+/g' |
||||
} |
||||
|
||||
prepare() { |
||||
cd $pkgname |
||||
|
||||
git submodule init |
||||
git config --local submodule.common.url "$srcdir/gst-common" |
||||
git submodule update |
||||
} |
||||
|
||||
build() { |
||||
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() { |
||||
meson test -C build --print-errorlogs |
||||
} |
||||
|
||||
package() { |
||||
DESTDIR="$pkgdir" meson install -C build |
||||
} |
@ -0,0 +1,7 @@
|
||||
post_install() { |
||||
setcap cap_net_bind_service,cap_net_admin+ep usr/lib/gstreamer-1.0/gst-ptp-helper |
||||
} |
||||
|
||||
post_upgrade() { |
||||
post_install |
||||
} |
@ -0,0 +1,52 @@
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> |
||||
# Maintainer: Jan de Groot <jgc@archlinux.org> |
||||
|
||||
pkgname=gstreamer |
||||
pkgver=1.16.0 |
||||
pkgrel=2 |
||||
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 git valgrind bash-completion meson) |
||||
checkdepends=(gmp gsl gtk3) |
||||
_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^0 |
||||
install=gstreamer.install |
||||
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit" |
||||
"gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git") |
||||
sha256sums=('SKIP' |
||||
'SKIP') |
||||
|
||||
pkgver() { |
||||
cd $pkgname |
||||
git describe --tags | sed 's/-/+/g' |
||||
} |
||||
|
||||
prepare() { |
||||
cd $pkgname |
||||
|
||||
git submodule init |
||||
git config --local submodule.common.url "$srcdir/gst-common" |
||||
git submodule update |
||||
} |
||||
|
||||
build() { |
||||
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() { |
||||
meson test -C build --print-errorlogs |
||||
} |
||||
|
||||
package() { |
||||
DESTDIR="$pkgdir" meson install -C build |
||||
} |
Loading…
Reference in new issue