kde5-framework

This commit is contained in:
Rmys
2025-01-24 23:18:26 +03:00
parent a85ffb1f40
commit 69d5299a63
95 changed files with 8729 additions and 131 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/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 kde5
from pisi.actionsapi import pisitools
def setup():
kde5.configure()
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("README.md")
@@ -0,0 +1,51 @@
diff -Nur kapidox5-5.93.0/CMakeLists.txt kapidox5-5.91.0/CMakeLists.txt
--- kapidox5-5.93.0/CMakeLists.txt 2022-03-13 13:10:03.000000000 +0100
+++ kapidox5-5.91.0/CMakeLists.txt 2022-01-25 08:43:21.000000000 +0100
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)
project(kapidox5 NONE)
-include(FindUnixCommands)
+find_package(Python3 COMPONENTS Interpreter)
if(WIN32)
# Needs native path and extra escaping of spaces
@@ -11,7 +11,26 @@
endif()
add_custom_target(build ALL
- COMMAND ${BASH} bootstrap-devenv.sh
+ COMMAND ${Python3_EXECUTABLE} setup.py build --build-base ${BINARY_DIR}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
-)
+ )
+# DESTDIR may be set at install time (eg: `make DESTDIR=/tmp/package install`)
+# so we need to check for it when the install code is run and pass the appropriate
+# argument to distutils.
+#
+# Note that if(\$ENV{DESTDIR}) always fails, regardless of the value of the DESTDIR
+# environment variable, hence the STREQUAL test.
+# See https://public.kitware.com/Bug/view.php?id=14737
+install(CODE
+ "set(_root_arg)
+ if (NOT \$ENV{DESTDIR} STREQUAL \"\")
+ file(TO_NATIVE_PATH \$ENV{DESTDIR} DESTDIR)
+ set(_root_arg --root \"\${DESTDIR}\")
+ endif()
+ file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX} INSTALL_PREFIX)
+ execute_process(
+ COMMAND ${Python3_EXECUTABLE} setup.py install --prefix \"\${INSTALL_PREFIX}\" \${_root_arg}
+ WORKING_DIRECTORY \"${CMAKE_SOURCE_DIR}\"
+ )"
+ )
diff -up kapidox5-5.93.0/setup.py.me kapidox5-5.93.0/setup.py
--- kapidox5-5.93.0/setup.py.me 2022-04-28 14:13:13.168061970 +0200
+++ kapidox5-5.93.0/setup.py 2022-04-28 14:14:00.170175582 +0200
@@ -17,5 +17,5 @@ setup(
"kapidox5-depdiagram-generate = kapidox5.depdiagram_generate:main",
],
},
- install_requires=["doxypypy", "doxyqml", "requests", "jinja2", "pyyaml"]
+ install_requires=["requests", "jinja2", "pyyaml"]
)
+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>kapidox5</Name>
<Homepage>https://www.kde.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>library</IsA>
<Summary>KDE5 Frameworks API documentation tools.</Summary>
<Description>KDE5 Frameworks API documentation tools.</Description>
<Archive sha1sum="30a25991cb104170f0065a915454ceb85f0316bc" type="tarxz">mirrors://kde/stable/frameworks/5.116/kapidox-5.116.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>python3-Jinja2</Dependency>
<Dependency>python3-PyYAML</Dependency>
<!-- <Dependency versionFrom="5.15.1">qt5-base-devel</Dependency> -->
<Dependency versionFrom="5.116.0">extra-cmake-modules</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">fedora/kf5-kapidox5-install.patch</Patch-->
</Patches>
</Source>
<Package>
<Name>kapidox5</Name>
<RuntimeDependencies>
<!-- <Dependency versionFrom="5.15.1">qt5-base</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-05-19</Date>
<Version>5.116.0</Version>
<Comment>First release</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>kapidox5</Name>
<Summary xml:lang="tr">KDE5 Frameworks API dokümantasyon araçları.</Summary>
<Description xml:lang="tr">KDE5 Frameworks API dokümantasyon araçları.</Description>
</Source>
</PISI>