41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Template file for 'garcon'
|
|
pkgname=garcon
|
|
version=0.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="glib-devel libxfce4util-devel"
|
|
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://wiki.xfce.org/dev/garcon"
|
|
license="LGPL-2.1"
|
|
distfiles="http://archive.se.xfce.org/src/xfce/garcon/0.2/$pkgname-$version.tar.bz2"
|
|
checksum=48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7
|
|
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."
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" glib-devel"
|
|
fi
|
|
|
|
garcon-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
|
short_desc=+" - development files"
|
|
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() {
|
|
vmove all
|
|
}
|
|
}
|