[pkg-d-commits] [vibe.d] 05/11: Use debhelper's built-in Meson support
Matthias Klumpp
mak at moszumanska.debian.org
Wed Aug 30 16:55:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository vibe.d.
commit 33e253e7c637bade5fe4e07db8cc8139c923d729
Author: Matthias Klumpp <mak at debian.org>
Date: Wed Aug 30 17:33:43 2017 +0200
Use debhelper's built-in Meson support
---
debian/compat | 2 +-
debian/control | 9 +++++----
debian/rules | 30 +++---------------------------
3 files changed, 9 insertions(+), 32 deletions(-)
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index d2a027a..aca3713 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,17 @@ Section: web
Priority: optional
Maintainer: Debian D Language Group <pkg-d-devel at lists.alioth.debian.org>
Uploaders: Matthias Klumpp <mak at debian.org>
-Build-Depends: debhelper (>= 9.0.0),
+Build-Depends: debhelper (>= 10.4),
dlang-libevent,
dlang-openssl,
+ libdiet-dev,
ldc,
libevent-dev,
- libssl1.0-dev,
- meson,
+ libssl-dev,
+ meson (>= 0.42),
pkg-config,
zlib1g-dev
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
Homepage: http://vibed.org/
Vcs-Git: https://anonscm.debian.org/git/pkg-d/vibe.d.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-d/vibe.d.git
diff --git a/debian/rules b/debian/rules
index ab9d5f7..ae6f21d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,34 +2,10 @@
# -*- makefile -*-
#export DH_VERBOSE=1
-VIBED_FLAGS := --prefix=/usr \
- --buildtype=plain
-
-export DFLAGS=-O2 -g -release -wi
-
-# Define install target dir
-INSTALLDIR = $(CURDIR)/debian/tmp
+export DFLAGS=-O -g -release -wi
%:
dh $@ --parallel
-override_dh_auto_configure:
- mkdir build
- (cd build && meson $(VIBED_FLAGS) ..)
-
-override_dh_auto_build:
- ldc2 --version
- ninja -Cbuild -v
-
-override_dh_auto_install:
- DESTDIR=$(INSTALLDIR) ninja -Cbuild -v install
-
-override_dh_auto_test:
- #ninja -Cbuild -v test # FIXME: Doesn't show any log on failure at time due to Meson bugs.
-
-override_dh_install:
- dh_install --list-missing
-
-override_dh_clean:
- rm -rf build/
- dh_clean
+override_dh_missing:
+ dh_missing --fail-missing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/vibe.d.git
More information about the pkg-d-commits
mailing list