New package: kImageAnnotator-qt5-0.7.1

This commit is contained in:
Luciogi 2024-03-25 12:25:24 +05:00 committed by Đoàn Trần Công Danh
parent 4f4cc07c28
commit 7061f0a8da
4 changed files with 47 additions and 0 deletions

View File

@ -530,6 +530,7 @@ libakonadi-filestore.so.6 kdepim-runtime-24.02.0_1
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
libkImageAnnotator-Qt5.so.0 kImageAnnotator-qt5-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

View File

@ -0,0 +1 @@
kImageAnnotator-qt5

View File

@ -0,0 +1,21 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f3516e..7e1960f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ if (WIN32)
elseif (APPLE)
set(KIMAGEANNOTATOR_LANG_INSTALL_DIR "../Resources")
elseif (UNIX)
- set(KIMAGEANNOTATOR_LANG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/kImageAnnotator/translations")
+ set(KIMAGEANNOTATOR_LANG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/kImageAnnotator-Qt5/translations")
string(REGEX REPLACE "//" "/" KIMAGEANNOTATOR_LANG_INSTALL_DIR "${KIMAGEANNOTATOR_LANG_INSTALL_DIR}")
endif ()
@@ -97,6 +97,7 @@ set_target_properties(kImageAnnotator
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin
VERSION ${PROJECT_VERSION}
SOVERSION 0
+ OUTPUT_NAME kImageAnnotator-Qt5
)
install(TARGETS kImageAnnotator

View File

@ -0,0 +1,24 @@
# Template file for 'kImageAnnotator-qt5'
pkgname=kImageAnnotator-qt5
version=0.7.1
revision=1
build_style=cmake
# XXX: Tests don't build
configure_args="-DBUILD_TESTS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-tools-devel qt5-svg-devel kColorPicker-qt5-devel"
short_desc="Tool for annotating images"
maintainer="Luciogi <lucigithubcommit@skiff.com>"
license="LGPL-2.0-or-later"
homepage="https://github.com/DamirPorobic/kImageAnnotator"
distfiles="https://github.com/DamirPorobic/kImageAnnotator/archive/v${version}.tar.gz"
checksum=2335c5be15a5dde34c3333c10a6339da114e2232e4c4642dea1793e491e09677
kImageAnnotator-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}