wxgtk-common: 3.2.0 -> 3.2.1

This commit is contained in:
Tim Biermann 2022-09-17 08:49:58 +02:00
parent bb5fc43ce8
commit ce9faa3bb6
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 845 additions and 38 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32taItf6zcb94CpZJBpxXVNCwDUAQau4Phw+iidokOKTIKp5LcJm8RuNTGxJTojMWf1OcEFNf4G6WP05Q8tEtA4=
SHA256 (Pkgfile) = c617807d593ffae5558d4c8d4f70e6982819dc266b4ab1a32dd4063dc8a52fdc
SHA256 (.footprint) = 6b6f3a1c745a86e01ec68570261775a7aef75a2dee40d03e9c4d46e7672f34a9
SHA256 (wxWidgets-3.2.0.tar.bz2) = 356e9b55f1ae3d58ae1fed61478e9b754d46b820913e3bfbc971c50377c1903a
RWSagIOpLGJF3wH22QHZe8fn+CSuYU1whPBAGnFrtrB96sAwbsXmFnrjRfSeUo1KRTtIKZT5zT52upAQRWxn6dl/5ZYa6zi11Qk=
SHA256 (Pkgfile) = 7908e4b037d3d2b0e000cef3ce83dfcb997d03aeb1ab1d7b669df8830aef5654
SHA256 (.footprint) = 6f2ba86a03b345e996cc385b11e2749d8c4d5bcbe15f8722e35224fe48643512
SHA256 (wxWidgets-3.2.1.tar.bz2) = c229976bb413eb88e45cb5dfb68b27890d450149c09b331abd751e7ae0f5fa66

View File

@ -4,35 +4,32 @@
# Depends on: gtk glu gst-plugins-base
name=wxgtk-common
version=3.2.0
version=3.2.1
release=1
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2)
build() {
cd wxWidgets-$version
cmake -S wxWidgets-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D wxBUILD_TOOLKIT=gtk2 \
-D wxUSE_OPENGL=ON \
-D wxUSE_REGEX=sys\
-D wxUSE_ZLIB=sys \
-D wxUSE_EXPAT=sys \
-D wxUSE_LIBJPEG=sys \
-D wxUSE_LIBPNG=sys \
-D wxUSE_LIBTIFF=sys \
-D wxUSE_LIBLZMA=sys \
-D wxUSE_LIBMSPACK=ON \
-D wxUSE_PRIVATE_FONTS=ON \
-Wno-dev
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-gtk=2 \
--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 \
--disable-precomp-headers
make
make DESTDIR=$PKG install
cmake --build build
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/bakefile
}