rev 13000 - krap/qedje/trunk/debian
Sune Vuorela
pusling-guest at alioth.debian.org
Sat Dec 20 23:58:15 UTC 2008
Author: pusling-guest
Date: 2008-12-20 23:58:15 +0000 (Sat, 20 Dec 2008)
New Revision: 13000
Modified:
krap/qedje/trunk/debian/changelog
krap/qedje/trunk/debian/rules
Log:
- Based on ubuntu
* Fix prl and pkg-config file generation
Modified: krap/qedje/trunk/debian/changelog
===================================================================
--- krap/qedje/trunk/debian/changelog 2008-12-20 23:52:48 UTC (rev 12999)
+++ krap/qedje/trunk/debian/changelog 2008-12-20 23:58:15 UTC (rev 13000)
@@ -1,5 +1,7 @@
qedje (0.3.0-0r1) UNRELEASED; urgency=low
* Initial release.
+ - Based on ubuntu
+ * Fix prl and pkg-config file generation
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Wed, 17 Dec 2008 12:47:54 +0200
Modified: krap/qedje/trunk/debian/rules
===================================================================
--- krap/qedje/trunk/debian/rules 2008-12-20 23:52:48 UTC (rev 12999)
+++ krap/qedje/trunk/debian/rules 2008-12-20 23:58:15 UTC (rev 13000)
@@ -11,3 +11,14 @@
rm -rf debian/tmp
rm -f src/libqedje.prl
rm -rf src/pkgconfig/
+
+common-install-arch::
+# Fix wrong path in pkgconfig files
+ find $(DEB_DESTDIR)/usr/lib/pkgconfig -type f -name '*.pc' \
+ -exec perl -pi -e "s, -L$(CURDIR)/?\S+,,g" {} \;
+# Fix wrong path in prl files
+ find $(DEB_DESTDIR)/usr/lib -type f -name '*.prl' \
+ -exec perl -pi -e "s, -L$(CURDIR)/\S+,,g" {} \;
+ find $(DEB_DESTDIR)/usr/lib -type f -name '*.prl' \
+ -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \;
+
More information about the pkg-kde-commits
mailing list