void-packages/srcpkgs/emotion/template

59 lines
1.6 KiB
Plaintext
Raw Normal View History

2012-12-22 07:23:09 +01:00
# Template file for 'emotion'
pkgname=emotion
2013-11-15 14:43:26 +01:00
version=1.7.9
revision=2
hostmakedepends="libtool pkg-config edje-devel>=${version}"
makedepends="edje-devel>=${version} eeze-devel>=${version}"
2012-12-22 07:23:09 +01:00
build_style=gnu-configure
configure_args="--disable-static --enable-generic --disable-generic-vlc
--disable-install-examples --disable-emotion-test"
2012-12-22 07:23:09 +01:00
homepage="http://enlightenment.org"
short_desc="Library to easily integrate media playback into EFL applications"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
2013-05-17 14:22:44 +02:00
distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.bz2"
2013-11-15 14:43:26 +01:00
checksum=deaeb3ed147c5f057ea05a3caf3c89ee247cdff433149c7e3a7141269008cec9
# Package build options
build_options="gstreamer xine"
desc_option_gstreamer="Enable support for the GStreamer video backend"
desc_option_xine="Enable support for the Xine video backend"
build_options_default="xine"
if [ "$build_option_gstreamer" ]; then
configure_args+=" --enable-gstreamer"
makedepends+=" gst-plugins-base-devel"
else
configure_args+=" --disable-gstreamer"
fi
if [ "$build_option_xine" ]; then
configure_args+=" --enable-xine"
makedepends+=" xine-lib-devel"
else
configure_args+=" --disable-xine"
fi
pre_configure() {
libtoolize -f
}
emotion-devel_package() {
2013-11-15 14:43:26 +01:00
depends="eet-devel>=${version} evas-devel>=${version} ecore-devel>=${version} eeze-devel>=${version} ${sourcepkg}>=${version}_${revision}"
2013-05-17 14:22:44 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-13 21:50:44 +02:00
vmove "usr/lib/*.so"
}
}
emotion_package() {
if [ "$build_option_xine" ]; then
depends="xine-lib"
fi
pkg_install() {
2013-05-17 14:22:44 +02:00
vmove all
}
}