2012-12-22 06:52:16 +00:00
|
|
|
# Template file for 'elementary'
|
|
|
|
pkgname=elementary
|
2014-09-13 04:39:43 +00:00
|
|
|
version=1.11.2
|
2014-03-31 14:17:27 +00:00
|
|
|
revision=1
|
2013-05-17 12:28:10 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-08-27 05:13:42 +00:00
|
|
|
makedepends="efl-devel>=${version}"
|
2014-05-18 15:06:32 +00:00
|
|
|
depends="efl>=${version} desktop-file-utils"
|
2012-12-22 06:52:16 +00:00
|
|
|
build_style=gnu-configure
|
2013-12-18 10:26:27 +00:00
|
|
|
configure_args="--with-tests=none --disable-static --enable-quick-launch --disable-elementary-test"
|
2012-12-22 06:52:16 +00:00
|
|
|
homepage="http://enlightenment.org"
|
|
|
|
short_desc="Enlightenment's widget set"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2013-12-02 15:27:52 +00:00
|
|
|
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2014-09-13 04:39:43 +00:00
|
|
|
checksum=00229c373d0fafcb3d7239d154be90bafff9525383ef97c7c743dd130dd4f326
|
2013-04-12 08:23:11 +00:00
|
|
|
|
2013-12-18 10:26:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
# XXX needs host elm_prefs_cc
|
2014-07-24 15:28:17 +00:00
|
|
|
hostmakedepends+=" automake libtool gettext-devel elementary>=1.10"
|
2013-12-18 10:26:27 +00:00
|
|
|
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
|
|
|
|
|
2013-04-12 08:23:11 +00:00
|
|
|
elementary-devel_package() {
|
2014-08-27 05:13:42 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-17 12:28:10 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:23:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-12-02 15:27:52 +00:00
|
|
|
vmove usr/lib/cmake
|
2013-04-12 08:23:11 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-13 19:53:29 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:23:11 +00:00
|
|
|
}
|
|
|
|
}
|