diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 25 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = tgui-git - pkgdesc = Cross-platform C++ GUI library for SFML - pkgver = v0.8.0.r7.g8afc386d + pkgdesc = Cross-platform modern c++ GUI library + pkgver = nightly_build.r0.gddac6f47 pkgrel = 1 url = https://tgui.eu/ arch = i686 @@ -10,10 +10,13 @@ pkgbase = tgui-git makedepends = doxygen makedepends = git depends = sfml + depends = sdl2 + depends = sdl2_ttf + depends = glfw-x11 + depends = freetype2 provides = tgui conflicts = tgui - source = git+https://github.com/texus/TGUI.git#branch=0.8 + source = git+https://github.com/texus/TGUI.git#branch=1.x sha256sums = SKIP pkgname = tgui-git - @@ -1,19 +1,19 @@ # Maintainer: Bruno Van de Velde <bruno@texus.me> pkgname=tgui-git -pkgver=v0.8.4.r71.g14e29fbf +pkgver=nightly_build.r0.gddac6f47 pkgrel=1 -pkgdesc="Cross-platform C++ GUI library for SFML" +pkgdesc="Cross-platform modern c++ GUI library" arch=('i686' 'x86_64') url="https://tgui.eu/" license=('ZLIB') -depends=('sfml') +depends=('sfml' 'sdl2' 'sdl2_ttf' 'glfw-x11' 'freetype2') makedepends=('cmake' 'doxygen' 'git') provides=('tgui') conflicts=('tgui') replaces=() -source=("git+https://github.com/texus/TGUI.git#branch=0.8") +source=("git+https://github.com/texus/TGUI.git#branch=1.x") sha256sums=('SKIP') pkgver() { @@ -25,8 +25,20 @@ build() { cd "$srcdir/TGUI" cmake -DCMAKE_INSTALL_PREFIX=/usr . \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ - -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \ - -DTGUI_BUILD_DOC=true + -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ + -DTGUI_CXX_STANDARD=17 \ + -DTGUI_BUILD_DOC=ON \ + -DTGUI_BUILD_GUI_BUILDER=ON \ + -DTGUI_BACKEND=Custom \ + -DTGUI_HAS_BACKEND_SFML_GRAPHICS=ON \ + -DTGUI_HAS_BACKEND_SFML_OPENGL3=ON \ + -DTGUI_HAS_BACKEND_SDL_RENDERER=ON \ + -DTGUI_HAS_BACKEND_SDL_OPENGL3=ON \ + -DTGUI_HAS_BACKEND_SDL_GLES2=ON \ + -DTGUI_HAS_BACKEND_SDL_TTF_OPENGL3=ON \ + -DTGUI_HAS_BACKEND_SDL_TTF_GLES2=ON \ + -DTGUI_HAS_BACKEND_GLFW_OPENGL3=ON \ + -DTGUI_HAS_BACKEND_GLFW_GLES2=ON make } |