xournal: use gtk_iconcache_dirs, fix desktop-install target, fix deps.

This commit is contained in:
Juan RP 2011-10-13 13:16:41 +02:00
parent fa4a1263b1
commit 566824b756

View file

@ -1,8 +1,10 @@
# Template file for 'xournal'
pkgname=xournal
version=0.4.5
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
make_install_args="desktop-install"
short_desc="Xournal: GPL Notetaking, sketching, and journal-keeping."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://xournal.sourceforge.net/"
@ -20,6 +22,8 @@ long_desc="
Supports PDF import and export."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glibc
Add_dependency run gtk+
Add_dependency run atk
@ -34,16 +38,10 @@ Add_dependency run zlib
Add_dependency run libgnomecanvas
Add_dependency run poppler-glib
Add_dependency build autoconf
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build gtk+-devel
Add_dependency build libgnomecanvas
Add_dependency build libgnomecanvas-devel
Add_dependency build poppler-glib
Add_dependency build libgnomecanvas-devel ">=2.30.3_1"
Add_dependency build poppler-glib-devel
post_install()
{
make desktop-install
}
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils