[arch-commits] Commit in supertux/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Mon Jul 18 01:06:13 UTC 2022


    Date: Monday, July 18, 2022 @ 01:06:12
  Author: svenstaro
Revision: 1254396

upgpkg: supertux 0.6.3-3: Enable Discord integration (FS#75111)

Modified:
  supertux/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 00:47:42 UTC (rev 1254395)
+++ PKGBUILD	2022-07-18 01:06:12 UTC (rev 1254396)
@@ -6,7 +6,7 @@
 
 pkgname=supertux
 pkgver=0.6.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A classic 2D jump'n'run sidescroller game in a style similar to the original SuperMario games"
 arch=('x86_64')
 url="https://github.com/supertux/supertux"
@@ -13,6 +13,7 @@
 license=('GPL')
 depends=('sdl2_image' 'curl' 'openal' 'libvorbis' 'glew' 'physfs' 'freetype2' 'boost-libs' 'hicolor-icon-theme')
 makedepends=('cmake' 'boost' 'mesa' 'optipng' 'glm')
+options=('!lto')
 source=("https://github.com/SuperTux/supertux/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz"
         gcc12.patch
         missing-include-for-FLT_EPSILON.patch)
@@ -29,7 +30,8 @@
 build() {
   cd "SuperTux-v${pkgver}-Source"
 
-  cmake . \
+  cmake \
+      -DENABLE_DISCORD=ON \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DINSTALL_SUBDIR_BIN=bin \
       -DCMAKE_BUILD_TYPE=Release



More information about the arch-commits mailing list