2010-11-08 15:03:04 +01:00
|
|
|
# Template file for 'garcon'
|
|
|
|
pkgname=garcon
|
2013-05-06 10:39:51 +02:00
|
|
|
version=0.2.1
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-11 11:09:48 +02:00
|
|
|
configure_args="--disable-static"
|
2013-05-06 10:39:51 +02:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2013-05-06 10:42:53 +02:00
|
|
|
makedepends="glib-devel libxfce4util-devel"
|
2010-11-08 15:03:04 +01:00
|
|
|
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-04 07:59:06 +02:00
|
|
|
homepage="http://wiki.xfce.org/dev/garcon"
|
|
|
|
license="LGPL-2.1"
|
2013-04-15 22:58:41 +02:00
|
|
|
distfiles="http://archive.se.xfce.org/src/xfce/garcon/0.2/$pkgname-$version.tar.bz2"
|
2013-05-06 10:39:51 +02:00
|
|
|
checksum=48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7
|
2010-11-08 15:03:04 +01:00
|
|
|
long_desc="
|
|
|
|
This is garcon, a freedesktop.org compliant menu implementation based
|
|
|
|
on GLib and GIO. It was started as a complete rewrite of the former
|
|
|
|
Xfce menu library called libxfce4menu, which, in contrast to garcon,
|
|
|
|
was lacking menu merging features essential for loading menus modified
|
|
|
|
with menu editors."
|
|
|
|
|
2013-05-06 10:42:53 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" glib-devel"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 13:13:49 +02:00
|
|
|
garcon-devel_package() {
|
2013-05-06 10:39:51 +02:00
|
|
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc=+" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
garcon_package() {
|
|
|
|
conf_files="/etc/xdg/menus/xfce-applications.menu"
|
|
|
|
pkg_install() {
|
2013-05-06 10:39:51 +02:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|