mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 02:14:49 +02: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
39 lines
911 B
Text
39 lines
911 B
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=video-trimmer
|
|
pkgver=0.9.0
|
|
pkgrel=0
|
|
pkgdesc="Trim videos quickly"
|
|
url="https://gitlab.gnome.org/YaLTeR/video-trimmer"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends="gst-libav"
|
|
makedepends="
|
|
blueprint-compiler
|
|
cargo
|
|
desktop-file-utils
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="https://gitlab.gnome.org/YaLTeR/video-trimmer/-/archive/v$pkgver/video-trimmer-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
f3e19c5545e51a5df12011f3075d79d9d7378799360aff2983278fd79bc2326aab9013eb315d8ad48cbfd6546aeb7836230a41b7eacaa0cab720b482821ebc13 video-trimmer-v0.9.0.tar.gz
|
|
"
|