50 lines
1.7 KiB
Bash
50 lines
1.7 KiB
Bash
# Template file for 'gimp'
|
|
pkgname=gimp
|
|
version=2.10.34
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-check-update --datadir=/usr/share --disable-python"
|
|
hostmakedepends="automake gegl gettext-devel glib-devel gtk+-devel intltool
|
|
libtool pkg-config perl-XML-Parser gtk-doc iso-codes"
|
|
makedepends="aalib-devel alsa-lib-devel babl-devel dbus-glib-devel gegl-devel
|
|
ghostscript-devel jasper-devel lcms2-devel libXcursor-devel libXpm-devel
|
|
libgexiv2-devel libgudev-devel libmng-devel libmypaint-devel
|
|
libopenexr-devel librsvg-devel libwmf-devel mypaint-brushes1
|
|
poppler-glib-devel glib-networking libwebp-devel
|
|
libheif-devel libopenjpeg2-devel x265-devel gtk+-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme iso-codes mypaint-brushes1"
|
|
short_desc="GNU image manipulation program"
|
|
conf_files="/etc/gimp/${version%%.*}.0/*"
|
|
maintainer="fosslinux <fosslinux@aussies.space>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://www.gimp.org"
|
|
distfiles="https://download.gimp.org/pub/gimp/v${version%.*}/gimp-${version}.tar.bz2"
|
|
checksum=84004642d351b398a4293cd7fd3592044a944f05bb52850ee6068f247c657aa3
|
|
lib32disabled=yes
|
|
no_generic_pkgconfig_link=yes
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
# don't allow configure to set DATADIRNAME=lib
|
|
vsed -i 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
|
|
}
|
|
|
|
libgimp_package() {
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
gimp-devel_package() {
|
|
depends="gegl-devel gtk+-devel lcms2-devel libgimp>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/aclocal
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|