diff --git a/common/shlibs b/common/shlibs index cfe81153e76..ceadc20741d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -531,6 +531,7 @@ libkmindexreader.so.6 kdepim-runtime-24.02.0_1 libmaildir.so.6kdepim-runtime-24.02.0_1 libkImageAnnotator.so.0 kImageAnnotator-0.7.1_1 libkColorPicker.so.0 kColorPicker-0.3.1_1 +libkColorPicker-Qt5.so.0 kColorPicker-qt5-0.3.1_1 libbabl-0.1.so.0 babl-0.1.16_1 libbamf3.so.2 bamf-0.5.1_1 libicuio.so.73 icu-libs-73.2_1 diff --git a/srcpkgs/kColorPicker-qt5-devel b/srcpkgs/kColorPicker-qt5-devel new file mode 120000 index 00000000000..52a9fd4de47 --- /dev/null +++ b/srcpkgs/kColorPicker-qt5-devel @@ -0,0 +1 @@ +kColorPicker-qt5 \ No newline at end of file diff --git a/srcpkgs/kColorPicker-qt5/patches/rename-qt5.patch b/srcpkgs/kColorPicker-qt5/patches/rename-qt5.patch new file mode 100644 index 00000000000..5ba2469f385 --- /dev/null +++ b/srcpkgs/kColorPicker-qt5/patches/rename-qt5.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1d15048..a96250d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -65,6 +65,7 @@ set_target_properties(kColorPicker + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin + VERSION ${PROJECT_VERSION} + SOVERSION 0 ++ OUTPUT_NAME kColorPicker-Qt5 + ) + + install(TARGETS kColorPicker diff --git a/srcpkgs/kColorPicker-qt5/template b/srcpkgs/kColorPicker-qt5/template new file mode 100644 index 00000000000..d1839361d30 --- /dev/null +++ b/srcpkgs/kColorPicker-qt5/template @@ -0,0 +1,25 @@ +# Template file for 'kColorPicker-qt5' +pkgname=kColorPicker-qt5 +version=0.3.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTS=ON -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON" +hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools" +makedepends="qt5-devel" +short_desc="Qt based Color Picker with popup menu" +maintainer="Luciogi " +license="LGPL-2.0-or-later" +homepage="https://github.com/DamirPorobic/kColorPicker" +distfiles="https://github.com/DamirPorobic/kColorPicker/archive/v${version}.tar.gz" +checksum=e78c785ec4a8a22a48a91835c97601f5704b5076b154415353b0d2697dc0b4f7 + + +kColorPicker-qt5-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}