wok-next annotate wine-rt/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | 5669e8b3be70 |
children | 29128929e4f9 |
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@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="https://www.winehq.org/" |
al@20888 | 10 REPOLOGY="wine" |
al@13542 | 11 |
al@20463 | 12 TARBALL="wine-$VERSION.tar.bz2" |
al@20463 | 13 WGET_URL="$SF_MIRROR/wine/$TARBALL" |
al@20463 | 14 |
al@20502 | 15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev glu-dev freetype-dev \ |
al@21078 | 16 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev prelink" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
al@13542 | 18 |
al@20463 | 19 compile_rules() { |
al@20463 | 20 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \ |
al@20463 | 21 -fsignaling-nans -pipe" |
al@20463 | 22 |
al@20463 | 23 ./configure \ |
al@20463 | 24 --prefix=/usr \ |
al@20463 | 25 --disable-tests \ |
al@20463 | 26 --without-capi \ |
al@20463 | 27 --without-cms \ |
al@20463 | 28 --without-coreaudio \ |
al@20463 | 29 --without-cups \ |
al@20463 | 30 --without-gphoto \ |
al@20463 | 31 --without-gnutls \ |
al@20463 | 32 --without-gsm \ |
al@20463 | 33 --without-ldap \ |
al@20463 | 34 --without-mpg123 \ |
al@20463 | 35 --without-openal \ |
al@20463 | 36 --without-opencl \ |
al@20463 | 37 --without-openssl \ |
al@20463 | 38 --without-oss \ |
al@20463 | 39 --without-sane \ |
al@20463 | 40 --without-v4l \ |
al@20463 | 41 --disable-win16 \ |
al@20463 | 42 --with-x \ |
al@20463 | 43 $CONFIGURE_ARGS && |
al@20463 | 44 make $MAKEFLAGS && make install |
al@13542 | 45 } |
al@13542 | 46 |
al@20463 | 47 genpkg_rules() { |
al@20463 | 48 case $PACKAGE in |
al@20463 | 49 wine-rt) |
al@20463 | 50 mkdir -p $fs/usr/lib/wine $fs/usr/share |
al@20463 | 51 cp -a $install/usr/bin $fs/usr |
al@20463 | 52 cp -a $install/usr/share/wine $fs/usr/share |
al@20463 | 53 cp -a $install/usr/share/applications $fs/usr/share |
al@20463 | 54 cp -a $install/usr/lib/lib* $fs/usr/lib |
al@20463 | 55 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine |
al@20502 | 56 DEPENDS="alsa-lib libxml2 libxslt mesa glu xorg-dev lcms \ |
al@21080 | 57 freetype jpeg libpng libtiff" |
al@20463 | 58 PROVIDE="wine" |
al@20463 | 59 TAGS="windows" |
al@20463 | 60 ;; |
al@20463 | 61 *-dev) |
al@20463 | 62 mkdir -p $fs/usr/lib/wine $fs/usr/share |
al@20463 | 63 cp -a $install/usr/include $fs/usr |
al@20463 | 64 cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine |
al@20463 | 65 cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine |
al@20463 | 66 PROVIDE="wine-dev" |
al@20463 | 67 ;; |
al@20463 | 68 esac |
al@13542 | 69 } |
al@13542 | 70 |
al@20463 | 71 post_install_wine_rt() { |
pascal@17552 | 72 [ "$1" ] || modprobe snd-seq 2>/dev/null |
al@13542 | 73 } |