void-packages/srcpkgs/cheese/template

53 lines
1.7 KiB
Plaintext

# Template file for 'cheese'
pkgname=cheese
version=3.8.1
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=e9f7a7855c52451cfc59ffa23962eaa5fda7c9bc629bb975f4328af061d01eeb
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="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
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 usr
}
}