Merge pull request #16827 from mrSi-Si/libyui
lib YaST ui for new isodumper and other; draft.
This commit is contained in:
@@ -0,0 +1,39 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# 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 shelltools, cmaketools, mesontools
|
||||||
|
|
||||||
|
subdirs = ["libyui",
|
||||||
|
"libyui-bindings",
|
||||||
|
"libyui-ncurses",
|
||||||
|
"libyui-qt",
|
||||||
|
"libyui-qt-graph"]
|
||||||
|
|
||||||
|
setupopt = ''.join([
|
||||||
|
' -DBUILD_SRC=ON',
|
||||||
|
' -DBUILD_DOC=ON',
|
||||||
|
' -DWERROR=OFF',
|
||||||
|
' -DWITH_MGA=OFF',
|
||||||
|
' -Bbuild -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
for subdir in (tuple(subdirs)):
|
||||||
|
shelltools.cd(subdir)
|
||||||
|
cmaketools.configure(setupopt)
|
||||||
|
shelltool.cd("..")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
for subdir in (tuple(subdirs)):
|
||||||
|
shelltools.cd(subdir)
|
||||||
|
mesontools.build()
|
||||||
|
shelltools.cd("..")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
for subdir in (tuple(subdirs))
|
||||||
|
shelltools.cd(subdir)
|
||||||
|
mesontoold.install()
|
||||||
|
shelltools.cd("..")
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libyui</Name>
|
||||||
|
<Homepage>https://github.com/libyui/libyui</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv3/LGPLv3</License>
|
||||||
|
<PartOf>programming.library</PartOf>
|
||||||
|
<Summary>Widget abstraction library providing Qt, GTK and ncurses frontends.</Summary>
|
||||||
|
<Description>Originally libyui was developed for YaST but it can be used in any independent project.</Description>
|
||||||
|
<Archive sha1sum="d8051a87a8fe542741b18e32deb56e2022b47463" type="targz">https://github.com/libyui/libyui/archive/4.6.2/libyui-4.6.2.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>swig</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>doxygen</Dependency>
|
||||||
|
<Dependency>gtk3-devel</Dependency>
|
||||||
|
<Dependency>ruby-devel</Dependency>
|
||||||
|
<Dependency>ncurses-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>qt6-base-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch level="1"></Patch> -->
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libyui</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>gtk3</Dependency>
|
||||||
|
<Dependency>ruby</Dependency>
|
||||||
|
<Dependency>qt6-base</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="config">/etc</Path>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2025-06-14</Date>
|
||||||
|
<Version>4.6.2</Version>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user