mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
libmypaint: fix crossbuild
This commit is contained in:
parent
ae537179f5
commit
5ae76e86ba
1 changed files with 7 additions and 2 deletions
|
@ -4,8 +4,8 @@ version=1.3.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-gegl"
|
configure_args="--disable-gegl"
|
||||||
hostmakedepends="intltool pkg-config"
|
hostmakedepends="intltool pkg-config $(vopt_if gir gobject-introspection)"
|
||||||
makedepends="json-c-devel gobject-introspection glib-devel json-glib-devel"
|
makedepends="json-c-devel glib-devel json-glib-devel"
|
||||||
short_desc="MyPaint brush engine library"
|
short_desc="MyPaint brush engine library"
|
||||||
maintainer="Kartik S <kartik.ynwa@gmail.com>"
|
maintainer="Kartik S <kartik.ynwa@gmail.com>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
|
@ -13,6 +13,11 @@ homepage="https://github.com/mypaint/libmypaint"
|
||||||
distfiles="https://github.com/mypaint/libmypaint/releases/download/v${version}/libmypaint-${version}.tar.xz"
|
distfiles="https://github.com/mypaint/libmypaint/releases/download/v${version}/libmypaint-${version}.tar.xz"
|
||||||
checksum=6a07d9d57fea60f68d218a953ce91b168975a003db24de6ac01ad69dcc94a671
|
checksum=6a07d9d57fea60f68d218a953ce91b168975a003db24de6ac01ad69dcc94a671
|
||||||
|
|
||||||
|
build_options="gir"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default+=" gir"
|
||||||
|
fi
|
||||||
|
|
||||||
libmypaint-devel_package() {
|
libmypaint-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue