2014-08-31 16:29:47 +00:00
|
|
|
# Template file for 'caja'
|
|
|
|
pkgname=caja
|
2015-07-22 08:15:53 +00:00
|
|
|
version=1.10.3
|
2015-07-25 09:03:09 +00:00
|
|
|
revision=2
|
|
|
|
build_pie=yes
|
2014-08-31 16:29:47 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-gtk=2.0 --disable-static --enable-unique
|
|
|
|
--disable-update-mimedb $(vopt_enable gir introspection)"
|
2015-06-12 06:24:21 +00:00
|
|
|
hostmakedepends="pkg-config intltool itstool glib-devel $(vopt_if gir gobject-introspection)"
|
2014-08-31 16:29:47 +00:00
|
|
|
makedepends="pangox-compat-devel gtk+-devel dbus-devel exempi-devel libexif-devel
|
|
|
|
libXt-devel mate-desktop-devel startup-notification-devel gvfs-devel libxml2-devel
|
2015-06-12 06:24:21 +00:00
|
|
|
libunique1-devel"
|
2014-08-31 16:29:47 +00:00
|
|
|
depends="dbus desktop-file-utils gvfs mate-desktop mate-icon-theme"
|
|
|
|
short_desc="The MATE shell and file manager"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-31 16:29:47 +00:00
|
|
|
license="LGPL-2"
|
|
|
|
homepage="http://mate-desktop.org"
|
2015-05-19 09:45:41 +00:00
|
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-07-22 08:15:53 +00:00
|
|
|
checksum=d7132b85d368caf88e46422c23cdc3c280a8ea7c8fed4ebb5cfc2492b28cfdd5
|
2014-08-31 16:29:47 +00:00
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|