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

Commit

Permalink
build: add app juffed
Browse files Browse the repository at this point in the history
JuffEd Advanced  text editor

Log: add a software juffed
  • Loading branch information
lzmhc committed May 1, 2024
1 parent ceda2d7 commit 296e708
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
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}

0 comments on commit 296e708

Please sign in to comment.