Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

build: add app juffed #2142

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions io.github.juffed/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package:
id: io.github.juffed
name: juffed
version: 0.10.89
kind: app
description: |
JuffEd is a simple , cross-platform text editor written using the Qt toolkit and the QScintila library.

runtime:
id: org.deepin.Runtime
version: 23.0.0

depends:
- id: qtermwidget
version: 0.14.1
- id: qscintilla
version: 2.13.3.1
source:
kind: git
url: "https://github.com/Mezomish/juffed.git"
commit: 73ad560ebf0441d27e1544e0f349fbb3b840882f
patch: patches/make-install.patch

build:
kind: cmake
30 changes: 30 additions & 0 deletions io.github.juffed/patches/make-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b19667a..c255e19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ set (DATA_INSTALL_DIR
message ( STATUS "Install path for executables: ${BIN_INSTALL_DIR}" )
message ( STATUS "Install path for libraries: ${LIB_INSTALL_DIR}" )
message ( STATUS "" )
-#set (CMAKE_INSTALL_RPATH "${LIB_INSTALL_DIR}")
+set (CMAKE_INSTALL_RPATH "${LIB_INSTALL_DIR}")

set (CMAKE_AUTOMOC ON)

@@ -205,6 +205,8 @@ configure_file ("${CMAKE_SOURCE_DIR}/cmake/AppInfo.apple.h.cmake" "${CMAKE_BINAR
####################

# library
+
+
add_library ( ${JUFFLIB} SHARED
${juffed_lib_SRCS}
${juffed_lib_MOC_HEADERS}
@@ -217,6 +219,7 @@ if (ENCA_FOUND)
target_link_libraries( ${JUFFLIB} ${ENCA_LIBRARIES} )
endif (ENCA_FOUND)

+link_directories(${PREFIX}/lib${LIB_SUFFIX})
add_library ( ${QSCI_ENGINE} SHARED
${juffed_qsci_SRCS}
${juffed_qsci_UIS_H}
Loading