2008-10-10 09:05:01 +02:00
|
|
|
# Template build file for 'epdfview'.
|
|
|
|
pkgname=epdfview
|
2009-04-19 15:40:20 +02:00
|
|
|
version=0.1.7
|
2011-01-29 16:53:21 +01:00
|
|
|
revision=7
|
2009-12-22 00:00:40 +01:00
|
|
|
distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2"
|
2008-10-10 09:05:01 +02:00
|
|
|
build_style=gnu_configure
|
|
|
|
short_desc="Lightweight PDF viewer using Poppler and GTK+"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-04-19 15:40:20 +02:00
|
|
|
checksum=0afbb0f348d4ba916cf58da48b4749b7cca6a9038136b27dc652161913704ae8
|
2008-10-10 09:05:01 +02:00
|
|
|
long_desc="
|
|
|
|
ePDFView is a free lightweight PDF document viewer using Poppler and
|
|
|
|
GTK+ libraries.
|
|
|
|
|
|
|
|
The aim of ePDFView is to make a simple PDF document viewer, in the lines
|
|
|
|
of Evince but without using the Gnome libraries."
|
2009-04-19 15:40:20 +02:00
|
|
|
|
2009-12-22 00:00:40 +01:00
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
|
|
|
2010-06-09 15:51:10 +02:00
|
|
|
Add_dependency run libgcc
|
2009-12-22 00:00:40 +01:00
|
|
|
Add_dependency run glibc
|
2010-06-09 15:51:10 +02:00
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run glib
|
2010-01-11 16:11:31 +01:00
|
|
|
Add_dependency run pango
|
2010-11-11 00:58:30 +01:00
|
|
|
Add_dependency run gdk-pixbuf
|
2010-06-09 15:51:10 +02:00
|
|
|
Add_dependency run gtk+
|
2009-04-19 15:40:20 +02:00
|
|
|
Add_dependency run poppler-glib
|
2010-06-09 15:51:10 +02:00
|
|
|
|
2010-01-11 16:11:31 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pango-devel
|
2010-11-11 00:58:30 +01:00
|
|
|
Add_dependency build gtk+-devel
|
2010-01-11 16:11:31 +01:00
|
|
|
Add_dependency build poppler-glib-devel
|
|
|
|
Add_dependency build libstdc++-devel
|
2011-01-29 16:53:21 +01:00
|
|
|
Add_dependency build automake
|
2010-06-09 15:51:10 +02:00
|
|
|
|
2010-01-11 16:11:31 +01:00
|
|
|
Add_dependency full hicolor-icon-theme
|
|
|
|
Add_dependency full desktop-file-utils
|
2009-12-22 00:00:40 +01:00
|
|
|
|
2011-01-29 16:53:21 +01:00
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
cd ${wrksrc} && touch ChangeLog && autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2009-12-22 00:00:40 +01:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -Dm644 ${wrksrc}/data/icon_epdfview-24.png \
|
|
|
|
"${DESTDIR}/usr/share/icons/hicolor/24x24/apps/epdfview.png" \
|
|
|
|
|| return 1
|
|
|
|
install -Dm644 ${wrksrc}/data/icon_epdfview-32.png \
|
|
|
|
"${DESTDIR}/usr/share/icons/hicolor/32x32/apps/epdfview.png" \
|
|
|
|
|| return 1
|
|
|
|
install -Dm644 ${wrksrc}/data/icon_epdfview-48.png \
|
|
|
|
"${DESTDIR}/usr/share/icons/hicolor/48x48/apps/epdfview.png" \
|
|
|
|
|| return 1
|
|
|
|
}
|