5e9ef9f5d0
Closes #13822. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
51 lines
1.5 KiB
Bash
51 lines
1.5 KiB
Bash
# Template file for 'cheese'
|
|
pkgname=cheese
|
|
version=3.28.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-schemas-compile"
|
|
hostmakedepends="gdk-pixbuf glib-devel gtk-doc intltool itstool pkg-config
|
|
$(vopt_if gir 'gobject-introspection')"
|
|
makedepends="clutter-gst3-devel clutter-gtk-devel gnome-desktop-devel
|
|
gst-plugins-good1 libXtst-devel libcanberra-devel libgee08-devel librsvg-devel"
|
|
depends="clutter-gst clutter-gtk desktop-file-utils gnome-video-effects
|
|
gst-plugins-good1 hicolor-icon-theme"
|
|
short_desc="GNOME tool to take pictures and videos from your webcam"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.gnome.org/projects/cheese/"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=5c1e7a2e1fccc1b0c7b636fb03f2ae83862e2feaebadb94be37c3758182eaa19
|
|
|
|
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
|
|
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
|
|
}
|
|
}
|