diff --git a/io.github.juffed/linglong.yaml b/io.github.juffed/linglong.yaml new file mode 100644 index 000000000..cbbab8368 --- /dev/null +++ b/io.github.juffed/linglong.yaml @@ -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 diff --git a/io.github.juffed/patches/make-install.patch b/io.github.juffed/patches/make-install.patch new file mode 100644 index 000000000..8111980c3 --- /dev/null +++ b/io.github.juffed/patches/make-install.patch @@ -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}