clementine:edit

This commit is contained in:
alihanozturk
2017-01-07 11:08:23 +03:00
parent 24ec463115
commit b83aa45c79
2 changed files with 11 additions and 1 deletions
+7
View File
@@ -10,6 +10,13 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|lastfm5/ws.h|lastfm/ws.h|g' CMakeLists.txt")
shelltools.system("sed -i 's|lastfm5/Track.h|lastfm/Track.h|g' CMakeLists.txt")
shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmcompat.h")
shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmservice.cpp")
shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmsettingspage.cpp")
shelltools.system("sed -i 's|<lastfm5/Track.h>|<lastfm/Track.h>|g' src/core/song.cpp")
shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop")
cmaketools.configure(" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \