2010-11-08 14:03:04 +00:00
|
|
|
# Template file for 'garcon'
|
|
|
|
pkgname=garcon
|
2013-05-06 08:39:51 +00:00
|
|
|
version=0.2.1
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-11 09:09:48 +00:00
|
|
|
configure_args="--disable-static"
|
2013-05-06 08:39:51 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2013-05-06 08:42:53 +00:00
|
|
|
makedepends="glib-devel libxfce4util-devel"
|
2010-11-08 14:03:04 +00:00
|
|
|
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-04 05:59:06 +00:00
|
|
|
homepage="http://wiki.xfce.org/dev/garcon"
|
|
|
|
license="LGPL-2.1"
|
2013-04-15 20:58:41 +00:00
|
|
|
distfiles="http://archive.se.xfce.org/src/xfce/garcon/0.2/$pkgname-$version.tar.bz2"
|
2013-05-06 08:39:51 +00:00
|
|
|
checksum=48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7
|
2010-11-08 14:03:04 +00: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 08:42:53 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" glib-devel"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 11:13:49 +00:00
|
|
|
garcon-devel_package() {
|
2013-05-06 08:39:51 +00:00
|
|
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc=+" - development files"
|
2013-04-12 11:13:49 +00: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 08:39:51 +00:00
|
|
|
vmove all
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|