void-packages/srcpkgs/gnome-utils/template
2010-10-24 21:20:47 +02:00

93 lines
2.6 KiB
Text

# Template file for 'gnome-utils'
pkgname=gnome-utils
version=2.32.0
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--localstatedir=/var"
short_desc="GNOME common utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=033a55cf442096b28ea6292043354feafe000d1e5f4ebb962a9b6d72eb9a93fa
long_desc="
This packages contains common utilities for the GNOME desktop."
gconf_schemas="
gnome-screenshot.schemas
gnome-search-tool.schemas
gnome-system-log.schemas
baobab.schemas
gnome-dictionary.schemas"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libpng
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run atk
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gnome-panel
Add_dependency run GConf
Add_dependency run libbonoboui
Add_dependency run libgnomecanvas
Add_dependency run libgnome
Add_dependency run popt
Add_dependency run libart
Add_dependency run libbonobo
Add_dependency run ORBit2
Add_dependency run zlib
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libgtop
Add_dependency run libXext
Add_dependency run libX11
Add_dependency run libcanberra
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gnome-doc-utils
Add_dependency build gtk+-devel
Add_dependency build atk-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gnome-panel-devel
Add_dependency build GConf-devel
Add_dependency build libbonoboui-devel
Add_dependency build libgnomecanvas-devel
Add_dependency build libgnome-devel
Add_dependency build popt-devel
Add_dependency build libart-devel
Add_dependency build libbonobo-devel
Add_dependency build ORBit2-devel
Add_dependency build zlib-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libgtop-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build libcanberra-devel
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
pre_configure()
{
# Use cmp(1) from diffutils.
export PATH="/usr/bin:$PATH"
}
post_install()
{
# Remove it also from Xfce menu that ships its own thingy
sed -i -e "s/NotShowIn\=KDE\;/NotShowIn\=KDE\;XFCE\;/" \
${DESTDIR}/usr/share/applications/gnome-dictionary.desktop
}