[arch-commits] Commit in wxgtk/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 2 11:19:23 UTC 2020
Date: Saturday, May 2, 2020 @ 11:19:23
Author: arojas
Revision: 382142
Update to 3.0.5
Modified:
wxgtk/trunk/PKGBUILD
----------+
PKGBUILD | 48 +++++++++++++++++++++++-------------------------
1 file changed, 23 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-02 11:05:07 UTC (rev 382141)
+++ PKGBUILD 2020-05-02 11:19:23 UTC (rev 382142)
@@ -2,20 +2,20 @@
pkgbase=wxgtk
pkgname=(wxgtk2 wxgtk3 wxgtk-common)
-pkgver=3.0.4
-pkgrel=2
+pkgver=3.0.5
+pkgrel=1
arch=('x86_64')
url="https://wxwidgets.org"
license=('custom:wxWindows')
-makedepends=('gst-plugins-base' 'glu' 'webkit2gtk' 'libnotify' 'gtk2')
+makedepends=(gst-plugins-base glu webkit2gtk libnotify gtk2)
options=('!emptydirs')
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2
make-abicheck-non-fatal.patch)
-sha256sums=('96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0'
+sha256sums=('8aacd56b462f42fb6e33b4d8f5d40be5abc3d3b41348ea968aa515cc8285d813'
'46a1bb97d69163547da13d5e23a4c73e68de27ee601da5d2fb5bc5c417931453')
prepare() {
- cd wxWidgets-${pkgver}
+ cd wxWidgets-$pkgver
# C++ ABI check is too strict and breaks with GCC 5.1
# https://bugzilla.redhat.com/show_bug.cgi?id=1200611
@@ -22,12 +22,11 @@
patch -Np1 -i ../make-abicheck-non-fatal.patch
cd ..
- cp -r wxWidgets-${pkgver} wxWidgets-${pkgver}-gtk3
+ cp -r wxWidgets-$pkgver wxWidgets-$pkgver-gtk3
}
build() {
- cd wxWidgets-${pkgver}
- ./autogen.sh
+ cd wxWidgets-$pkgver
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
@@ -35,8 +34,7 @@
make
make -C locale allmo
- cd ../wxWidgets-${pkgver}-gtk3
- ./autogen.sh
+ cd ../wxWidgets-$pkgver-gtk3
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=3 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
@@ -46,39 +44,39 @@
package_wxgtk-common() {
pkgdesc='Common libraries and headers for wxgtk2 and wxgtk3'
- depends=('zlib' 'gcc-libs' 'expat')
+ depends=(zlib gcc-libs expat)
- cd wxWidgets-${pkgver}
- make DESTDIR="${pkgdir}" install
+ cd wxWidgets-$pkgver
+ make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
- install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_wxgtk2() {
pkgdesc='GTK+2 implementation of wxWidgets API for GUI'
- depends=('gtk2' 'libgl' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
- conflicts=('wxgtk')
- provides=('wxgtk')
- replaces=('wxgtk')
+ depends=(gtk2 libgl gst-plugins-base-libs libsm libxxf86vm wxgtk-common libnotify)
+ conflicts=(wxgtk)
+ provides=(wxgtk)
+ replaces=(wxgtk)
- cd wxWidgets-${pkgver}
- make DESTDIR="${pkgdir}" install
+ cd wxWidgets-$pkgver
+ make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
- install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_wxgtk3() {
pkgdesc='GTK+3 implementation of wxWidgets API for GUI'
- depends=('gtk3' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
+ depends=(gtk3 gst-plugins-base-libs libsm libxxf86vm wxgtk-common libnotify)
optdepends=('webkit2gtk: for webview support')
conflicts=('wxgtk<3.0.3.1-2')
- cd wxWidgets-${pkgver}-gtk3
- make DESTDIR="${pkgdir}" install
+ cd wxWidgets-$pkgver-gtk3
+ make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
mv "$pkgdir"/usr/bin/wx-config{,-gtk3}
- install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list