From c0b1357ce21278e6e9d4ad2c6bf5ca8f9916dd77 Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Tue, 28 May 2024 21:34:09 +0800 Subject: [PATCH] build: add djvu-imager-qt It is based on the combination of the background glueing and mask coloring methods. Log: add software name--djvu-imager-qt --- io.github.djvu-imager-qt/linglong.yaml | 20 ++++++++++++++ .../patches/0001-install.patch | 27 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 io.github.djvu-imager-qt/linglong.yaml create mode 100644 io.github.djvu-imager-qt/patches/0001-install.patch diff --git a/io.github.djvu-imager-qt/linglong.yaml b/io.github.djvu-imager-qt/linglong.yaml new file mode 100644 index 000000000..e3980d8fa --- /dev/null +++ b/io.github.djvu-imager-qt/linglong.yaml @@ -0,0 +1,20 @@ +package: + id: io.github.djvu-imager-qt + name: djvu-imager-qt + version: 2.9.1 + kind: app + description: | + It is based on the combination of the background glueing and mask coloring methods. + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +source: + kind: git + url: https://github.com/trufanov-nok/djvu-imager-qt.git + commit: 70913e3caf559210ff0f4e5fbbf60377c5fde426 + patch: patches/0001-install.patch + +build: + kind: cmake diff --git a/io.github.djvu-imager-qt/patches/0001-install.patch b/io.github.djvu-imager-qt/patches/0001-install.patch new file mode 100644 index 000000000..3ee834819 --- /dev/null +++ b/io.github.djvu-imager-qt/patches/0001-install.patch @@ -0,0 +1,27 @@ +From 88c7bd09e02c87b246762c8c3f497fa1bbc93de5 Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Wed, 22 May 2024 11:05:09 +0800 +Subject: [PATCH] install + +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0b0718b..9f0be71 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -136,8 +136,8 @@ target_link_libraries(djvu-imager-qt PRIVATE Qt5::Widgets) + + + IF(NOT WIN32 AND NOT APPLE) +- INSTALL(FILES res/djvu-imager-qt.png DESTINATION "/usr/share/pixmaps/") +- INSTALL(FILES debian/djvu-imager-qt.desktop DESTINATION "/usr/share/applications/") ++ INSTALL(FILES res/djvu-imager-qt.png DESTINATION share/icons/hicolor/16X16/apps/) ++ INSTALL(FILES debian/djvu-imager-qt.desktop DESTINATION share/applications) + ENDIF(NOT WIN32 AND NOT APPLE) + + IF(APPLE) +-- +2.33.1 +