void-packages/srcpkgs/cheese/template

60 lines
1.6 KiB
Bash
Raw Normal View History

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
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>=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"
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
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
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() {
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"
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
}
}