2011-08-26 11:07:26 +02:00
|
|
|
# Template file for 'cheese'
|
|
|
|
pkgname=cheese
|
2015-09-29 00:32:28 +02:00
|
|
|
version=3.18.0
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-03-22 12:16:35 +01:00
|
|
|
configure_args="--disable-static --disable-schemas-compile"
|
2015-06-21 10:41:05 +02:00
|
|
|
hostmakedepends="pkg-config intltool gdk-pixbuf glib-devel
|
|
|
|
gnome-doc-utils itstool $(vopt_if gir gobject-introspection)"
|
2013-11-12 09:19:16 +01:00
|
|
|
makedepends="
|
2015-03-27 10:50:40 +01:00
|
|
|
gst-plugins-bad1-devel clutter-gtk-devel
|
2015-09-29 00:32:28 +02:00
|
|
|
clutter-gst3-devel libgee08-devel libcanberra-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
librsvg-devel libgudev-devel gnome-desktop-devel
|
|
|
|
gst-plugins-good1 libXtst-devel"
|
2014-03-27 16:34:07 +01:00
|
|
|
depends="clutter-gst>=2.0.10
|
|
|
|
clutter-gtk>=1.5.2
|
2014-01-01 16:10:11 +01:00
|
|
|
gst-plugins-good1>=1:1.2
|
|
|
|
desktop-file-utils
|
|
|
|
hicolor-icon-theme
|
2014-03-27 16:34:07 +01:00
|
|
|
gnome-video-effects>=0.4.1"
|
2011-08-26 11:07:26 +02:00
|
|
|
short_desc="GNOME tool to take pictures and videos from your webcam"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-09-30 10:23:33 +02:00
|
|
|
homepage="http://www.gnome.org/projects/cheese/"
|
|
|
|
license="GPL-2"
|
2013-09-26 16:39:26 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-09-29 00:32:28 +02:00
|
|
|
checksum=65ba4a60be51b9fc5537e5c1cdb6605b3098145982fae75a08ace94b965aeb0b
|
2013-04-12 08:55:23 +02:00
|
|
|
|
2015-06-21 10:41:05 +02:00
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
libcheese_package() {
|
2013-07-23 22:06:53 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2013-07-23 22:06:53 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2015-06-21 10:41:05 +02:00
|
|
|
if [ -n "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cheese-devel_package() {
|
2013-09-26 16:39:26 +02:00
|
|
|
depends="gst-plugins-bad1-devel>=1:1.2.0
|
2015-09-29 00:32:28 +02:00
|
|
|
clutter-gst3-devel
|
|
|
|
clutter-gtk-devel
|
2013-09-26 16:39:26 +02:00
|
|
|
libcanberra-devel
|
2014-03-27 16:34:07 +01:00
|
|
|
libcheese>=${version}_${revision}"
|
2013-07-23 22:06:53 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-23 22:06:53 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2015-06-21 10:41:05 +02:00
|
|
|
if [ -n "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|