yarock player new Qt6 upstream.

This commit is contained in:
uglyside
2024-12-28 22:47:18 +03:00
parent a76ac12490
commit b7acf7a818
2 changed files with 46 additions and 54 deletions
+11 -18
View File
@@ -4,29 +4,22 @@
# 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 cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools, mesontools, pisitools
j = "-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_PHONON=ON \
-DENABLE_MPV=ON \
-DENABLE_VLC=OFF \
"
j = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_BUILD_TYPE=RelWithDebInfo',
' -DENABLE_{MPV,VLC}=OFF',
' -Bbuild -G Ninja -L '
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
cmaketools.configure(j)
def build():
shelltools.cd("build")
cmaketools.make()
mesontools.build()
def install():
shelltools.cd("build")
cmaketools.install()
pisitools.dodoc("../CHANGES.md", "../COPYING", "../README.md")
mesontools.install()
pisitools.dodoc("COPYING")