33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'mypaint'
|
|
pkgname=mypaint
|
|
version=1.2.0
|
|
revision=1
|
|
hostmakedepends="unzip scons swig pkg-config"
|
|
makedepends="libgomp-devel json-c-devel python-numpy libglib-devel libpng-devel
|
|
lcms2-devel gtk+3-devel python-gobject-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="https://github.com/${pkgname}/${pkgname}/archive/v${version}-beta.3.tar.gz"
|
|
checksum=b5b97dce391f8e5766d591adb65ca9b3a497cb9c1043dc190529ae99b7462dc4
|
|
wrksrc=${pkgname}-${version}-beta.3
|
|
|
|
pre_build() {
|
|
${XBPS_FETCH_CMD} https://github.com/mypaint/libmypaint/archive/master.zip
|
|
unzip master.zip
|
|
mv libmypaint-master/* brushlib/
|
|
}
|
|
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
|
|
}
|