[arch-commits] Commit in neko/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue Dec 22 12:38:04 UTC 2020


    Date: Tuesday, December 22, 2020 @ 12:38:03
  Author: arodseth
Revision: 781962

archrelease: copy trunk to community-x86_64

Added:
  neko/repos/community-x86_64/PKGBUILD
    (from rev 781961, neko/trunk/PKGBUILD)
Deleted:
  neko/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 47 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-22 12:37:58 UTC (rev 781961)
+++ PKGBUILD	2020-12-22 12:38:03 UTC (rev 781962)
@@ -1,43 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
-# Contributor: Dwight Schauer <dschauer at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
-# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
-# Contributor: Caleb McCombs <erdrick016+aur at gmail.com>
-# Contributor: Christian Hesse <arch at eworm.de>
-
-pkgname=neko
-pkgver=2.3.0
-pkgrel=1
-pkgdesc='High-level and dynamically typed programming language'
-url='https://nekovm.org/'
-license=(LGPL)
-arch=(x86_64)
-depends=(gc gtk2 mariadb-libs mbedtls sqlite)
-makedepends=(apache apr cmake git mbedtls ninja)
-optdepends=('apache: for extending Apache with mod_neko')
-options=(!strip)
-source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
-sha256sums=('SKIP')
-
-prepare() {
-  sed -i '/xlocale.h/d' $pkgname/libs/std/sys.c
-}
-
-build() {
-  mkdir -p build
-  cd build
-  cmake ../$pkgname \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DRUN_LDCONFIG=OFF \
-    -GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: nekovm.org/download
-# vim: ts=2 sw=2 et:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 781961, neko/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-22 12:38:03 UTC (rev 781962)
@@ -0,0 +1,47 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+# Contributor: Dwight Schauer <dschauer at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
+# Contributor: Caleb McCombs <erdrick016+aur at gmail.com>
+# Contributor: Christian Hesse <arch at eworm.de>
+
+pkgname=neko
+pkgver=2.3.0
+pkgrel=2
+pkgdesc='High-level and dynamically typed programming language'
+url='https://nekovm.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(gc gtk3 mariadb-libs mbedtls sqlite)
+makedepends=(apache apr cmake git mbedtls ninja)
+optdepends=('apache: for extending Apache with mod_neko')
+options=(!strip)
+source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
+sha256sums=('SKIP')
+
+prepare() {
+  sed -i '/xlocale.h/d' $pkgname/libs/std/sys.c
+
+  # Port to GTK 3
+  mv $pkgname/cmake/FindGTK2.cmake $pkgname/cmake/FindGTK3.cmake
+  sed -i 's/gtk_timeout_add/gdk_threads_add_timeout/g' $pkgname/libs/ui/ui.c
+  find $pkgname -type f -exec sed -i 's/gtk2/gtk3/g;s/GTK2/GTK3/g;s/gtk-2/gtk-3/g;s/GTK-2/GTK-3/g;s/gtk+-2/gtk+-3/g;s/GTK+-2/GTK+-3/g' {} \;
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DRUN_LDCONFIG=OFF \
+    -GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download



More information about the arch-commits mailing list