mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Update Arch PKGBUILD
This commit is contained in:
@@ -26,24 +26,40 @@ pkgdesc="A GNOME media player built using GJS and powered by GStreamer with Open
|
||||
arch=(any)
|
||||
url="https://github.com/Rafostar/clapper"
|
||||
license=("GPL-3.0")
|
||||
depends=("gjs" "gst-plugins-base-libs" "gst-plugin-gtk" "gst-plugins-bad-libs")
|
||||
makedepends=("meson" "gjs")
|
||||
optdepends=("gst-libav: Additional Codecs", "gstreamer-vaapi: Hardware acceleration")
|
||||
depends=(
|
||||
"gtk3>=3.19.4"
|
||||
"hicolor-icon-theme"
|
||||
"gjs"
|
||||
"gst-plugins-base-libs"
|
||||
"gst-plugin-gtk"
|
||||
"gst-plugins-bad-libs>=1.16.0"
|
||||
)
|
||||
makedepends=(
|
||||
"meson>=0.50"
|
||||
"gjs"
|
||||
"git"
|
||||
)
|
||||
optdepends=(
|
||||
"gst-libav: Popular video decoders"
|
||||
"gstreamer-vaapi: Intel/AMD video acceleration"
|
||||
)
|
||||
source=("${pkgname%-git}::git+https://github.com/Rafostar/${pkgname%-git}.git#branch=master")
|
||||
provides=("${pkgname%-git}")
|
||||
source=("${pkgname%-git}-$pkgver"::git+https://github.com/Rafostar/clapper.git)
|
||||
replaces=("${pkgname%-git}")
|
||||
conflicts=("${pkgname%-git}")
|
||||
md5sums=("SKIP")
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
pkgver() {
|
||||
cd "$srcdir"/"${pkgname%-git}"
|
||||
echo "0.0.0.r0.$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
cd "$srcdir"/"${pkgname%-git}"
|
||||
meson build/ --prefix=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
cd "$srcdir"/"${pkgname%-git}"
|
||||
DESTDIR="$pkgdir" meson install -C build/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user