This commit is contained in:
uglyside
2024-11-22 17:11:47 +03:00
parent 0e8a232ae6
commit 534e88e891
2 changed files with 49 additions and 63 deletions
+5 -9
View File
@@ -4,19 +4,15 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pisitools, cmaketools
from pisi.actionsapi import cmaketools, mesontools, pisitools
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TOUCH_SUPPORT=ON")
cmaketools.configure("-Bbuild -G Ninja -L")
def build():
cmaketools.make()
mesontools.build()
def install():
cmaketools.install()
mesontools.install()
pisitools.dodoc("AUTHORS", "ChangeLog", "INSTALL", "LICENSE", "README", "TODO")
pisitools.insinto("/usr/share/pixmaps/", "streams/icons/stream.png", "cantata.png")
pisitools.dodoc("AUTHORS", "LICENSE", "README.md")