clementine.

This commit is contained in:
4fury-c3440d8
2020-09-22 16:38:20 +03:00
parent b08801bb8d
commit 7ea594c28b
2 changed files with 52 additions and 45 deletions
+9 -6
View File
@@ -2,19 +2,21 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DCMAKE_INSTALL_PREFIX=/isr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_VK=ON \
"
def setup():
shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop")
cmaketools.configure(" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_VK=ON")
cmaketools.configure(j)
def build():
cmaketools.make()
@@ -22,4 +24,5 @@ def build():
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("Changelog", "COPYING")
pisitools.dodoc("Changelog", "COPYING", "README*")