clementine.
This commit is contained in:
@@ -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*")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user