void-packages/srcpkgs/cheese/template

59 lines
1.6 KiB
Bash
Raw Normal View History

2011-08-26 11:07:26 +02:00
# Template file for 'cheese'
pkgname=cheese
2015-10-16 13:36:40 +02:00
version=3.18.1
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
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="
gst-plugins-bad1-devel clutter-gtk-devel
2015-09-29 00:32:28 +02:00
clutter-gst3-devel libgee08-devel libcanberra-devel
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
gst-plugins-good1
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"
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-10-16 13:36:40 +02:00
checksum=fc9d8798b1f0c6b35731f063869a32c6910bab6d0386b9ea36386ebda0d57177
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libcheese_package() {
2013-07-23 22:06:53 +02:00
short_desc+=" - shared libraries"
pkg_install() {
2013-07-23 22:06:53 +02:00
vmove "usr/lib/*.so.*"
if [ -n "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
cheese-devel_package() {
depends="gst-plugins-bad1-devel
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"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-23 22:06:53 +02:00
vmove "usr/lib/*.so"
if [ -n "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}