aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-05-22 06:36:36 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-06-16 08:41:53 +0000
commit09a22c71a43793a58cb13893877eb85f4c3544f8 (patch)
tree3a7ef034f95c04ae0ef3f0b53a705b05794a2c3e
parent0a11fb81f2c98c3fc4149dfc0cecaa88b53784ef (diff)
downloadaports-09a22c71a43793a58cb13893877eb85f4c3544f8.tar.gz
aports-09a22c71a43793a58cb13893877eb85f4c3544f8.tar.bz2
aports-09a22c71a43793a58cb13893877eb85f4c3544f8.tar.xz
community/neko: modernize, disable gtk+2.0 ui
-rw-r--r--community/neko/APKBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/community/neko/APKBUILD b/community/neko/APKBUILD
index 158cbd782e..96b71f5569 100644
--- a/community/neko/APKBUILD
+++ b/community/neko/APKBUILD
@@ -2,30 +2,29 @@
# Maintainer: Andy Li <andy@onthewings.net>
pkgname=neko
pkgver=2.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="High-level dynamically typed programming language"
url="https://nekovm.org/"
arch="all"
-license="LGPL"
-depends=""
+license="MIT"
depends_dev="neko"
-makedepends="apache2-dev cmake gc-dev gtk+2.0-dev linux-headers mariadb-connector-c-dev
- mbedtls-dev samurai sqlite-dev"
-options=""
-install=""
-subpackages="$pkgname-dev $pkgname-libs $pkgname-mysql $pkgname-ui
-$pkgname-apache2"
+makedepends="apache2-dev cmake gc-dev linux-headers mariadb-connector-c-dev mbedtls-dev
+ samurai sqlite-dev pcre-dev"
+subpackages="$pkgname-dev $pkgname-libs $pkgname-mysql $pkgname-apache2"
source="$pkgname-$pkgver.tar.gz::https://github.com/HaxeFoundation/neko/archive/v${pkgver//./-}.tar.gz
remove-git-dependent-targets.patch
"
builddir="$srcdir/$pkgname-${pkgver//./-}"
+replaces="$pkgname-ui" # subpkg was removed, replace it
+
build() {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=None \
-DNEKO_JIT_DISABLE=ON \
+ -DWITH_UI=OFF \
-GNinja
ninja -C build
}
@@ -53,12 +52,6 @@ mysql() {
_mv_ndll mysql mysql5
}
-ui() {
- pkgdesc="Neko Virtual Machine - UI support"
- depends=
- _mv_ndll ui
-}
-
apache2() {
pkgdesc="Neko Virtual Machine - Apache2 modules"
depends=