wok-6.x rev 21133

link epdfview with libjpeg-9c
author Hans-G?nter Theisgen
date Thu Mar 21 14:48:26 2019 +0100 (2019-03-21)
parents 8862bbaf1d18
children b7fb685005b4
files epdfview/receipt
line diff
     1.1 --- a/epdfview/receipt	Thu Mar 21 14:18:40 2019 +0100
     1.2 +++ b/epdfview/receipt	Thu Mar 21 14:48:26 2019 +0100
     1.3 @@ -3,13 +3,14 @@
     1.4  PACKAGE="epdfview"
     1.5  VERSION="0.1.8"
     1.6  CATEGORY="office"
     1.7 +TAGS="pdf viewer"
     1.8  SHORT_DESC="Lightweight PDF document viewer using Poppler."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://github.com/jristz/epdfview"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://github.com/jristz/epdfview"
    1.15  WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
    1.16 -TAGS="pdf viewer"
    1.17  
    1.18  DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base"
    1.19  BUILD_DEPENDS="gtk+-dev poppler-dev poppler cairo-dev"
    1.20 @@ -24,10 +25,13 @@
    1.21  	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
    1.22  	patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
    1.23  	patch -p1 -i $stuff/no-stock-icons.patch
    1.24 -	./configure \
    1.25 -		--without-cups \
    1.26 +
    1.27 +	./configure		\
    1.28 +		--without-cups	\
    1.29  		$CONFIGURE_ARGS &&
    1.30 -	make && make install
    1.31 +	make -j 1 &&
    1.32 +	make install
    1.33 +
    1.34  	cp -f $stuff/*.desktop $install/usr/share/applications
    1.35  }
    1.36  
    1.37 @@ -35,7 +39,9 @@
    1.38  genpkg_rules()
    1.39  {
    1.40  	cook_copy_files epdfview *.desktop *.xml
    1.41 +
    1.42  	mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
    1.43 +
    1.44  	cp $install/usr/share/epdfview/pixmaps/icon_epdfview-48.png \
    1.45  		$fs/usr/share/icons/hicolor/48x48/apps/epdfview.png
    1.46  }