58 lines
1.6 KiB
Bash
58 lines
1.6 KiB
Bash
# Template file for 'cheese'
|
|
pkgname=cheese
|
|
version=3.18.1
|
|
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)"
|
|
makedepends="
|
|
gst-plugins-bad1-devel clutter-gtk-devel
|
|
clutter-gst3-devel libgee08-devel libcanberra-devel
|
|
librsvg-devel libgudev-devel gnome-desktop-devel
|
|
gst-plugins-good1 libXtst-devel"
|
|
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@voidlinux.eu>"
|
|
homepage="http://www.gnome.org/projects/cheese/"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=fc9d8798b1f0c6b35731f063869a32c6910bab6d0386b9ea36386ebda0d57177
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
libcheese_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
if [ -n "$build_option_gir" ]; then
|
|
vmove usr/lib/girepository-1.0
|
|
fi
|
|
}
|
|
}
|
|
|
|
cheese-devel_package() {
|
|
depends="gst-plugins-bad1-devel>=1:1.2.0
|
|
clutter-gst3-devel
|
|
clutter-gtk-devel
|
|
libcanberra-devel
|
|
libcheese>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ -n "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|