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 +} +