diff options
author | Mazhar Hussain | 2022-12-03 14:51:14 +0500 |
---|---|---|
committer | Mazhar Hussain | 2022-12-03 14:51:14 +0500 |
commit | 096cb2ef1a164db5e824ae56df4d5e6d62c09d0d (patch) | |
tree | d5be043e1a896fe70dad659c768c70dcefadeb88 | |
download | aur-096cb2ef1a164db5e824ae56df4d5e6d62c09d0d.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1f230c5dbc1a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = gst-plugin-gtk4-git + pkgdesc = Multimedia graph framework - GTK4 plugin + pkgver = r2318.aa2abc50 + pkgrel = 1 + url = https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs + arch = any + license = MPL2 + makedepends = git + makedepends = rust + makedepends = cargo-c + depends = gstreamer + depends = gtk4 + provides = gst-plugin-gtk4 + conflicts = gst-plugin-gtk4 + source = gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git + sha256sums = SKIP + +pkgname = gst-plugin-gtk4-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f059b4f4bc9f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +gst-plugins-rs* +gst-plugin-gtk4* +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7d533ebc0d1e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mazhar Hussain <mmazharhussainkgb1145@gmail.com> +reponame=gst-plugins-rs +pkgname=gst-plugin-gtk4-git +pkgver=r2318.aa2abc50 +pkgrel=1 +pkgdesc="Multimedia graph framework - GTK4 plugin" +arch=(any) +url="https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +license=(MPL2) +provides=(gst-plugin-gtk4) +conflicts=(gst-plugin-gtk4) +depends=(gstreamer gtk4) +makedepends=(git rust cargo-c) +source=("${reponame}"::"git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$reponame"/video/gtk4 + echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + cd "$srcdir/$reponame"/video/gtk4 + cargo cinstall -p gst-plugin-gtk4 --prefix=/usr --destdir="$pkgdir" +} |