30 lines
929 B
Bash
30 lines
929 B
Bash
# Template file for 'mypaint'
|
|
pkgname=mypaint
|
|
version=1.1.0
|
|
revision=5
|
|
hostmakedepends="scons swig pkg-config"
|
|
makedepends="libgomp-devel json-c-devel python-numpy libglib-devel libpng-devel
|
|
lcms2-devel gtk+-devel python-gobject2-devel"
|
|
depends="pygtk python-numpy"
|
|
pycompile_dirs="/usr/share/mypaint"
|
|
short_desc="Graphics application for digital painters"
|
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
|
license="GPL-2"
|
|
homepage="http://mypaint.intilinux.com"
|
|
distfiles="http://download.gna.org/mypaint/mypaint-${version}.tar.xz"
|
|
checksum=58fd90b08fa3142b6dddc2a656c0e406fc3ebcf9086b84e83815780ab7698036
|
|
|
|
pre_build() {
|
|
sed -i "s/'json'/'json-c'/g" brushlib/SConscript
|
|
}
|
|
do_build() {
|
|
scons ${makejobs} enable_openmp=1
|
|
}
|
|
do_install() {
|
|
scons prefix=${DESTDIR}/usr enable_openmp=1 install
|
|
# Remove development files
|
|
rm -rf ${DESTDIR}/usr/include
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
}
|