qt5:moved into main repo for pisi 2.0

This commit is contained in:
ayhanyalcinsoy
2015-06-17 20:26:11 +03:00
parent 15c347cc16
commit fe783a40d2
94 changed files with 3270 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt5
from pisi.actionsapi import get
def setup():
qt5.configure()
def build():
qt5.make()
def install():
qt5.install("INSTALL_ROOT=%s" % get.installDIR())
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)
pisitools.insinto("/usr/share/licenses/qt5-script/", "LGPL_EXCEPTION.txt")