summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2016-12-14 04:05:15 -0800
committerMike Swanson2016-12-14 04:05:15 -0800
commit9d171078a00b3bd58e5fe8cd264a51285fb7a2db (patch)
treefd1a158320e6a6b4f786e262f0f6a999cb74f19d
parente938efd408969a715753d0c0776b7eb6a1687f67 (diff)
downloadaur-9d171078a00b3bd58e5fe8cd264a51285fb7a2db.tar.gz
Update to modern PKGBUILD standards, STRIP=true for debug symbols
-rw-r--r--.SRCINFO207
-rw-r--r--PKGBUILD108
2 files changed, 117 insertions, 198 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9246b0e7a50..9a754e77acb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,121 +1,66 @@
# Generated by mksrcinfo v8
-# Fri Oct 7 22:01:56 UTC 2016
+# Wed Dec 14 12:04:55 UTC 2016
pkgbase = wine-stable
pkgdesc = A compatibility layer for running Windows programs
pkgver = 1.8.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.winehq.com
arch = i686
arch = x86_64
license = LGPL
- makedepends = autoconf
- makedepends = ncurses
- makedepends = bison
- makedepends = perl
+ makedepends = alsa-lib
makedepends = fontforge
- makedepends = flex
- makedepends = gcc>=4.5.0-2
- makedepends = gcc-multilib>=4.5.0-2
makedepends = giflib
- makedepends = lib32-giflib
- makedepends = libpng
- makedepends = lib32-libpng
makedepends = gnutls
- makedepends = lib32-gnutls
- makedepends = libxinerama
- makedepends = lib32-libxinerama
+ makedepends = libgl
+ makedepends = libldap
+ makedepends = libpng
+ makedepends = libpulse
makedepends = libxcomposite
- makedepends = lib32-libxcomposite
+ makedepends = libxinerama
makedepends = libxmu
- makedepends = lib32-libxmu
+ makedepends = libxslt
makedepends = libxxf86vm
- makedepends = lib32-libxxf86vm
- makedepends = libldap
- makedepends = lib32-libldap
+ makedepends = mesa
makedepends = mpg123
- makedepends = lib32-mpg123
+ makedepends = ncurses
+ makedepends = ocl-icd
makedepends = openal
- makedepends = lib32-openal
- makedepends = v4l-utils
- makedepends = lib32-v4l-utils
- makedepends = libpulse
- makedepends = lib32-libpulse
- makedepends = alsa-lib
- makedepends = lib32-alsa-lib
- makedepends = libxcomposite
- makedepends = lib32-libxcomposite
- makedepends = mesa
- makedepends = lib32-mesa
- makedepends = libgl
- makedepends = lib32-libgl
- makedepends = libcl
- makedepends = lib32-libcl
- makedepends = libxslt
- makedepends = lib32-libxslt
- makedepends = samba
makedepends = opencl-headers
- makedepends = fontconfig
- makedepends = lib32-fontconfig
- makedepends = lcms2
- makedepends = lib32-lcms2
- makedepends = libxml2
- makedepends = lib32-libxml2
- makedepends = libxcursor
- makedepends = lib32-libxcursor
- makedepends = libxrandr
- makedepends = lib32-libxrandr
- makedepends = libxdamage
- makedepends = lib32-libxdamage
- makedepends = libxi
- makedepends = lib32-libxi
- makedepends = gettext
- makedepends = lib32-gettext
- makedepends = freetype2
- makedepends = lib32-freetype2
- makedepends = glu
- makedepends = lib32-glu
- makedepends = libsm
- makedepends = lib32-libsm
- makedepends = gcc-libs
- makedepends = lib32-gcc-libs
- makedepends = libpcap
- makedepends = lib32-libpcap
- makedepends = desktop-file-utils
+ makedepends = samba
+ makedepends = v4l-utils
+ depends = desktop-file-utils
+ depends = fontconfig
+ depends = freetype2
+ depends = gettext
+ depends = glu
+ depends = lcms2
+ depends = libpcap
+ depends = libsm
+ depends = libxcursor
+ depends = libxdamage
+ depends = libxi
+ depends = libxml2
+ depends = libxrandr
+ optdepends = alsa-lib
+ optdepends = alsa-plugins
+ optdepends = cups
+ optdepends = dosbox
optdepends = giflib
- optdepends = lib32-giflib
- optdepends = libpng
- optdepends = lib32-libpng
- optdepends = libldap
- optdepends = lib32-libldap
optdepends = gnutls
- optdepends = lib32-gnutls
- optdepends = mpg123
- optdepends = lib32-mpg123
- optdepends = openal
- optdepends = lib32-openal
- optdepends = v4l-utils
- optdepends = lib32-v4l-utils
- optdepends = libpulse
- optdepends = lib32-libpulse
- optdepends = alsa-plugins
- optdepends = lib32-alsa-plugins
- optdepends = alsa-lib
- optdepends = lib32-alsa-lib
optdepends = libjpeg-turbo
- optdepends = lib32-libjpeg-turbo
+ optdepends = libldap
+ optdepends = libpng
+ optdepends = libpulse
optdepends = libxcomposite
- optdepends = lib32-libxcomposite
optdepends = libxinerama
- optdepends = lib32-libxinerama
- optdepends = ncurses
- optdepends = lib32-ncurses
- optdepends = libcl
- optdepends = lib32-libcl
optdepends = libxslt
- optdepends = lib32-libxslt
- optdepends = cups
+ optdepends = mpg123
+ optdepends = ncurses
+ optdepends = ocl-icd
+ optdepends = openal
optdepends = samba
- optdepends = dosbox
+ optdepends = v4l-utils
provides = wine=1.8.5
conflicts = wine
options = staticlibs
@@ -125,33 +70,53 @@ pkgbase = wine-stable
sha256sums = dee2a4959e5f90a89aaf04566c23f2926e9590f8968ea662afd81947fdb6f6d6
sha256sums = SKIP
sha256sums = 9901a5ee619f24662b241672a7358364617227937d5f6d3126f70528ee5111e7
+ depends_x86_64 = lib32-fontconfig
+ depends_x86_64 = lib32-freetype2
+ depends_x86_64 = lib32-gcc-libs
+ depends_x86_64 = lib32-gettext
+ depends_x86_64 = lib32-glu
+ depends_x86_64 = lib32-lcms2
+ depends_x86_64 = lib32-libpcap
+ depends_x86_64 = lib32-libsm
+ depends_x86_64 = lib32-libxcursor
+ depends_x86_64 = lib32-libxdamage
+ depends_x86_64 = lib32-libxi
+ depends_x86_64 = lib32-libxml2
+ depends_x86_64 = lib32-libxrandr
+ optdepends_x86_64 = lib32-alsa-lib
+ optdepends_x86_64 = lib32-alsa-plugins
+ optdepends_x86_64 = lib32-giflib
+ optdepends_x86_64 = lib32-gnutls
+ optdepends_x86_64 = lib32-libjpeg-turbo
+ optdepends_x86_64 = lib32-libldap
+ optdepends_x86_64 = lib32-libpng
+ optdepends_x86_64 = lib32-libpulse
+ optdepends_x86_64 = lib32-libxcomposite
+ optdepends_x86_64 = lib32-libxinerama
+ optdepends_x86_64 = lib32-libxslt
+ optdepends_x86_64 = lib32-mpg123
+ optdepends_x86_64 = lib32-ncurses
+ optdepends_x86_64 = lib32-ocl-icd
+ optdepends_x86_64 = lib32-openal
+ optdepends_x86_64 = lib32-v4l-utils
+ makedepends_x86_64 = gcc-multilib
+ makedepends_x86_64 = lib32-alsa-lib
+ makedepends_x86_64 = lib32-giflib
+ makedepends_x86_64 = lib32-gnutls
+ makedepends_x86_64 = lib32-libgl
+ makedepends_x86_64 = lib32-libldap
+ makedepends_x86_64 = lib32-libpng
+ makedepends_x86_64 = lib32-libpulse
+ makedepends_x86_64 = lib32-libxcomposite
+ makedepends_x86_64 = lib32-libxinerama
+ makedepends_x86_64 = lib32-libxmu
+ makedepends_x86_64 = lib32-libxslt
+ makedepends_x86_64 = lib32-libxxf86vm
+ makedepends_x86_64 = lib32-mesa
+ makedepends_x86_64 = lib32-mpg123
+ makedepends_x86_64 = lib32-ocl-icd
+ makedepends_x86_64 = lib32-openal
+ makedepends_x86_64 = lib32-v4l-utils
pkgname = wine-stable
- depends = fontconfig
- depends = lib32-fontconfig
- depends = lcms2
- depends = lib32-lcms2
- depends = libxml2
- depends = lib32-libxml2
- depends = libxcursor
- depends = lib32-libxcursor
- depends = libxrandr
- depends = lib32-libxrandr
- depends = libxdamage
- depends = lib32-libxdamage
- depends = libxi
- depends = lib32-libxi
- depends = gettext
- depends = lib32-gettext
- depends = freetype2
- depends = lib32-freetype2
- depends = glu
- depends = lib32-glu
- depends = libsm
- depends = lib32-libsm
- depends = gcc-libs
- depends = lib32-gcc-libs
- depends = libpcap
- depends = lib32-libpcap
- depends = desktop-file-utils
diff --git a/PKGBUILD b/PKGBUILD
index f16375d7456..739ee350c46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=wine-stable
pkgver=1.8.5
-pkgrel=1
+pkgrel=2
source=(https://dl.winehq.org/wine/source/1.8/wine-$pkgver.tar.bz2{,.sign}
30-win32-aliases.conf)
@@ -22,77 +22,33 @@ arch=(i686 x86_64)
options=(staticlibs)
license=(LGPL)
-_depends=(
- fontconfig lib32-fontconfig
- lcms2 lib32-lcms2
- libxml2 lib32-libxml2
- libxcursor lib32-libxcursor
- libxrandr lib32-libxrandr
- libxdamage lib32-libxdamage
- libxi lib32-libxi
- gettext lib32-gettext
- freetype2 lib32-freetype2
- glu lib32-glu
- libsm lib32-libsm
- gcc-libs lib32-gcc-libs
- libpcap lib32-libpcap
- desktop-file-utils
-)
-
-makedepends=(autoconf ncurses bison perl fontforge flex
- 'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'
- giflib lib32-giflib
- libpng lib32-libpng
- gnutls lib32-gnutls
- libxinerama lib32-libxinerama
- libxcomposite lib32-libxcomposite
- libxmu lib32-libxmu
- libxxf86vm lib32-libxxf86vm
- libldap lib32-libldap
- mpg123 lib32-mpg123
- openal lib32-openal
- v4l-utils lib32-v4l-utils
- libpulse lib32-libpulse
- alsa-lib lib32-alsa-lib
- libxcomposite lib32-libxcomposite
- mesa lib32-mesa
- libgl lib32-libgl
- libcl lib32-libcl
- libxslt lib32-libxslt
- samba
- opencl-headers
-)
-
-optdepends=(
- giflib lib32-giflib
- libpng lib32-libpng
- libldap lib32-libldap
- gnutls lib32-gnutls
- mpg123 lib32-mpg123
- openal lib32-openal
- v4l-utils lib32-v4l-utils
- libpulse lib32-libpulse
- alsa-plugins lib32-alsa-plugins
- alsa-lib lib32-alsa-lib
- libjpeg-turbo lib32-libjpeg-turbo
- libxcomposite lib32-libxcomposite
- libxinerama lib32-libxinerama
- ncurses lib32-ncurses
- libcl lib32-libcl
- libxslt lib32-libxslt
- cups
- samba dosbox
-)
-
-if [[ $CARCH == i686 ]]; then
- # Strip lib32 etc. on i686
- _depends=(${_depends[@]/*32-*/})
- makedepends=(${makedepends[@]/*32-*/} ${_depends[@]})
- makedepends=(${makedepends[@]/*-multilib*/})
- optdepends=(${optdepends[@]/*32-*/})
-else
- makedepends=(${makedepends[@]} ${_depends[@]})
-fi
+depends=(desktop-file-utils fontconfig freetype2 gettext glu lcms2
+ libpcap libsm libxcursor libxdamage libxi libxml2 libxrandr)
+
+depends_x86_64=(lib32-fontconfig lib32-freetype2 lib32-gcc-libs
+ lib32-gettext lib32-glu lib32-lcms2 lib32-libpcap lib32-libsm
+ lib32-libxcursor lib32-libxdamage lib32-libxi lib32-libxml2
+ lib32-libxrandr)
+
+makedepends=(alsa-lib fontforge giflib gnutls libgl libldap libpng
+ libpulse libxcomposite libxinerama libxmu libxslt libxxf86vm mesa
+ mpg123 ncurses ocl-icd openal opencl-headers samba v4l-utils)
+
+makedepends_x86_64=(gcc-multilib lib32-alsa-lib lib32-giflib
+ lib32-gnutls lib32-libgl lib32-libldap lib32-libpng lib32-libpulse
+ lib32-libxcomposite lib32-libxinerama lib32-libxmu lib32-libxslt
+ lib32-libxxf86vm lib32-mesa lib32-mpg123 lib32-ocl-icd lib32-openal
+ lib32-v4l-utils)
+
+optdepends=(alsa-lib alsa-plugins cups dosbox giflib gnutls
+ libjpeg-turbo libldap libpng libpulse libxcomposite libxinerama
+ libxslt mpg123 ncurses ocl-icd openal samba v4l-utils)
+
+optdepends_x86_64=(lib32-alsa-lib lib32-alsa-plugins lib32-giflib
+ lib32-gnutls lib32-libjpeg-turbo lib32-libldap lib32-libpng
+ lib32-libpulse lib32-libxcomposite lib32-libxinerama lib32-libxslt
+ lib32-mpg123 lib32-ncurses lib32-ocl-icd lib32-openal
+ lib32-v4l-utils)
provides=("wine=$pkgver")
conflicts=("wine")
@@ -150,21 +106,19 @@ build() {
}
package() {
- depends=(${_depends[@]})
-
msg2 "Packaging Wine-32..."
cd "$srcdir/wine-32-build"
if [[ $CARCH == i686 ]]; then
- make prefix="$pkgdir/usr" install
+ make STRIP=true prefix="$pkgdir/usr" install
else
- make prefix="$pkgdir/usr" \
+ make STRIP=true prefix="$pkgdir/usr" \
libdir="$pkgdir/usr/lib32" \
dlldir="$pkgdir/usr/lib32/wine" install
msg2 "Packaging Wine-64..."
cd "$srcdir/wine-64-build"
- make prefix="$pkgdir/usr" \
+ make STRIP=true prefix="$pkgdir/usr" \
libdir="$pkgdir/usr/lib" \
dlldir="$pkgdir/usr/lib/wine" install
fi