rev 16908 - krap/mlt/trunk/debian
Patrick Matthäi
pmatthaei at alioth.debian.org
Sat Feb 13 10:48:59 UTC 2010
Author: pmatthaei
Date: 2010-02-13 10:48:58 +0000 (Sat, 13 Feb 2010)
New Revision: 16908
Modified:
krap/mlt/trunk/debian/changelog
krap/mlt/trunk/debian/rules
Log:
* Add patch from Benjamin Drung to determine the Python version on build
time. Much thanks.
Closes: #569640
Modified: krap/mlt/trunk/debian/changelog
===================================================================
--- krap/mlt/trunk/debian/changelog 2010-02-13 09:11:44 UTC (rev 16907)
+++ krap/mlt/trunk/debian/changelog 2010-02-13 10:48:58 UTC (rev 16908)
@@ -1,3 +1,11 @@
+mlt (0.4.10-6) UNRELEASED; urgency=low
+
+ * Add patch from Benjamin Drung to determine the Python version on build
+ time. Much thanks.
+ Closes: #569640
+
+ -- Patrick Matthäi <pmatthaei at debian.org> Sat, 13 Feb 2010 11:47:52 +0100
+
mlt (0.4.10-5) unstable; urgency=high
* Bump Standards-Version to 3.8.4 (no changes needed).
Modified: krap/mlt/trunk/debian/rules
===================================================================
--- krap/mlt/trunk/debian/rules 2010-02-13 09:11:44 UTC (rev 16907)
+++ krap/mlt/trunk/debian/rules 2010-02-13 10:48:58 UTC (rev 16908)
@@ -16,13 +16,23 @@
--swig-languages=python \
--qimage-libdir=/usr/lib
+PYTHON_DIR := usr/lib/$(shell pyversions -d)/site-packages
+
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
+override_dh_auto_clean:
+ [ ! -f config.mak ] || $(MAKE) distclean
+ rm -f config.log *.pc src/modules/gtk2/config.h
+ find \( -name '*.o' -o -name '*.mak' -o -name '.depend' \) -delete
+
override_dh_install:
+ mkdir -p debian/python-mlt2/$(PYTHON_DIR)
+ install -m 644 src/swig/python/mlt.py debian/python-mlt2/$(PYTHON_DIR)/mlt.py
+ install -m 644 src/swig/python/_mlt.so debian/python-mlt2/$(PYTHON_DIR)/_mlt.so
dh_install --list-missing
override_dh_strip:
More information about the pkg-kde-commits
mailing list