mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 06:24:34 +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
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: mio <miyopan@e.email>
|
|
maintainer="mio <miyopan@e.email>"
|
|
pkgname=libgedit-tepl
|
|
pkgver=6.13.0
|
|
pkgrel=0
|
|
pkgdesc="Gedit Technology — text editor product line"
|
|
url="https://gitlab.gnome.org/World/gedit/libgedit-tepl"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
depends_dev="
|
|
glib-dev
|
|
gtk+3.0-dev
|
|
libgedit-gtksourceview-dev
|
|
"
|
|
makedepends="
|
|
$depends_dev
|
|
docbook-xsl-nons
|
|
gobject-introspection-dev
|
|
gsettings-desktop-schemas-dev
|
|
gtk-doc
|
|
libgedit-amtk-dev
|
|
libgedit-gfls-dev
|
|
libhandy1-dev
|
|
meson
|
|
"
|
|
checkdepends="xvfb-run"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://gitlab.gnome.org/World/gedit/libgedit-tepl/-/archive/$pkgver/libgedit-tepl-$pkgver.tar.gz"
|
|
replaces="tepl"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
xvfb-run -a meson test -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d18defd5ba001606bb6dca34befec0ec457ae93c44a13a52febeb320c91429eea4eaa56a8c538f53c14885861f2bd95d001e98909d5774145b34fdac1662c199 libgedit-tepl-6.13.0.tar.gz
|
|
"
|