Added wxwidgets to extra
This commit is contained in:
parent
c006f22e5c
commit
90770531a8
2 changed files with 36 additions and 0 deletions
|
@ -50,3 +50,4 @@ micro-tetris
|
||||||
cmatrix
|
cmatrix
|
||||||
vim
|
vim
|
||||||
xscreensaver
|
xscreensaver
|
||||||
|
wxwidgets
|
||||||
|
|
35
extra/wxwidgets/wxwidgets.SMBuild
Executable file
35
extra/wxwidgets/wxwidgets.SMBuild
Executable 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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue