mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-14 07:24:26 +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
45 lines
1,006 B
Text
45 lines
1,006 B
Text
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=orc
|
|
pkgver=0.4.40
|
|
pkgrel=1
|
|
pkgdesc="Oil Run-time Compiler"
|
|
url="https://gstreamer.freedesktop.org/modules/orc.html"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
depends_dev="$pkgname-compiler=$pkgver-r$pkgrel"
|
|
makedepends="linux-headers meson"
|
|
subpackages="$pkgname-dev $pkgname-compiler"
|
|
source="https://gstreamer.freedesktop.org/src/orc/orc-$pkgver.tar.xz"
|
|
|
|
# secfixes:
|
|
# 0.4.39-r0:
|
|
# - CVE-2024-40897
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dorc-test=disabled \
|
|
-Dbenchmarks=enabled \
|
|
-Dtools=enabled \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
compiler() {
|
|
pkgdesc="Orc compiler"
|
|
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
2cbc0b8b9f5f429e0c4b24b7b9a8bc5d249c013470d8a595fdb3969a68a90c95c3b1e79063851f2d0ca7f7888d33901f227d2e04f919df00caf37eca6270c0e3 orc-0.4.40.tar.xz
|
|
"
|