diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-06-01 12:14:13 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2013-06-01 12:14:13 +0800 |
commit | bf1e8f64a686cfde4fff0f620106a37e91bbc277 (patch) | |
tree | ee0021203070145bbb65cef5e8a16be7119a2993 /mingw-w64-gtk3/PKGBUILD | |
parent | 29acb3ab4764801a985783590d0c0368ed79ad2e (diff) | |
download | AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar.gz AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar.bz2 AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar.lz AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar.xz AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.tar.zst AUR4-PKGBUILD-bf1e8f64a686cfde4fff0f620106a37e91bbc277.zip |
mingw-w64-gtk3: use local patch files
Diffstat (limited to 'mingw-w64-gtk3/PKGBUILD')
-rw-r--r-- | mingw-w64-gtk3/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/mingw-w64-gtk3/PKGBUILD b/mingw-w64-gtk3/PKGBUILD index 08009ed..290f433 100644 --- a/mingw-w64-gtk3/PKGBUILD +++ b/mingw-w64-gtk3/PKGBUILD @@ -15,19 +15,24 @@ mingw-w64-glib2 mingw-w64-cairo 'mingw-w64-gdk-pixbuf2>=2.27.1') options=(!libtool !strip !buildflags) + source=( "http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-${pkgver}.tar.xz" -"http://pkgs.fedoraproject.org/cgit/mingw-gtk3.git/plain/gtk-dont-define-initguid.patch?id=82ccf489f4763e375805d848351ac3f8fda8e88b" -"https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1") +"https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1" +"gtk-dont-define-initguid.patch") + +# The second source file is downloaded from GNOME. This file exists in the git repository but not in the tarball. Building of demos will fail without this file. +# The third source file is downloaded from Fedora Project + md5sums=('8e878e18fc385f2b813419dc7b40a968' - '4038939df90f80ea6923d67afff28e03' - '523aea0be651baaba128c133751a0f01') + '523aea0be651baaba128c133751a0f01' + '4038939df90f80ea6923d67afff28e03') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { cd "${srcdir}/gtk+-${pkgver}" - patch -Np0 < '../gtk-dont-define-initguid.patch?id=82ccf489f4763e375805d848351ac3f8fda8e88b' + patch -Np0 < '../gtk-dont-define-initguid.patch' for _arch in ${_architectures}; do export CFLAGS="-O2 -mms-bitfields" export CXXFLAGS="${CFLAGS}" |