35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'elementary'
|
|
pkgname=elementary
|
|
version=1.15.0
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="efl-devel"
|
|
depends="efl>=${version} desktop-file-utils"
|
|
build_style=gnu-configure
|
|
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@voidlinux.eu>"
|
|
license="BSD"
|
|
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=2be3180acbb9fa2fc0e9351b5508318925eb38733a6d54e1b3fc75e58368f1b0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" automake libtool gettext-devel elementary"
|
|
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="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|