Commit db863f2d authored by Rasmus Thomsen's avatar Rasmus Thomsen

testing/vibe-d: new aport

https://vibed.org
High-level declarative REST and web application framework written in D
parent f567ef20
Pipeline #10766 failed with stages
in 4 minutes and 28 seconds
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=vibe-d
pkgver=0.8.6
pkgrel=0
pkgdesc="High-level declarative REST and web application framework written in D"
url="https://vibed.org"
arch="all"
license="MIT"
# TODO: compile w/ system openssl-d
makedepends="meson openssl-d-dev libevent-d-dev openssl-dev diet-ng-dev stdx-allocator-dev
ldc ldc-runtime zlib-dev libevent-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/vibe-d/vibe.d/archive/v$pkgver/vibe-d-$pkgver.tar.gz
adjust-include-paths.patch
add-missing-buildfile.patch"
builddir="$srcdir/vibe.d-$pkgver"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="4c5960693698349b606a15f7e4e680474b05604e7a18b79890ee91b1e1805818ace916eb4d25727e8ec63ef7243b1f3d3df97be0682c0d785e32341878705ada vibe-d-0.8.6.tar.gz
709e4660397d5319b902d39f96de4edf7548c59fc472d051ce1642ef75ba0dd474d2dfef00f92c31918adc43abfce09797aa905b9cbeaa0a10cb3f8854ef4373 adjust-include-paths.patch
6a8fb01a3cf7c7760d20604861f0829e909bef29fcfeb52ce968c605d2fe4db15e3c8e130918603eb87af28149e91d79e33b423b9e6ae5ac4cb4cb691877f833 add-missing-buildfile.patch"
--- a/http/meson.build 2020-03-24 16:42:53.481664222 +0100
+++ b/http/meson.build 2020-03-24 16:43:18.324311638 +0100
@@ -3,6 +3,7 @@
vibe_http_src_dir = include_directories('.')
vibe_http_src = [
+ 'vibe/http/internal/basic_auth_client.d',
'vibe/http/auth/basic_auth.d',
'vibe/http/auth/digest_auth.d',
'vibe/http/client.d',
diff --git a/meson.build b/meson.build
index 4cf5ca7..29be4a3 100644
--- a/meson.build
+++ b/meson.build
@@ -67,8 +67,8 @@ subproject_dir = 'lib/subprojects'
# Try to find system OpenSSL bindings, if not found, download
# a Git copy.
openssl_src_dir = ''
-if run_command('[', '-d', '/usr/include/d/common/deimos/openssl/', ']').returncode() == 0
- openssl_src_dir = '/usr/include/d/common'
+if run_command('ls', '-d', '/usr/include/d/openssld/deimos/openssl/').returncode() == 0
+ openssl_src_dir = '/usr/include/d/openssld'
else
openssl_src_dir = subproject_dir + '/openssl'
if run_command('[', '-d', openssl_src_dir, ']').returncode() != 0
@@ -86,8 +86,8 @@ openssl_inc = include_directories(openssl_src_dir)
# Try to find system LibEvent bindings, if not found, download
# a Git copy.
libevent_src_dir = ''
-if run_command('[', '-d', '/usr/include/d/common/deimos/event2/', ']').returncode() == 0
- libevent_src_dir = '/usr/include/d/common'
+if run_command('ls', '-d', '/usr/include/d/libeventd/deimos/event2/').returncode() == 0
+ libevent_src_dir = '/usr/include/d/libeventd'
else
libevent_src_dir = subproject_dir + '/libevent'
if run_command('[', '-d', libevent_src_dir, ']').returncode() != 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment