elementary: cross build support.
This commit is contained in:
parent
d17cbab9a6
commit
0775d721ef
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'elementary'
|
||||
pkgname=elementary
|
||||
version=1.8.1
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="efl-devel>=${version} desktop-file-utils"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-quick-launch --disable-elementary-test"
|
||||
configure_args="--with-tests=none --disable-static --enable-quick-launch --disable-elementary-test"
|
||||
homepage="http://enlightenment.org"
|
||||
short_desc="Enlightenment's widget set"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -13,6 +13,16 @@ license="BSD"
|
|||
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=8e18b9ae071829f0a104438a47451f332dc93ad9b6773648461e947859218888
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX needs host elm_prefs_cc
|
||||
hostmakedepends+=" automake libtool gettext-devel efl>=1.8 elementary>=1.8"
|
||||
configure_args+=" --with-elm-prefs-cc=/usr/bin/elm_prefs_cc"
|
||||
pre_configure() {
|
||||
sed -e 's,^\(ELM_PREFS_CC \).*$,\1=/usr/bin/elm_prefs_cc,g' -i data/objects/Makefile.am
|
||||
autoreconf -fi
|
||||
}
|
||||
fi
|
||||
|
||||
elementary-devel_package() {
|
||||
depends="efl-devel>=${version} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue