aports/testing/pipeline/APKBUILD
2025-02-02 03:02:34 +00:00

50 lines
1.3 KiB
Text

# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=pipeline
pkgver=2.1.1
pkgrel=0
pkgdesc="Watch YouTube and PeerTube videos in one place"
url="https://gitlab.com/schmiddi-on-mobile/pipeline"
arch="all"
license="GPL-3.0-or-later"
makedepends="
appstream-glib
blueprint-compiler
cargo
cargo-auditable
clapper-dev
desktop-file-utils
gtk4.0-dev
libadwaita-dev
meson
openssl-dev
libsoup3-dev
"
subpackages="$pkgname-doc $pkgname-lang"
source="
$pkgname-$pkgver.tar.gz::https://gitlab.com/schmiddi-on-mobile/pipeline/-/archive/v$pkgver/pipeline-v$pkgver.tar.gz
"
options="net !check" # no tests
builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
default_prepare
meson setup build --prefix /usr
sed -i "s/cargo build/cargo auditable build --frozen/" build/build.ninja
CARGO_HOME="$builddir"/build/cargo-home cargo fetch --target="$CTARGET" --locked
}
build() {
meson compile -C build
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
sha512sums="
e5830fa678d5030f9f1e9276f9c0f30573bdbaa38e5e09c8d0ffa2d143b35dd5e7d7c7c0c441c8c75e57a5055131d489f4dc85c5f73c6d0d14a916c23def9183 pipeline-2.1.1.tar.gz
"