wok-current annotate wine-rt/receipt @ rev 23733

updated wine, wine-dev, wine-rt and wine-rt-dev (4.0.2 -> 5.0)
author Hans-G?nter Theisgen
date Fri May 01 09:47:33 2020 +0100 (2020-05-01)
parents 5a9e9c83439a
children 535c806240cc
rev   line source
al@13542 1 # SliTaz package receipt.
al@13542 2
al@13542 3 PACKAGE="wine-rt"
Hans-G?nter@23733 4 VERSION="5.0"
al@13542 5 CATEGORY="misc"
Hans-G?nter@22133 6 TAGS="windows"
al@13542 7 SHORT_DESC="Windows API for Linux."
al@13542 8 MAINTAINER="xj@wp.pl"
pascal@15363 9 LICENSE="LGPL2.1"
Hans-G?nter@22133 10 WEB_SITE="https://www.winehq.org/"
Hans-G?nter@22133 11
Hans-G?nter@22133 12 TARBALL="${PACKAGE%-rt}-$VERSION.tar.xz"
Hans-G?nter@23733 13 WGET_URL="https://dl.winehq.org/${PACKAGE%-rt}/source/${VERSION}/$TARBALL"
Hans-G?nter@22133 14
al@13542 15 PROVIDE="wine"
Hans-G?nter@23733 16 DEPENDS="alsa-lib freetype jpeg lcms libglu-mesa libpng libxslt libxml2 mesa
Hans-G?nter@22133 17 tiff xorg-dev"
Hans-G?nter@23733 18 BUILD_DEPENDS="alsa-lib-dev bison flex freetype-dev jpeg-dev lcms-dev libglu-mesa-dev
Hans-G?nter@22133 19 libpng-dev libtool libxml2-dev libxslt-dev mesa-dev prelink tiff-dev"
al@13542 20
al@13542 21 # Rules to configure and make the package.
al@13542 22 compile_rules()
al@13542 23 {
Hans-G?nter@22133 24 # since 1.7.3.2
al@13542 25 patch -s -Np1 -i $stuff/wine-rt-101107.patch
al@13542 26
al@13542 27 CONFIGURE_ARGS='
al@13542 28 --prefix=/usr
al@13542 29 --disable-tests
al@13542 30 --without-capi
al@13542 31 --without-cms
al@13542 32 --without-coreaudio
al@13542 33 --without-cups
al@13542 34 --without-gphoto
al@13542 35 --without-gnutls
al@13542 36 --without-gsm
al@13542 37 --without-ldap
al@13542 38 --without-mpg123
al@13542 39 --without-openal
al@13542 40 --without-opencl
al@13542 41 --without-oss
al@13542 42 --without-sane
al@13542 43 --without-v4l
al@13542 44 --disable-win16
al@13542 45 --with-x
al@13542 46 '
Hans-G?nter@22133 47 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
Hans-G?nter@22133 48 -fsignaling-nans -pipe"
Hans-G?nter@22133 49
Hans-G?nter@22133 50 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22133 51 make $MAKEFLAGS &&
Hans-G?nter@22133 52 make install
al@13542 53 }
al@13542 54
al@13542 55 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13542 56 genpkg_rules()
al@13542 57 {
Hans-G?nter@22133 58 mkdir -p $fs/usr/lib/wine
Hans-G?nter@22133 59 mkdir -p $fs/usr/share
Hans-G?nter@22133 60
Hans-G?nter@22133 61 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22133 62 cp -a $install/usr/share/wine $fs/usr/share
Hans-G?nter@22133 63 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@22133 64 cp -a $install/usr/lib/lib* $fs/usr/lib
Hans-G?nter@22133 65 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
al@13542 66 }
al@13542 67
al@13542 68 post_install()
al@13542 69 {
pascal@17552 70 [ "$1" ] || modprobe snd-seq 2>/dev/null
al@13542 71 }