void-packages/srcpkgs/cheese/template
2013-07-23 22:06:53 +02:00

53 lines
1.7 KiB
Text

# Template file for 'cheese'
pkgname=cheese
version=3.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool
gobject-introspection"
makedepends="gst-plugins-base1-devel clutter-gtk-devel>=1.4.4
clutter-gst-devel>=2.0.2_2 libgee08-devel>=0.10 libcanberra-devel
librsvg-devel libgudev-devel gnome-desktop-devel>=3.8.0 gst-plugins-bad1-devel
gst-plugins-good1 gnome-video-effects"
short_desc="GNOME tool to take pictures and videos from your webcam"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org/projects/cheese/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=5f08079b6ccaa6ea8de9163ff0e43554347c12e13f0a60eb6ad06d291c116937
long_desc="
A webcam application that supports image and video capture. Makes it easy to
take photos and videos of you, your friends, pets or whatever you want. Allows
you to apply fancy visual effects, fine-control image settings and has
features such as Multi-Burst mode, Countdown timer for photos."
libcheese_package() {
short_desc+=" - shared libraries"
replaces="cheese<=3.2.2" # for the typelib file
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
}
}
cheese-devel_package() {
depends="gst-plugins-base1-devel libcanberra-devel clutter-gst-devel>=2.0.2
clutter-gtk-devel>=1.4.4 libcheese-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
cheese_package() {
depends="desktop-file-utils hicolor-icon-theme
gst-plugins-good1 gnome-video-effects"
pkg_install() {
vmove all
}
}