blob: 0838e2efc147bb2a06094257152201ec46a7c975 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
# Maintainer: twa022 <twa022 at gmail dot com>
_pkgname=gimp
pkgname=${_pkgname}-devel
pkgver=3.1.2
pkgrel=1
pkgdesc='GNU Image Manipulation Program (development release)'
url='https://www.gimp.org/'
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
license=('GPL-3.0-or-later')
depends=(
# Core deps
'appstream-glib'
'babl'
'cairo'
'fontconfig'
'freetype2'
'gcc-libs'
'gdk-pixbuf2'
'gegl'
'glib2'
'glibc'
'gtk3'
'harfbuzz'
'hicolor-icon-theme'
'iso-codes'
'json-glib'
'lcms2'
'libgexiv2'
'libmypaint'
'libunwind'
'mypaint-brushes1'
'pango'
'python-gobject'
'zlib'
# Plugins deps
'aalib'
'bzip2'
'libgudev'
'libheif'
'libjpeg-turbo'
'libjxl'
'libmng'
'libpng'
'librsvg'
'libtiff'
'libwebp'
'libwmf'
'libx11'
'libxcursor'
'libxext'
'libxfixes'
'libxmu'
'libxpm'
'openexr'
'openjpeg2'
'poppler-data'
'poppler-glib'
'xz'
)
makedepends=(
'alsa-lib'
'appstream'
'cfitsio'
'ghostscript'
'gi-docgen'
'git'
'gjs'
'glib2-devel'
'gobject-introspection'
'gtk-doc'
'gvfs'
'intltool'
'libilbm'
'luajit'
'meson'
'qoi'
'vala'
)
optdepends=(
'alsa-lib: for MIDI event controller module'
'cfitsio: for FITS support'
'ghostscript: for PostScript support'
'gjs: for JavaScript scripting support'
'gutenprint: for sophisticated printing only as gimp has built-in cups print support'
'gvfs: for HTTP/S support (and many other schemes)'
'libilbm: ILBM support'
'luajit: LUA scripting support'
'lua51-lgi: LUA scripting support'
)
source=("https://download.gimp.org/pub/gimp/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz"
'linux.gpl'
)
sha256sums=('330b1634bec07dc34bec4e7e4109765b7b864a39a3702f6899de4738f2e38c2a'
'1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3')
build() {
local meson_options=(
--buildtype=plain
--prefix=/usr
--sysconfdir=/etc
--libexecdir=/usr/bin \
-Dopenmp=enabled
-Dcheck-update=no
-Dbug-report-url='https://aur.archlinux.org/packages/gimp-devel'
-Dopenexr=enabled
-Dheadless-tests=disabled # enabled by default, depends on xorg-server-xvfb
-Dlua=true
)
arch-meson ${_pkgname}-${pkgver} build "${meson_options[@]}"
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
}
|