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