Added wxwidgets to extra

This commit is contained in:
PktSurf 2022-07-05 08:03:47 +05:30
parent c006f22e5c
commit 90770531a8
2 changed files with 36 additions and 0 deletions

View file

@ -50,3 +50,4 @@ micro-tetris
cmatrix
vim
xscreensaver
wxwidgets

View file

@ -0,0 +1,35 @@
app=wxwidgets
version=3.0.5.1
build=1sml
homepage="https://wxwidgets.org/"
download="https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.5.1/wxWidgets-3.0.5.1.tar.bz2"
desc="C++ library for writing for writing apps with single codebase"
requires="gtk3 sdl2 libnotify"
build() {
mkandenterbuilddir
rm -rf wxWidgets-$version
tar xf $srcdir/wxWidgets-$version.tar.?z*
cd wxWidgets-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--with-gtk=3 \
--with-opengl \
--with-sdl \
--with-libnotify \
--enable-mediactrl \
--enable-unicode \
--with-libmspack
make
make install DESTDIR=$pkg
install -Dm 644 docs/licence.txt $pkgdocs/LICENSE
mkfinalpkg
}