mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
fixed arch build
This commit is contained in:
18
pkgs/arch/.SRCINFO
Normal file
18
pkgs/arch/.SRCINFO
Normal file
@@ -0,0 +1,18 @@
|
||||
pkgbase = clapper-git
|
||||
pkgdesc = A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for Gtk apps.
|
||||
pkgver = 0.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/Rafostar/clapper
|
||||
arch = any
|
||||
license = GPL-3.0
|
||||
makedepends = meson
|
||||
makedepends = gjs
|
||||
depends = gjs
|
||||
depends = gst-plugins-bad-libs
|
||||
optdepends = gstreamer-vaapi: Hardware acceleration
|
||||
provides = clapper
|
||||
source = clapper-0.0.0::git+https://github.com/Rafostar/clapper.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = clapper-git
|
||||
|
4
pkgs/arch/.gitignore
vendored
Normal file
4
pkgs/arch/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
clapper-0.0.0
|
||||
clapper-*.pkg.tar.*
|
||||
pkg/
|
||||
src/
|
@@ -29,21 +29,21 @@ depends=("gjs" "gst-plugins-bad-libs")
|
||||
makedepends=("meson" "gjs")
|
||||
optdepends=("gstreamer-vaapi: Hardware acceleration")
|
||||
provides=("${pkgname%-git}")
|
||||
source=("${pkgname%-git}"::git+https://github.com/Rafostar/clapper.git)
|
||||
source=("${pkgname%-git}-$pkgver"::git+https://github.com/Rafostar/clapper.git)
|
||||
md5sums=("SKIP")
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
meson build/ --prefix=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
DESTDIR="$pkgdir" meson install -C build/
|
||||
ln -s "/usr/bin/com.github.rafostar.Clapper" "$pkgdir/bin/clapper"
|
||||
ln -s "$pkgdir/usr/bin/com.github.rafostar.Clapper" "$pkgdir/usr/bin/clapper"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user