pulseaudio-qt rebuild cmake
This commit is contained in:
@@ -1,19 +1,32 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import kde5
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
kde5.configure()
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DBUILD_QCH=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_TESTING=OFF", sourceDir="..")
|
||||
|
||||
def build():
|
||||
kde5.make()
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
#cmaketools.make("-C build doc")
|
||||
|
||||
def install():
|
||||
kde5.install()
|
||||
pisitools.dodoc("README*", "COPYING*")
|
||||
|
||||
pisitools.dodoc("COPYING*")
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.dohtml("doc/html/*")
|
||||
|
||||
#pisitools.remove("/usr/bin/lit2epub")
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<Description>Libpulse için Qt bağları</Description>
|
||||
<Archive sha1sum="76f34b8a0684117f484381760bf8ac2675928df9" type="tarxz">https://download.kde.org/stable/pulseaudio-qt/pulseaudio-qt-1.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
|
||||
Reference in New Issue
Block a user