blob: a984b48f889bf9a4ed7776858decd82b43a478c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gimp
pkgver=2.10.12
pkgrel=4
pkgdesc="GNU Image Manipulation Program"
url="https://www.gimp.org/"
arch="all !s390x" # librsvg
license="GPL-3.0-or-later"
depends="dbus"
makedepends="gtk+-dev libxpm-dev libxmu-dev librsvg-dev dbus-glib-dev
libexif-dev desktop-file-utils intltool gegl-dev tiff-dev
libjpeg-turbo-dev libpng-dev iso-codes-dev lcms2-dev poppler-dev
babl-dev gexiv2-dev glib-networking xz-dev mypaint-brushes libmypaint-dev
poppler-data libexecinfo-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gimp.org/pub/gimp/v${pkgver%.*}/gimp-$pkgver.tar.bz2
0001-Issue-4392-Gimp-Segmentation-Fault-triggered-by-Glib.patch"
options="!check"
# secfixes:
# 2.8.22-r2:
# - CVE-2017-17784
# - CVE-2017-17785
# - CVE-2017-17786
# - CVE-2017-17787
# - CVE-2017-17788
# - CVE-2017-17789
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-dependency-tracking \
--sysconfdir=/etc \
--enable-mp \
--enable-gimp-console \
--disable-python \
--without-aa
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
dev() {
default_dev
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/gimptool* "$subpkgdir"/usr/bin
}
sha512sums="dd4af3f0fa6fca815d254b7f42aeff15412c38294f1f5bd491563e2b597fcb868e6adff9001b196a68e01cf49bde61cbb153b662b8da1aa1b4b1f7285879659f gimp-2.10.12.tar.bz2
88ff36f83093eb48e3efa56bf1b703d31d8915a28964beaf91194994d46ca74920435999a0489fd9b0f3b0ed41f04b1bca05dcb87767bd553f75ef43039dbe7e 0001-Issue-4392-Gimp-Segmentation-Fault-triggered-by-Glib.patch"
|