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