[med-svn] [libundead] 01/02: meson-build.patch: Update for new release
Matthias Klumpp
ximion-guest at moszumanska.debian.org
Fri Aug 4 01:35:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
ximion-guest pushed a commit to branch master
in repository libundead.
commit dc1f9f1691578fef70faae6eb58274cb2b489b74
Author: Matthias Klumpp <matthias at tenstral.net>
Date: Thu Aug 3 21:35:10 2017 -0400
meson-build.patch: Update for new release
---
debian/patches/01_meson-build.patch.patch | 53 +++++++++++++++++++++++++++----
1 file changed, 47 insertions(+), 6 deletions(-)
diff --git a/debian/patches/01_meson-build.patch.patch b/debian/patches/01_meson-build.patch.patch
index d663797..00e772c 100644
--- a/debian/patches/01_meson-build.patch.patch
+++ b/debian/patches/01_meson-build.patch.patch
@@ -1,19 +1,59 @@
-From 8636fb47ee27ea11676239200eb0568bc087ef1b Mon Sep 17 00:00:00 2001
+From 3800818140159d0532cd8d758e4cce0058e63a9a Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matthias at tenstral.net>
Date: Tue, 28 Feb 2017 14:47:37 +0100
Subject: [PATCH] Add Meson build definition
---
- meson.build | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 58 insertions(+)
+ .travis.yml | 23 ++++++++++++++++++++++-
+ meson.build | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 81 insertions(+), 1 deletion(-)
create mode 100644 meson.build
+diff --git a/.travis.yml b/.travis.yml
+index afb0f50..04f5926 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -1,4 +1,6 @@
+ language: d
++dist: trusty
++sudo: false
+
+ os:
+ - linux
+@@ -8,4 +10,23 @@ d:
+ - dmd
+ - ldc
+
+-sudo: false
++
++before_install:
++ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
++ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja python3; fi
++ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install meson; fi
++ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip3 install meson; fi
++
++install:
++ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir .ntmp && curl -L https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip -o .ntmp/ninja-linux.zip; fi
++ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip .ntmp/ninja-linux.zip -d .ntmp; fi
++
++before_script:
++ - export PATH=$PATH:$PWD/.ntmp
++
++script:
++ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then meson build && ninja -C build; fi
++ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -C build test -v; fi
++ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -C build test; fi
++ - dub build
++ - dub test
+diff --git a/meson.build b/meson.build
+new file mode 100644
+index 0000000..bb51cd5
--- /dev/null
+++ b/meson.build
-@@ -0,0 +1,58 @@
+@@ -0,0 +1,59 @@
+project('undeaD', 'd')
+
-+project_version = '1.0.6'
++project_version = '1.0.7'
+project_soversion = '0'
+
+src_dir = include_directories('src/')
@@ -21,6 +61,7 @@ Subject: [PATCH] Add Meson build definition
+
+undead_src = [
+ 'src/undead/stream.d',
++ 'src/undead/string.d',
+ 'src/undead/dateparse.d',
+ 'src/undead/regexp.d',
+ 'src/undead/doformat.d',
@@ -40,7 +81,7 @@ Subject: [PATCH] Add Meson build definition
+install_headers(undead_internal_src, subdir: 'd/undead/internal')
+
+# we only build a static library here
-+undead_lib = static_library('undead',
++undead_lib = library('undead',
+ [undead_src,
+ undead_internal_src],
+ include_directories: [src_dir],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libundead.git
More information about the debian-med-commit
mailing list