2014-08-31 18:29:47 +02:00
|
|
|
# Template file for 'caja'
|
|
|
|
pkgname=caja
|
2015-11-30 16:58:24 +01:00
|
|
|
version=1.12.1
|
2015-11-06 09:29:16 +01:00
|
|
|
revision=1
|
2014-08-31 18:29:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-11-06 09:29:16 +01:00
|
|
|
configure_args="--with-gtk=3.0 --disable-static --enable-unique
|
2014-08-31 18:29:47 +02:00
|
|
|
--disable-update-mimedb $(vopt_enable gir introspection)"
|
2015-10-23 14:28:11 +02:00
|
|
|
hostmakedepends="automake libtool gettext-devel pkg-config
|
|
|
|
intltool itstool glib-devel gobject-introspection"
|
2015-11-06 09:29:16 +01:00
|
|
|
makedepends="pangox-compat-devel gtk+3-devel dbus-devel exempi-devel libexif-devel
|
2014-08-31 18:29:47 +02:00
|
|
|
libXt-devel mate-desktop-devel startup-notification-devel gvfs-devel libxml2-devel
|
2015-11-06 09:29:16 +01:00
|
|
|
libunique-devel"
|
2014-08-31 18:29:47 +02:00
|
|
|
depends="dbus desktop-file-utils gvfs mate-desktop mate-icon-theme"
|
|
|
|
short_desc="The MATE shell and file manager"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-31 18:29:47 +02:00
|
|
|
license="LGPL-2"
|
|
|
|
homepage="http://mate-desktop.org"
|
2015-05-19 11:45:41 +02:00
|
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-11-30 16:58:24 +01:00
|
|
|
checksum=5799542bafc7a3f1b14ccac070f4290dfe83be2aaf616f3c6e5d75ae41a35f4a
|
2014-08-31 18:29:47 +02:00
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2015-10-23 14:28:11 +02:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2014-08-31 18:29:47 +02:00
|
|
|
libcaja_package() {
|
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcaja-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|