mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
55 lines
1.3 KiB
Text
55 lines
1.3 KiB
Text
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
pkgname=pipeline
|
|
pkgver=2.2.2
|
|
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/$pkgver/pipeline-$pkgver.tar.gz
|
|
cargo-auditable.patch
|
|
"
|
|
options="net"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
8233bbae217fd43b484e7a72447ebced4973a00307b881d28e9562532c1bd2733d98591ccf509cadd631d6aa573a2ba8300e503a1a5b3f0f3b24cccfdf0a0a83 pipeline-2.2.2.tar.gz
|
|
e6faae8a164e818b87d5366a9d495a953e40fd37e801253daff253cc9d9c42a8893129aecb2e4f3fba9f43f3a0646ffebca5e48ce67defeb9fdf3ea5a0844e7f cargo-auditable.patch
|
|
"
|