wok-next rev 19261
Up viewnior (1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 03 15:19:37 2016 +0300 (2016-07-03) |
parents | 9e22f94d49de |
children | 0f35f8ad5632 |
files | viewnior/receipt viewnior/stuff/viewnior.desktop |
line diff
1.1 --- a/viewnior/receipt Sun Jul 03 15:10:16 2016 +0300 1.2 +++ b/viewnior/receipt Sun Jul 03 15:19:37 2016 +0300 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="viewnior" 1.7 -VERSION="1.4" 1.8 +VERSION="1.6" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="Light and simple image viewer." 1.11 +SHORT_DESC="Fast and elegant image viewer" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="http://siyanpanayotov.com/project/viewnior/" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://xsisqox.github.com/Viewnior/" 1.17 -WGET_URL="http://dl.dropboxusercontent.com/s/zytq0suabesv933/$TARBALL" 1.18 +WGET_URL="https://github.com/xsisqox/Viewnior/archive/$TARBALL" 1.19 TAGS="image photo viewer" 1.20 HOST_ARCH="i486 arm" 1.21 1.22 -DEPENDS="gtk+ libffi exiv2" 1.23 -BUILD_DEPENDS="gtk+-dev libffi-dev exiv2-dev" 1.24 +DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf \ 1.25 +glib glibc-base gtk+ harfbuzz libffi libgio libpng libxcb libxml2 pango pcre \ 1.26 +pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" 1.27 +BUILD_DEPENDS="automake libtool gtk+-dev exiv2-dev" 1.28 1.29 case "$ARCH" in 1.30 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;; 1.31 @@ -22,18 +24,17 @@ 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 { 1.35 - ./configure \ 1.36 - --prefix=/usr \ 1.37 - $CONFIGURE_ARGS && 1.38 - make $MAKEFLAGS && make install 1.39 + mkdir -p $src/m4 1.40 + autoreconf -fi 1.41 + ./configure $CONFIGURE_ARGS && make $MAKEFLAGS install 1.42 + cook_compress_manpages 1.43 + cook_compress_png 1.44 + sed -i 's|^ *||' $install/usr/share/viewnior/*.ui 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/share/icons/hicolor/24x24 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/share/viewnior $fs/usr/share 1.53 - cp -a $install/usr/share/icons/hicolor/24x24/apps \ 1.54 - $fs/usr/share/icons/hicolor/24x24 1.55 + cook_copy_files viewnior *.ui 1.56 + cook_copy_icons 1.57 }
2.1 --- a/viewnior/stuff/viewnior.desktop Sun Jul 03 15:10:16 2016 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,19 +0,0 @@ 2.4 -[Desktop Entry] 2.5 -Type=Application 2.6 -Name=Viewnior Elegant Image Viewer 2.7 -Name[da]=Viewnior Elegant Image Viewer 2.8 -Name[de]=Viewnior Eleganter Bildbetrachter 2.9 -Name[es]=Viewnior Un visor de imágenes elegante 2.10 -Name[fr]=Visionneur d'images Viewnior 2.11 -Name[hu]=Viewnior Elegáns Képnéző 2.12 -Name[it]=Viewnior Elegante Visualizzatore di Immagini 2.13 -Name[nl]=Viewnior Elegante Afbeeldingsviewer 2.14 -Name[pl]=Viewnior Elegancka przeglądarka obrazów 2.15 -Name[pt]=Visualizador de Imagens Viewnior 2.16 -Name[pt_BR]=Visualizador de Imagens Viewnior 2.17 -Name[ru]=Просмотр изображений Viewnior 2.18 -Exec=viewnior %F 2.19 -Icon=viewnior 2.20 -StartupNotify=true 2.21 -Categories=Graphics;Viewer; 2.22 -MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;