2014-12-14 10:50:53 +00:00
|
|
|
# Template file for 'mypaint'
|
2014-12-13 14:35:39 +00:00
|
|
|
pkgname="mypaint"
|
|
|
|
version="1.1.0"
|
2014-12-14 11:05:49 +00:00
|
|
|
revision=3
|
2014-12-13 14:35:39 +00:00
|
|
|
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.bz2"
|
|
|
|
checksum="780d57e50dd90afd586873bc5120261930ea4c309d4d0958020916932122e838"
|
2014-12-14 10:38:50 +00:00
|
|
|
depends="pygtk python-numpy"
|
2014-12-14 11:05:49 +00:00
|
|
|
makedepends="libgomp-devel json-c-devel python-numpy-devel libglib-devel libpng-devel lcms2-devel gtk+-devel python-gobject2-devel"
|
2014-12-14 10:38:50 +00:00
|
|
|
hostmakedepends="scons swig pkg-config"
|
2014-12-14 10:50:53 +00:00
|
|
|
|
2014-12-13 17:39:22 +00:00
|
|
|
post_extract() {
|
2014-12-13 16:10:06 +00:00
|
|
|
sed -i "s/'json'/'json-c'/g" brushlib/SConscript
|
2014-12-13 14:35:39 +00:00
|
|
|
}
|
2014-12-13 17:39:22 +00:00
|
|
|
do_build() {
|
2014-12-14 11:05:49 +00:00
|
|
|
scons ${makejobs} enable_openmp=1
|
2014-12-13 14:35:39 +00:00
|
|
|
}
|
2014-12-13 17:39:22 +00:00
|
|
|
do_install() {
|
2014-12-14 11:05:49 +00:00
|
|
|
scons prefix=${DESTDIR}/usr enable_openmp=1 install
|
2014-12-14 10:50:53 +00:00
|
|
|
# Remove development files
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
2014-12-13 14:35:39 +00:00
|
|
|
}
|