diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-23 20:18:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-23 20:18:18 +0000 |
commit | f3a5419dab1cd5ff2143942e64130ccd3379a8ba (patch) | |
tree | 5df9e09161c50d4d3d2e3e414c32d0bb4d2b2e4c | |
parent | e122378bc1c7ae448ab11c322fa94107242016ac (diff) | |
download | aports-f3a5419dab1cd5ff2143942e64130ccd3379a8ba.tar.bz2 aports-f3a5419dab1cd5ff2143942e64130ccd3379a8ba.tar.xz |
main/wine: do not associate .exe with wine. enable misc stuff
enable alsa, gstreamer, zlib, cups etc...
-rw-r--r-- | main/wine/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/wine/APKBUILD b/main/wine/APKBUILD index 52292b5ec2..9fee03cf53 100644 --- a/main/wine/APKBUILD +++ b/main/wine/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=wine pkgver=1.3.20 -pkgrel=0 +pkgrel=1 pkgdesc="A compatibility layer for running Windows programs" url="http://www.winehq.com" arch="x86" @@ -9,8 +9,10 @@ license="LGPL" subpackages="$pkgname-dev $pkgname-doc" makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev libxcursor-dev libxrandr-dev libxdamage-dev mesa-dev flex bison - libpng-dev jpeg-dev freetype-dev ncurses-dev" -# lcms + libpng-dev jpeg-dev freetype-dev ncurses-dev openssl-dev + libxcomposite-dev libxrender-dev libxinerama-dev zlib-dev + fontconfig-dev cups-dev alsa-lib-dev lcms-dev libxml2-dev + gstreamer-dev gst-plugins-base-dev" source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2 dn_skipname.patch " @@ -23,12 +25,15 @@ prepare() { *.patch) patch -p1 -i "$srcdir"/$i || return 1;; esac done + sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in \ + || return 1 + sed -i '/^MimeType/d' tools/wine.desktop || return 1 } build() { cd "$_builddir" ./configure --prefix=/usr \ - --sysconfdir=/etc \ + --sysconfdir=/etc/wine \ --with-x make depend && make } @@ -37,6 +42,9 @@ package() { cd "$srcdir"/$pkgname-$pkgver make prefix="$pkgdir"/usr install || return 1 mkdir -p "$pkgdir"/etc/wine + paxctl -c -psmre "$pkgdir"/usr/bin/wine-preloader \ + "$pkgdir"/usr/bin/wine } + md5sums="2d9fe8755172a21ddc453d720a497ad9 wine-1.3.20.tar.bz2 6ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch" |