[SCM] mpv/master: Switch to waf build script
ghedo at users.alioth.debian.org
ghedo at users.alioth.debian.org
Sun Dec 29 19:09:12 UTC 2013
The following commit has been merged in the master branch:
commit cdce83a06633f94b0dde00a54ce64425454fafd4
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date: Sun Dec 29 18:32:49 2013 +0100
Switch to waf build script
diff --git a/debian/control b/debian/control
index 51c1152..192af3d 100644
--- a/debian/control
+++ b/debian/control
@@ -43,6 +43,7 @@ Build-Depends: debhelper (>= 9),
libxss-dev,
libxv-dev,
pkg-config,
+ python,
python-docutils,
yasm
Standards-Version: 3.9.4
diff --git a/debian/rules b/debian/rules
index 1491602..617d3af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,17 @@
dh $@
override_dh_auto_configure:
- ./configure --prefix=/usr --confdir=/etc/mpv --enable-sdl2
+ python ./waf --nocache configure \
+ --prefix=/usr \
+ --confdir=/etc/mpv \
+ --enable-sdl2
+
+override_dh_auto_build:
+ python ./waf --nocache build
+
+override_dh_auto_install:
+ python ./waf --nocache install --destdir=debian/mpv
override_dh_auto_clean:
- test -f config.mak && dh_auto_clean || true
+ python ./waf --nocache distclean
+ find . -name "*.pyc" -delete
--
mpv packaging
More information about the pkg-multimedia-commits
mailing list