forked from ports/contrib
wxgtk3: adopted, updated to 3.2.4
This commit is contained in:
parent
3db48185fb
commit
e074a288b1
1624
wxgtk3/.footprint
1624
wxgtk3/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF38ejwnVsN9qipVd7o4EJdGZA9FaV0XTro+7IrIjx6aiyT2jzf2c7vBq/UoECWM83p7i3+qaXFYtgWvm1wTI1pg0=
|
RWSagIOpLGJF30CRcKMCM5wPfgCpReeHPbF4Vf/sBpdALQmFHEcliO84TZcjtGQYykSjJIb/Coy4SSXOxQar6zDPImWNtyUo7AE=
|
||||||
SHA256 (Pkgfile) = 00fd24432b648106e472a9916b266e8eb8082ecc82e6faa512f32482dfc405f3
|
SHA256 (Pkgfile) = 69f770d501c39addbf8df8d838958911a4eb4a8c4eb3dca2443b533d3f84ea21
|
||||||
SHA256 (.footprint) = 73488b60d266f825ca38c647249d8351bd56a3fcc2e293f98b8c4b7837cba853
|
SHA256 (.footprint) = 44184ef410020d6e3c1bc4e4fb8ad472833385651d65fe3944472afab6c73400
|
||||||
SHA256 (wxWidgets-3.2.2.1.tar.bz2) = dffcb6be71296fff4b7f8840eb1b510178f57aa2eb236b20da41182009242c02
|
SHA256 (wxWidgets-3.2.4.tar.bz2) = 0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
# Description: GTK+3 implementation of wxWidgets API for GUI
|
# Description: GTK+3 implementation of wxWidgets API for GUI
|
||||||
# URL: http://www.wxwidgets.org/
|
# URL: http://www.wxwidgets.org/
|
||||||
# Maintainer: unmaintained
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||||
# Depends on: wxgtk-common
|
# Depends on: gtk3
|
||||||
|
# Optional: gstreamer libmspack libnotify libsdl libsdl2 libsoup wayland webkitgtk
|
||||||
|
|
||||||
name=wxgtk3
|
name=wxgtk3
|
||||||
version=3.2.2.1
|
version=3.2.4
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2)
|
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -S wxWidgets-$version -B build -G Ninja \
|
cmake -S wxWidgets-$version -B build -G Ninja \
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||||
@ -24,14 +24,10 @@ build() {
|
|||||||
-D wxUSE_LIBPNG=sys \
|
-D wxUSE_LIBPNG=sys \
|
||||||
-D wxUSE_LIBTIFF=sys \
|
-D wxUSE_LIBTIFF=sys \
|
||||||
-D wxUSE_LIBLZMA=sys \
|
-D wxUSE_LIBLZMA=sys \
|
||||||
-D wxUSE_LIBMSPACK=ON \
|
|
||||||
-D wxUSE_PRIVATE_FONTS=ON \
|
-D wxUSE_PRIVATE_FONTS=ON \
|
||||||
-D wxUSE_GTKPRINT=ON \
|
-D wxUSE_GTKPRINT=ON \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
|
|
||||||
cmake --build build
|
ninja -C build -j ${JOBS:-1}
|
||||||
DESTDIR=$PKG cmake --install build
|
DESTDIR=$PKG ninja -C build install
|
||||||
|
|
||||||
rm -r $PKG/usr/{include,lib/{libwx_base*,cmake},bin/wxrc*}
|
|
||||||
mv $PKG/usr/bin/wx-config{,-gtk3}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user