mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
This seemed like a good idea when the app still used GTK3, but GTK4 already has a built-in video widget. Maintaning this single functionality would be hard and I cannot promise a stable API anyway. The app main and only purpose will be a video player from now on.
60 lines
1.6 KiB
Bash
60 lines
1.6 KiB
Bash
#
|
|
# PKGBUILD file for package clapper
|
|
#
|
|
# Copyright (C) 2020 sp1rit
|
|
# Copyright (C) 2020 Rafostar
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
# Maintainer: Rafostar <rafostar.github@gmail.com>
|
|
|
|
pkgname=clapper
|
|
pkgver=0.0.0
|
|
pkgrel=1
|
|
pkgdesc="A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering."
|
|
arch=(any)
|
|
url="https://github.com/Rafostar/clapper"
|
|
license=("GPL-3.0")
|
|
depends=(
|
|
"gtk4>=4.0.0"
|
|
"hicolor-icon-theme"
|
|
"gjs"
|
|
"gst-plugins-base-libs>=1.18.0"
|
|
"gst-plugins-good>=1.18.0"
|
|
"gst-plugins-bad-libs>=1.18.0"
|
|
)
|
|
makedepends=(
|
|
"meson>=0.50"
|
|
"gjs"
|
|
)
|
|
optdepends=(
|
|
"gst-libav: Popular video decoders"
|
|
"gstreamer-vaapi: Intel/AMD video acceleration"
|
|
)
|
|
source=("$pkgname-$pkgver.tar.xz")
|
|
provides=("${pkgname}")
|
|
replaces=("${pkgname}")
|
|
conflicts=("${pkgname}")
|
|
md5sums=("SKIP")
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
meson build/ --prefix=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
DESTDIR="$pkgdir" meson install -C build/
|
|
}
|