Package Details: lib32-wxgtk2-light 3.0.5-1

Git Clone URL: https://aur.archlinux.org/lib32-wxwidgets-light.git (read-only, click to copy)
Package Base: lib32-wxwidgets-light
Description: wxWidgets GTK2 Toolkit (GNOME/GStreamer free!) (32 bits)
Upstream URL: http://wxwidgets.org
Licenses: custom:wxWindows
Conflicts: lib32-wxgtk, lib32-wxgtk2
Provides: lib32-wxgtk, lib32-wxgtk2
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 0
Popularity: 0.000000
First Submitted: 2015-02-16 14:18
Last Updated: 2020-11-10 18:14

Latest Comments

samuk190 commented on 2020-11-10 11:31

Maintainer: Gustavo Alvarez sl1pkn07@gmail.com

pkgbase="lib32-wxwidgets-light" pkgname=('lib32-wxbase-light' 'lib32-wxgtk2-light' 'lib32-wxgtk3-light' 'lib32-wxcommon-light' ) pkgver=3.0.4 pkgrel=2 pkgdesc="wxWidgets suite for Base and GTK2 and GTK3 toolkits (GNOME/GStreamer free!) (32 bits)" arch=('x86_64') url='http://wxwidgets.org' license=('custom:wxWindows') makedepends=('lib32-gcc-libs' 'git' 'lib32-glu' 'lib32-gtk2' 'lib32-gtk3' 'lib32-libsm' 'lib32-sdl' 'lib32-expat' 'lib32-zlib' 'lib32-libnotify' ) source=("wxwidgets::git+https://github.com/wxWidgets/wxWidgets.git#tag=v${pkgver}" 'lib32-make-abicheck-non-fatal.patch' ) sha256sums=('SKIP' 'd4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b' )

prepare() { mkdir -p build-{base,gtk{2,3}}

# C++ ABI check is too strict and breaks with GCC 5.1 # https://bugzilla.redhat.com/show_bug.cgi?id=1200611 patch -d wxwidgets -p1 -i "${srcdir}/lib32-make-abicheck-non-fatal.patch" }

build() {

export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

msg2 "Configure WxBASE" cd "${srcdir}/build-base" ../wxwidgets/configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --with-regex=builtin \ --enable-unicode \ --disable-{precomp-headers,gui}

msg2 "Configure WxGTK2" cd "${srcdir}/build-gtk2" ../wxwidgets/configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --with-gtk=2 \ --with-lib{jpeg,png,tiff,xpm}=sys \ --with-regex=builtin \ --with-{opengl,sdl} \ --enable-graphics_ctx \ --without-gnomevfs \ --disable-{precomp-headers,mediactrl,webview} \

msg2 "Configure WxGTK3" cd "${srcdir}/build-gtk3" ../wxwidgets/configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --with-gtk=3 \ --with-lib{jpeg,png,tiff,xpm}=sys \ --with-regex=builtin \ --with-{opengl,sdl} \ --enable-graphics_ctx \ --without-gnomevfs \ --disable-{precomp-headers,mediactrl,webview}

cd "${srcdir}"

msg2 "Build WxBASE" make -C build-base make -C wxwidgets/locale allmo

msg2 "Build WxGTK2" make -C build-gtk2 make -C wxwidgets/locale allmo

msg2 "Build WxGTK3" make -C build-gtk3 make -C wxwidgets/locale allmo }

package_lib32-wxbase-light() { pkgdesc="wxWidgets Base (GNOME/GStreamer free!) (32 bits)" depends=('bash' 'wxbase-light' 'lib32-gcc-libs' 'lib32-expat' 'lib32-zlib' ) provides=('lib32-wxbase') conflicts=('lib32-wxbase') options=('!emptydirs')

make -C build-base DESTDIR="${pkgdir}" install

mv "${pkgdir}/usr/bin/wx-config" "${pkgdir}/usr/bin/wx-config32-base" rm -fr "${pkgdir}/usr/include" rm -fr "${pkgdir}/usr/share"

install -Dm644 wxwidgets/docs/licence.txt "${pkgdir}/usr/share/licenses/lib32-wxbase-light/LICENSE" }

package_lib32-wxgtk2-light() { pkgdesc="wxWidgets GTK2 Toolkit (GNOME/GStreamer free!) (32 bits)" depends=('wxgtk2-light' 'lib32-wxbase-light' 'lib32-gtk2' 'lib32-libsm' 'lib32-sdl2' 'lib32-libnotify' ) provides=('lib32-wxgtk' 'lib32-wxgtk2' ) conflicts=('lib32-wxgtk' 'lib32-wxgtk2' ) options=('!emptydirs')

make -C build-gtk2 DESTDIR="${pkgdir}" install

cp -P "${pkgdir}/usr/bin/wx-config" "${pkgdir}/usr/bin/wx-config32" mv "${pkgdir}/usr/bin/wx-config" "${pkgdir}/usr/bin/wx-config32-gtk2"

rm -fr "${pkgdir}/usr/bin/"wxrc{,-3.0} rm -fr "${pkgdir}/usr/include" rm -fr "${pkgdir}/usr/lib32/"baseu rm -fr "${pkgdir}/usr/share"

install -Dm644 wxwidgets/docs/licence.txt "${pkgdir}/usr/share/licenses/lib32-wxgtk2-light/LICENSE" }

package_lib32-wxgtk3-light() { pkgdesc="wxWidgets GTK3 Toolkit (GNOME/GStreamer free!) (32 bits)" depends=('wxgtk3-light' 'lib32-wxbase-light' 'lib32-gtk3' 'lib32-libsm' 'lib32-sdl2' 'lib32-libnotify' ) provides=('lib32-wxgtk3') conflicts=('lib32-wxgtk3') options=('!emptydirs')

make -C build-gtk3 DESTDIR="${pkgdir}" install

mv "${pkgdir}/usr/bin/wx-config" "${pkgdir}/usr/bin/wx-config32-gtk3"

rm -fr "${pkgdir}/usr/bin/"wxrc{,-3.0} rm -fr "${pkgdir}/usr/include" rm -fr "${pkgdir}/usr/lib32/"baseu rm -fr "${pkgdir}/usr/share"

install -Dm644 wxwidgets/docs/licence.txt "${pkgdir}/usr/share/licenses/lib32-wxgtk3-light/LICENSE" }

package_lib32-wxcommon-light() { pkgdesc="wxWidgets common (GNOME/GStreamer free!) (32 bits)" depends=('wxcommon-light' 'lib32-wxbase-light' ) provides=('lib32-wxcommon' 'lib32-wxgtk-common' ) conflicts=('lib32-wxcommon' 'lib32-wxgtk-common' ) options=('!emptydirs')

make -C build-gtk2 DESTDIR="${pkgdir}" install rm -fr "${pkgdir}/usr/bin" make -C build-gtk3 DESTDIR="${pkgdir}" install rm -fr "${pkgdir}/usr/bin/wx-config" make -C build-base DESTDIR="${pkgdir}" install rm -fr "${pkgdir}/usr/bin/wx-config"

mv "${pkgdir}/usr/bin/wxrc" "${pkgdir}/usr/bin/wxrc32" mv "${pkgdir}/usr/bin/wxrc-3.0" "${pkgdir}/usr/bin/wxrc32-3.0"

rm -fr "${pkgdir}/usr/include" rm -fr "${pkgdir}/usr/lib32" rm -fr "${pkgdir}/usr/share"

install -Dm644 wxwidgets/docs/licence.txt "${pkgdir}/usr/share/licenses/lib32-wxcommon-light/LICENSE" }

Compiled successfully with this pkgbuild

samuk190 commented on 2020-11-10 11:13

Error: patch: **** Can't open patch file /var/tmp/pamac-build-samuel/lib32-wxwidgets-light/src/lib32-wxwidgets-collision.patch : No such file or directory