cairo-dock-3.5.1

This commit is contained in:
uglyside
2025-01-31 11:36:03 +03:00
parent e127297238
commit 456da775c3
7 changed files with 56 additions and 244 deletions
+10 -17
View File
@@ -2,28 +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 cmaketools, mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
i = ''.join([
' -DCMAKE_BUILD_TYPE=RelWithDebInfo',
' -DCMAKE_INSTALL_PREFIX=/usr',
' -Bbuild -G Ninja -L '
])
def setup():
pisitools.dosed("Dbus/interfaces/python/PythonInstall.cmake.in", "\@ROOT_PREFIX\@", get.installDIR())
pisitools.dosed("Dbus/interfaces/bash/BashInstall.cmake.in", "\@ROOT_PREFIX\@", get.installDIR())
cmaketools.configure()
if not shelltools.isDirectory("weblets/src/webkit"):
shelltools.makedirs("weblets/src/webkit")
shelltools.sym("%s/weblets/src/webkit" % get.curDIR(), "weblets/src/webkit/webkit")
for file in shelltools.ls("/usr/include/webkit-1.0/webkit"):
shelltools.sym("/usr/include/webkit-1.0/webkit/%s" % file, "weblets/src/webkit/%s" % file)
pisitools.dosed("weblets/src/applet-struct.h", "<webkit\/webkit.h>", '"webkit/webkit.h"')
cmaketools.configure(i)
def build():
cmaketools.make()
mesontools.build()
def install():
cmaketools.install()
mesontools.install()