void-packages/srcpkgs/cheese/template

53 lines
1.7 KiB
Plaintext

# Template file for 'cheese'
pkgname=cheese
version=3.8.0
revision=2
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=4e6f8c46ac6a2f80d0e8d540f582df1d5e2f67c59650cde0d60b837f5c779d9e
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
}
}