From 90770531a8d98a38b6166a3345174184e05ea809 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Tue, 5 Jul 2022 08:03:47 +0530 Subject: [PATCH] Added wxwidgets to extra --- extra/.buildlist.extra | 1 + extra/wxwidgets/wxwidgets.SMBuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 extra/wxwidgets/wxwidgets.SMBuild diff --git a/extra/.buildlist.extra b/extra/.buildlist.extra index e99b62c..dfc49f9 100644 --- a/extra/.buildlist.extra +++ b/extra/.buildlist.extra @@ -50,3 +50,4 @@ micro-tetris cmatrix vim xscreensaver +wxwidgets diff --git a/extra/wxwidgets/wxwidgets.SMBuild b/extra/wxwidgets/wxwidgets.SMBuild new file mode 100755 index 0000000..0406530 --- /dev/null +++ b/extra/wxwidgets/wxwidgets.SMBuild @@ -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 +} +