void-packages/srcpkgs/cheese/template
2014-05-17 22:52:17 +02:00

49 lines
1.4 KiB
Text

# Template file for 'cheese'
pkgname=cheese
version=3.12.2
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-bad1-devel>=1:1.2.0 clutter-gtk-devel>=1.5.2
clutter-gst-devel>=2.0.10_2 libgee08-devel>=0.14 libcanberra-devel
librsvg-devel libgudev-devel gnome-desktop-devel>=3.12
gst-plugins-good1>=1:1.2.0 gnome-video-effects>=0.4.1"
depends="clutter-gst>=2.0.10
clutter-gtk>=1.5.2
gst-plugins-good1>=1:1.2
desktop-file-utils
hicolor-icon-theme
gnome-video-effects>=0.4.1"
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/${version%.*}/$pkgname-$version.tar.xz"
checksum=a7b45369e75e222e3bd5e9a4408a0e6c230be0c49d359a387d36a42e17e3bc64
libcheese_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
}
}
cheese-devel_package() {
depends="gst-plugins-bad1-devel>=1:1.2.0
clutter-gst-devel>=2.0.10
clutter-gtk-devel>=1.5.2
libcanberra-devel
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
}
}