[proaudio] kmiditracker ebuild patch

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Kmiditracker-0.5.13 installs its html documentation using a slightly wrong path,
and with an incorrect *.desktop entry, so KDE Help Center doesn't find the
mentioned documentation. Here's an ebuild patch to correct the situation.

JR

-- 
| me@home ~$whoami            ^ ^  | "Trust me, I know what I'm doing!" |
| Jouni 'Mad Max' Rinne      ('x') | - Sledge Hammer                    |
| me@home ~$man woman       C " "  | -------[ph34r t3h p3Ngu1n]-------- |
| Segmentation fault (core dumped) | ::   Last.fm user ID: l33tmmx   :: |
--- kmiditracker-0.5.13.ebuild	2006-12-27 17:23:00.000000000 +0200
+++ kmiditracker-0.5.13-r1.ebuild	2006-12-27 17:25:12.000000000 +0200
@@ -16,4 +16,11 @@
 DEPEND="media-libs/alsa-lib
 		kde-base/kdelibs"
 
+src_unpack() {
+	unpack ${A}
+	cd ${S}
+	sed -ie "s:${prefix}/share/doc/kde/HTML:${prefix}/share/doc/HTML:g" aclocal.m4
+	sed -ie "s:kmiditracker.html:index.html:" src/kmiditracker.desktop
+}
+
 need-kde 3


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/