diff --git a/srcpkgs/epdfview/epdfview.rshlibs b/srcpkgs/epdfview/epdfview.rshlibs index 4d035b29597..b52178330c6 100644 --- a/srcpkgs/epdfview/epdfview.rshlibs +++ b/srcpkgs/epdfview/epdfview.rshlibs @@ -1,4 +1,3 @@ -libgthread-2.0.so.0 libglib-2.0.so.0 libpoppler-glib.so.8 libgdk-x11-2.0.so.0 diff --git a/srcpkgs/epdfview/patches/glib2_headers.patch b/srcpkgs/epdfview/patches/glib2_headers.patch new file mode 100644 index 00000000000..25e34ce0082 --- /dev/null +++ b/srcpkgs/epdfview/patches/glib2_headers.patch @@ -0,0 +1,12 @@ +diff --git a/src/gtk/StockIcons.h b/src/gtk/StockIcons.h +index c142a7a..58fcf2e 100644 +--- src/gtk/StockIcons.h ++++ src/gtk/StockIcons.h +@@ -18,7 +18,7 @@ + #if !defined (__STOCK_ICONS_H__) + #define __STOCK_ICONS_H__ + +-#include ++#include + + G_BEGIN_DECLS diff --git a/srcpkgs/epdfview/template b/srcpkgs/epdfview/template index d8855970740..04a34e54e4d 100644 --- a/srcpkgs/epdfview/template +++ b/srcpkgs/epdfview/template @@ -1,16 +1,16 @@ # Template build file for 'epdfview'. pkgname=epdfview version=0.1.8 -revision=3 -distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2" +revision=4 build_style=gnu-configure -makedepends="pkg-config gtk+-devel poppler-glib-devel" -fulldepends="hicolor-icon-theme desktop-file-utils" +makedepends="pkg-config glib-devel>=2.32 gtk+-devel poppler-glib-devel>=0.20" +depends="hicolor-icon-theme desktop-file-utils" short_desc="Lightweight PDF viewer using Poppler and GTK+" maintainer="Juan RP " -checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0 homepage="http://www.emma-soft.com/projects/epdfview/" license="GPL-2" +distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2" +checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0 long_desc=" ePDFView is a free lightweight PDF document viewer using Poppler and GTK+ libraries. @@ -20,12 +20,9 @@ long_desc=" gtk_iconcache_dirs="/usr/share/icons/hicolor" - - -post_install() -{ +post_install() { for f in 24 32 48; do - install -Dm644 data/icon_${pkgname}-${f}.png \ - ${DESTDIR}/usr/share/icons/hicolor/${f}x${f}/apps/${pkgname}.png + vinstall data/icon_${pkgname}-${f}.png 644 \ + usr/share/icons/hicolor/${f}x${f}/apps ${pkgname}.png done }