2012-12-22 06:23:09 +00:00
|
|
|
# Template file for 'emotion'
|
|
|
|
pkgname=emotion
|
2013-11-15 13:43:26 +00:00
|
|
|
version=1.7.9
|
2013-11-17 03:41:50 +00:00
|
|
|
revision=3
|
2013-11-16 08:16:46 +00:00
|
|
|
hostmakedepends="libtool pkg-config edje-devel>=${version}"
|
|
|
|
makedepends="edje-devel>=${version} eeze-devel>=${version}"
|
2012-12-22 06:23:09 +00:00
|
|
|
build_style=gnu-configure
|
2013-11-16 08:16:46 +00:00
|
|
|
configure_args="--disable-static --enable-generic --disable-generic-vlc
|
|
|
|
--disable-install-examples --disable-emotion-test"
|
2012-12-22 06:23:09 +00: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 12:22:44 +00:00
|
|
|
distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.bz2"
|
2013-11-15 13:43:26 +00:00
|
|
|
checksum=deaeb3ed147c5f057ea05a3caf3c89ee247cdff433149c7e3a7141269008cec9
|
2013-04-12 08:23:11 +00:00
|
|
|
|
2013-11-16 08:16:46 +00:00
|
|
|
# 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"
|
2013-11-17 03:41:50 +00:00
|
|
|
build_options_default="gstreamer"
|
2013-11-16 08:16:46 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-04-12 08:23:11 +00:00
|
|
|
emotion-devel_package() {
|
2013-11-15 13:43:26 +00:00
|
|
|
depends="eet-devel>=${version} evas-devel>=${version} ecore-devel>=${version} eeze-devel>=${version} ${sourcepkg}>=${version}_${revision}"
|
2013-05-17 12:22:44 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:23:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-13 19:50:44 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:23:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
emotion_package() {
|
2013-11-16 08:16:46 +00:00
|
|
|
if [ "$build_option_xine" ]; then
|
|
|
|
depends="xine-lib"
|
|
|
|
fi
|
2013-04-12 08:23:11 +00:00
|
|
|
pkg_install() {
|
2013-05-17 12:22:44 +00:00
|
|
|
vmove all
|
2013-04-12 08:23:11 +00:00
|
|
|
}
|
|
|
|
}
|