mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +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
65 lines
1.8 KiB
Text
65 lines
1.8 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: mio <miyopan@e.email>
|
|
maintainer="mio <miyopan@e.email>"
|
|
pkgname=gedit
|
|
pkgver=48.2
|
|
pkgrel=0
|
|
pkgdesc="An easy-to-use and general-purpose text editor"
|
|
url="https://gedit-text-editor.org"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends_dev="gedit=$pkgver-r$pkgrel"
|
|
makedepends="
|
|
appstream-dev
|
|
docbook-xsl-nons
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gspell-dev
|
|
gtk+3.0-dev
|
|
gtk-doc
|
|
itstool
|
|
libgedit-gtksourceview-dev
|
|
libgedit-tepl-dev
|
|
libpeas-dev
|
|
libx11-dev
|
|
libxml2-dev
|
|
meson
|
|
perl
|
|
"
|
|
checkdepends="appstream-glib desktop-file-utils"
|
|
depends="gsettings-desktop-schemas"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
# Submodules are no longer included with a release tarball, see:
|
|
# https://gitlab.gnome.org/World/gedit/gedit/-/issues/611
|
|
# No commit hash specified in gedit repo .gitmodules, use the latest git head
|
|
# of libgd at the time of gedit tagged release. Unrelated to main/libgd.
|
|
_libgd_rev="3cccf99234288a6121b3945a25cd4ec3b7445c74"
|
|
source="https://gitlab.gnome.org/World/gedit/gedit/-/archive/$pkgver/gedit-$pkgver.tar.gz
|
|
https://gitlab.gnome.org/GNOME/libgd/-/archive/$_libgd_rev/libgd-$_libgd_rev.tar.gz
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
rm -r subprojects/libgd
|
|
mv "$srcdir"/libgd-$_libgd_rev subprojects/libgd
|
|
}
|
|
|
|
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="
|
|
406bd5ccc45178128c2251ab555f955f8dcc0d040fd2e3d20fc75b7164c4b750d9cae0285e8bc76637a3e500c07989132e6da0b7541c944eb379193a6cb84942 gedit-48.2.tar.gz
|
|
8ee7ddb533650cad953a9d13b5fe8db204b3b3cab7bb932ab5c31c21aa6a0094864a307e0e925f64044d18f725376cb5cb8ddb2d8377f76455be700d9ec94c26 libgd-3cccf99234288a6121b3945a25cd4ec3b7445c74.tar.gz
|
|
"
|