mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +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
86 lines
1.7 KiB
Text
86 lines
1.7 KiB
Text
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gimp
|
|
pkgver=3.0.2
|
|
pkgrel=0
|
|
pkgdesc="GNU Image Manipulation Program"
|
|
url="https://www.gimp.org/"
|
|
# nobody is using this on s390x
|
|
arch="all !s390x"
|
|
license="GPL-3.0-or-later"
|
|
depends="py3-gobject3"
|
|
makedepends="
|
|
appstream-glib-dev
|
|
babl-dev
|
|
desktop-file-utils
|
|
gegl-dev
|
|
gexiv2-dev
|
|
glib-networking
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
intltool
|
|
iso-codes-dev
|
|
lcms2-dev
|
|
libavif-dev
|
|
libexif-dev
|
|
libheif-dev
|
|
libjpeg-turbo-dev
|
|
libjxl-dev
|
|
libmypaint-dev
|
|
libpng-dev
|
|
librsvg-dev
|
|
libxcursor-dev
|
|
libxmu-dev
|
|
libxpm-dev
|
|
meson
|
|
mypaint-brushes
|
|
poppler-data
|
|
poppler-dev
|
|
tiff-dev
|
|
xz-dev
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gimp.org/pub/gimp/v${pkgver%.*}/gimp-$pkgver.tar.xz"
|
|
options="!check"
|
|
|
|
# secfixes:
|
|
# 2.10.36-r0:
|
|
# - CVE-2023-44441 ZDI-CAN-22093
|
|
# - CVE-2023-44442 ZDI-CAN-22094
|
|
# - CVE-2023-44443 ZDI-CAN-22096
|
|
# - CVE-2023-44444 ZDI-CAN-22097
|
|
# 2.8.22-r2:
|
|
# - CVE-2017-17784
|
|
# - CVE-2017-17785
|
|
# - CVE-2017-17786
|
|
# - CVE-2017-17787
|
|
# - CVE-2017-17788
|
|
# - CVE-2017-17789
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto" \
|
|
CXXFLAGS="$CXXFLAGS -flto=auto" \
|
|
abuild-meson \
|
|
-Dopenmp=enabled \
|
|
-Denable-console-bin=true \
|
|
-Dcheck-update=no \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
amove usr/bin/gimptool*
|
|
}
|
|
|
|
sha512sums="
|
|
e5f72f9f1447ff3ec5ab78bc589831767c00be91a0f337b1ab2d5beee3f79b01464c3de0dc1a518fd72180b4232be5b8d7121d186425a766090842b550f534df gimp-3.0.2.tar.xz
|
|
"
|