wok-next rev 21058

Update viewnior (1.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 23:35:15 2018 +0200 (2018-12-03)
parents 0cbe4b1f2230
children 5792a639ec6f
files python-cheetah3/receipt python-shapely/receipt runcom/receipt viewnior/.icon.png viewnior/receipt
line diff
     1.1 --- a/python-cheetah3/receipt	Mon Dec 03 14:47:30 2018 +0200
     1.2 +++ b/python-cheetah3/receipt	Mon Dec 03 23:35:15 2018 +0200
     1.3 @@ -13,6 +13,8 @@
     1.4  BUILD_DEPENDS="python python3"
     1.5  SPLIT="${PACKAGE/python/python3}:3"
     1.6  
     1.7 +COOKOPTS="force-arch" # i486 contains *.so, but x86_64 - don't
     1.8 +
     1.9  compile_rules() {
    1.10  	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.11  }
     2.1 --- a/python-shapely/receipt	Mon Dec 03 14:47:30 2018 +0200
     2.2 +++ b/python-shapely/receipt	Mon Dec 03 23:35:15 2018 +0200
     2.3 @@ -14,6 +14,8 @@
     2.4  BUILD_DEPENDS="python python3 geos-dev"
     2.5  SPLIT="${PACKAGE/python/python3}:3"
     2.6  
     2.7 +COOKOPTS="force-arch" # x86_64 contains *.so, but i486 - only "any" files
     2.8 +
     2.9  compile_rules() {
    2.10  	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    2.11  }
     3.1 --- a/runcom/receipt	Mon Dec 03 14:47:30 2018 +0200
     3.2 +++ b/runcom/receipt	Mon Dec 03 23:35:15 2018 +0200
     3.3 @@ -7,10 +7,16 @@
     3.4  MAINTAINER="devel@slitaz.org"
     3.5  LICENSE="GPL"
     3.6  WEB_SITE="https://bellard.org/jslinux/"
     3.7 +HOST_ARCH="i486"
     3.8  REPOLOGY="-"
     3.9  
    3.10  TAGS="virtual 8086 vm86"
    3.11  
    3.12 +# Error on x86_64:
    3.13 +# ${stuff}/runcom.c: In function 'vm86':
    3.14 +# ${stuff}/runcom.c:31:20: error: '__NR_vm86' undeclared (first use in this function); did you mean '__NR_mmap'?
    3.15 +#      return syscall(__NR_vm86, func, v86);
    3.16 +
    3.17  compile_rules() {
    3.18  	mkdir -p $src
    3.19  	cd $src
     4.1 Binary file viewnior/.icon.png has changed
     5.1 --- a/viewnior/receipt	Mon Dec 03 14:47:30 2018 +0200
     5.2 +++ b/viewnior/receipt	Mon Dec 03 23:35:15 2018 +0200
     5.3 @@ -1,30 +1,29 @@
     5.4  # SliTaz package receipt v2.
     5.5  
     5.6  PACKAGE="viewnior"
     5.7 -VERSION="1.6"
     5.8 +VERSION="1.7"
     5.9  CATEGORY="graphics"
    5.10  SHORT_DESC="Fast and elegant image viewer"
    5.11  MAINTAINER="devel@slitaz.org"
    5.12  LICENSE="GPL3"
    5.13 -WEB_SITE="http://siyanpanayotov.com/project/viewnior"
    5.14 +WEB_SITE="https://siyanpanayotov.com/project/viewnior"
    5.15  
    5.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.17 -WGET_URL="https://github.com/xsisqox/Viewnior/archive/$TARBALL"
    5.18 +WGET_URL="https://github.com/hellosiyan/Viewnior/archive/$TARBALL"
    5.19  
    5.20 -BUILD_DEPENDS="automake libtool gtk2-dev exiv2-dev intltool \
    5.21 -shared-mime-info-dev curl-dev libssh-dev"
    5.22 +BUILD_DEPENDS="meson ninja gtk2-dev exiv2-dev gettext-dev \
    5.23 +desktop-file-utils-extra curl-dev libssh-dev"
    5.24 +
    5.25 +DEPENDS_std="exiv2 gdk-pixbuf glib gtk2"
    5.26 +TAGS_std="image photo viewer"
    5.27  
    5.28  compile_rules() {
    5.29 -	mkdir -p $src/m4
    5.30 +	mkdir build
    5.31 +	cd    build
    5.32  
    5.33 -	autoreconf -fi
    5.34 -	./configure $CONFIGURE_ARGS &&
    5.35 -	fix libtool &&
    5.36 -	make $MAKEFLAGS install
    5.37 +	meson-wrapper &&
    5.38 +	ninja &&
    5.39 +	ninja install || return 1
    5.40 +
    5.41 +	chmod 644 $install/usr/share/icons/hicolor/scalable/apps/viewnior.svg # was 755
    5.42  }
    5.43 -
    5.44 -genpkg_rules() {
    5.45 -	copy viewnior *.ui @ico
    5.46 -	DEPENDS="exiv2 gdk-pixbuf glib gtk2"
    5.47 -	TAGS="image photo viewer"
    5.48 -}