yarock player new Qt6 upstream.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user