wok-next annotate wine-rt/receipt @ rev 20839
p11-kit: upgrade 0.23.8 (2017 Aug) -> 0.23.12
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 20 07:32:40 2018 +0000 (2018-06-20) |
parents | e323d0535e2c |
children | cd7906120828 |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
al@13542 | 2 |
al@13542 | 3 PACKAGE="wine-rt" |
devl547@16272 | 4 VERSION="1.7.16" |
al@13542 | 5 CATEGORY="misc" |
al@20463 | 6 SHORT_DESC="Windows API for Linux" |
al@13542 | 7 MAINTAINER="xj@wp.pl" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
al@13542 | 9 WEB_SITE="http://www.winehq.org/" |
al@13542 | 10 |
al@20463 | 11 TARBALL="wine-$VERSION.tar.bz2" |
al@20463 | 12 WGET_URL="$SF_MIRROR/wine/$TARBALL" |
al@20463 | 13 |
al@20502 | 14 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev glu-dev freetype-dev \ |
al@20454 | 15 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng16-dev tiff-dev prelink" |
al@20463 | 16 SPLIT="wine-rt-dev" |
al@13542 | 17 |
al@20463 | 18 compile_rules() { |
al@20463 | 19 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \ |
al@20463 | 20 -fsignaling-nans -pipe" |
al@20463 | 21 |
al@20463 | 22 ./configure \ |
al@20463 | 23 --prefix=/usr \ |
al@20463 | 24 --disable-tests \ |
al@20463 | 25 --without-capi \ |
al@20463 | 26 --without-cms \ |
al@20463 | 27 --without-coreaudio \ |
al@20463 | 28 --without-cups \ |
al@20463 | 29 --without-gphoto \ |
al@20463 | 30 --without-gnutls \ |
al@20463 | 31 --without-gsm \ |
al@20463 | 32 --without-ldap \ |
al@20463 | 33 --without-mpg123 \ |
al@20463 | 34 --without-openal \ |
al@20463 | 35 --without-opencl \ |
al@20463 | 36 --without-openssl \ |
al@20463 | 37 --without-oss \ |
al@20463 | 38 --without-sane \ |
al@20463 | 39 --without-v4l \ |
al@20463 | 40 --disable-win16 \ |
al@20463 | 41 --with-x \ |
al@20463 | 42 $CONFIGURE_ARGS && |
al@20463 | 43 make $MAKEFLAGS && make install |
al@13542 | 44 } |
al@13542 | 45 |
al@20463 | 46 genpkg_rules() { |
al@20463 | 47 case $PACKAGE in |
al@20463 | 48 wine-rt) |
al@20463 | 49 mkdir -p $fs/usr/lib/wine $fs/usr/share |
al@20463 | 50 cp -a $install/usr/bin $fs/usr |
al@20463 | 51 cp -a $install/usr/share/wine $fs/usr/share |
al@20463 | 52 cp -a $install/usr/share/applications $fs/usr/share |
al@20463 | 53 cp -a $install/usr/lib/lib* $fs/usr/lib |
al@20463 | 54 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine |
al@20502 | 55 DEPENDS="alsa-lib libxml2 libxslt mesa glu xorg-dev lcms \ |
al@20463 | 56 freetype jpeg libpng16 tiff" |
al@20463 | 57 PROVIDE="wine" |
al@20463 | 58 TAGS="windows" |
al@20463 | 59 ;; |
al@20463 | 60 *-dev) |
al@20463 | 61 mkdir -p $fs/usr/lib/wine $fs/usr/share |
al@20463 | 62 cp -a $install/usr/include $fs/usr |
al@20463 | 63 cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine |
al@20463 | 64 cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine |
al@20463 | 65 PROVIDE="wine-dev" |
al@20463 | 66 ;; |
al@20463 | 67 esac |
al@13542 | 68 } |
al@13542 | 69 |
al@20463 | 70 post_install_wine_rt() { |
pascal@17552 | 71 [ "$1" ] || modprobe snd-seq 2>/dev/null |
al@13542 | 72 } |