# HG changeset patch # User Hans-G?nter Theisgen # Date 1572884288 -3600 # Node ID a767124ef9da4cd13fc44b664238400756e6c28a # Parent 0ba37e865e6149441ab7a4ffa3bebba0bde1d0b4 updated wine and wine-dev (2.5 -> 4.0.2) diff -r 0ba37e865e61 -r a767124ef9da wine-dev/receipt --- a/wine-dev/receipt Mon Nov 04 14:25:06 2019 +0100 +++ b/wine-dev/receipt Mon Nov 04 17:18:08 2019 +0100 @@ -1,19 +1,22 @@ # SliTaz package receipt. PACKAGE="wine-dev" -VERSION="2.5" +VERSION="4.0.2" CATEGORY="system-tools" -SHORT_DESC="Windows API for Linux development files." +SHORT_DESC="Windows API for Linux - development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="http://www.winehq.org/" +WEB_SITE="https://www.winehq.org/" + WANTED="wine" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/wine $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine - cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine + mkdir -p $fs/usr/lib/wine + mkdir -p $fs/usr/share + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine + cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine } diff -r 0ba37e865e61 -r a767124ef9da wine/receipt --- a/wine/receipt Mon Nov 04 14:25:06 2019 +0100 +++ b/wine/receipt Mon Nov 04 17:18:08 2019 +0100 @@ -1,37 +1,38 @@ # SliTaz package receipt. PACKAGE="wine" -VERSION="2.5" +VERSION="4.0.2" CATEGORY="misc" +TAGS="windows emulator" # wine is not an emulator SHORT_DESC="Windows API for Linux." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="https://www.winehq.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.winehq.org/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="windows emulator" # wine is not an emulator +WGET_URL="https://dl.winehq.org/$PACKAGE/source/${VERSION%.*}/$TARBALL" -DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype" -BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \ -libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \ -jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev" +DEPENDS="alsa-lib freetype lcms libglu-mesa libxml2 libxslt mesa" +BUILD_DEPENDS="alsa-lib-dev bison cups-dev dbus-dev flex freetype-dev + gnutls-dev jpeg-dev lcms-dev libglu-mesa-dev libgphoto2-dev + libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev + mesa-dev prelink" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure $CONFIGURE_ARGS && - make $MAKEFLAGS && make install + make $MAKEFLAGS && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/share/wine $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/wine $fs/usr/share } post_install() @@ -41,10 +42,11 @@ # Enable unicode filenames and localized keyboard layouts input . "$1/etc/locale.conf" case $LANG in - (C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;; + (C|POSIX|*UTF-8) + echo $LANG - skip modifying /etc/locale.conf ;; (*) - echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" - echo "Restart/ReLogin required." - sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;; + echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" + echo "Restart/ReLogin required." + sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;; esac }