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

Commit

Permalink
Merge branch 'linuxdeepin:master' into twomaster
Browse files Browse the repository at this point in the history
  • Loading branch information
lzmhc authored Apr 30, 2024
2 parents a36dfb4 + ceda2d7 commit 9fee071
Show file tree
Hide file tree
Showing 99 changed files with 3,149 additions and 0 deletions.
29 changes: 29 additions & 0 deletions drumstick/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package:
id: drumstick
name: drumstick
version: 2.9.0
kind: lib
description: |
Drumstick Qt/C++ MIDI libraries.
base:
id: org.deepin.base
version: 23.0.0

depends:
- id: sonivox/3.6.12
- id: qttools/5.15.7
- id: doxygen/1.9.8

source:
kind: git
url: https://github.com/pedrolcl/drumstick.git
commit: 702eecdf67f88dced270175421ee925a9c029fb3

variables:
extra_args: |
-DUSE_QT5=ON
build:
kind: cmake

20 changes: 20 additions & 0 deletions io.github.Axolotl/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.Axolotl
name: Axolotl
version: 0.0.1
kind: app
description: |
a cross-platform text editor similar to Sublime/Visual Studio Code using the Qt 5 library.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/jeffuong/Axolotl.git
commit: e87ee8c71b39965b02d1a7dc4099d3de76d4af2d
patch: patches/0001-install.patch

build:
kind: cmake
68 changes: 68 additions & 0 deletions io.github.Axolotl/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
From 1414fa79013be67190ed9dc36f0b764031593344 Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Mon, 8 Apr 2024 15:13:59 +0800
Subject: [PATCH] install

---
src/CMakeLists.txt | 27 ++++++---------------------
src/imgs/testimage.desktop | 8 ++++++++
2 files changed, 14 insertions(+), 21 deletions(-)
create mode 100644 src/imgs/testimage.desktop

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1f393bd..ca05f9c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -44,27 +44,12 @@ endif(WIN32)
# Installation packaging
install (TARGETS "${CMAKE_PROJECT_NAME}" DESTINATION bin)

-install (FILES
- "${CMAKE_PREFIX_PATH}/bin/Qt5Cored.dll"
- "${CMAKE_PREFIX_PATH}/bin/Qt5Guid.dll"
- "${CMAKE_PREFIX_PATH}/bin/Qt5Widgetsd.dll"
- "${CMAKE_PREFIX_PATH}/bin/Qt5PrintSupportd.dll"
- DESTINATION bin
-)
+install(FILES imgs/testimage.png
+ DESTINATION share/icons)
+
+install(FILES imgs/testimage.desktop
+ DESTINATION share/applications)
+

-install (FILES
- "Main.cpp"
- "codeeditor.cpp"
- "files.cpp"
- "filedirectory.cpp"
- "main.cpp"
- "mainwindow.cpp"
- "mainwindow.ui"
- "findwordwindow.cpp"
- "findwordwindow.ui"
- "syntaxhighlighter.cpp"
- "resources.qrc"
- DESTINATION src
-)

INCLUDE(CPack)
\ No newline at end of file
diff --git a/src/imgs/testimage.desktop b/src/imgs/testimage.desktop
new file mode 100644
index 0000000..9cdcc76
--- /dev/null
+++ b/src/imgs/testimage.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=Axolotl
+Name=Axolotl
+Icon=testimage
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Accessibility;Qt;Utility;
\ No newline at end of file
--
2.33.1

28 changes: 28 additions & 0 deletions io.github.Candle/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
id: io.github.Candle
name: Candle
version: 1.2.0
kind: app
description: |
GRBL controller application with G-Code visualizer written in Qt.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/Denvi/Candle.git
commit: 3f763bcde1195e23ba119a5b3c70d7c889881019
patch: patches/0001-fix-desktop.patch

build:
kind: cmake
manual :
configure: |
cd src
cmake -B ${build_dir} ${conf_args} ${extra_args}
build: |
cmake --build ${build_dir} -- ${jobs}
install: |
env DESTDIR=${dest_dir} cmake --build ${build_dir} --target install
35 changes: 35 additions & 0 deletions io.github.Candle/patches/0001-fix-desktop.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From 3f90604708f07242885d69733b86f081a5701b09 Mon Sep 17 00:00:00 2001
From: van <751890223@qq.com>
Date: Sun, 21 Apr 2024 22:30:30 +0800
Subject: [PATCH] fix-desktop

---
src/CMakeLists.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b924a51..418b5bd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,3 +48,17 @@ target_link_libraries(Candle
Qt5::Gui
Qt5::SerialPort
)
+
+set(DESKTOP_FILE_CONTENT "
+[Desktop Entry]
+Type=Application
+Name=Candle
+Exec=Candle
+Icon=candle_256
+Categories=Utility;
+")
+
+file(WRITE ${CMAKE_BINARY_DIR}/Candle.desktop "${DESKTOP_FILE_CONTENT}")
+install(PROGRAMS ${CMAKE_BINARY_DIR}/Candle.desktop DESTINATION share/applications)
+install(PROGRAMS ${CMAKE_BINARY_DIR}/../images/candle_256.png DESTINATION share/icons)
+install(TARGETS Candle DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
\ No newline at end of file
--
2.33.1

24 changes: 24 additions & 0 deletions io.github.Clementine/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package:
id: io.github.Clementine
name: Clementine
version: 1.3.1
kind: app
description: |
Clementine is a modern music player and library organizer for Windows, Linux and macOS.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/clementine-player/Clementine.git
commit: f76dbffa6bd901aa0761040cf4c33a79af76d08d

depends:
- id: glew-cmake/2.2.0.3
- id: cmake/3.28.0
- id: projectm/4.1.1

build:
kind: cmake
19 changes: 19 additions & 0 deletions io.github.ClownMapEd/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package:
id: io.github.ClownMapEd
name: ClownMapEd
version: 1.1.2
kind: app
description: |
Sonic the Hedgehog sprite editor, portable clone of Xenowhirl's SonMapEd.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/Clownacy/ClownMapEd.git
commit: 71626887ddad0e0f990fad08c858fd6b9de426c5

build:
kind: cmake
21 changes: 21 additions & 0 deletions io.github.EasyBench/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.EasyBench
name: EasyBench
version: 1.5.1.1
kind: app
description: |
EasyBench 是一个运行于嵌入式 Linux 平台,集系统监控、设备测试和席位功能配置于一体的软件工具。
runtime:
id: org.deepin.Runtime
version: 23.0.0


source:
kind: git
url: https://github.com/luhuadong/EasyBench.git
commit: e87d025ab78d42e5bc1dcbc9b672131989402342
patch: patches/0001-fix-desktop.patch

build:
kind: qmake
32 changes: 32 additions & 0 deletions io.github.EasyBench/patches/0001-fix-desktop.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From bd68d95243f96a08bfdb4e6a1165b3e402e69649 Mon Sep 17 00:00:00 2001
From: van <751890223@qq.com>
Date: Sun, 14 Apr 2024 15:48:27 +0800
Subject: [PATCH] fix-desktop

---
easybench.pro | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/easybench.pro b/easybench.pro
index 5c06d81..fe89d69 100644
--- a/easybench.pro
+++ b/easybench.pro
@@ -72,3 +72,14 @@ RESOURCES += \
resource/stylesheet.qrc

OTHER_FILES +=
+
+
+#install role
+BINDIR = $$PREFIX/bin
+DATADIR = $$PREFIX/share
+target.path = $$BINDIR
+desktop.files = easybench.desktop
+icon.files=easybench.png
+icon.path=$$DATADIR/icons/
+desktop.path = $$DATADIR/applications/
+INSTALLS += target desktop icon
\ No newline at end of file
--
2.33.1

31 changes: 31 additions & 0 deletions io.github.FFQueue/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package:
id: io.github.FFQueue
name: FFQueue
version: 1.7.67.1
kind: app
description: |
Advanced GUI for FFmpeg
runtime:
id: org.deepin.Runtime
version: 23.0.0

depends:
- id: wxWidgets/3.2.3
type: runtime
- id: ffmpeg/4.1.8
type: runtime
source:
kind: git
url: https://github.com/bswebdk/FFQueue.git
commit: 15db4f22b321527a39cbeda51376dbe6442021bb
patch: patches/0001-fix-desktop.patch
build:
kind: autotools
manual:
configure: |
./configure ${conf_args} ${extra_args}
build: |
make ${jobs}
install: |
make ${jobs} DESTDIR=${dest_dir} install
25 changes: 25 additions & 0 deletions io.github.FFQueue/patches/0001-fix-desktop.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 39b879cd4feb540b688b80c61fa17c12388368f4 Mon Sep 17 00:00:00 2001
From: van <751890223@qq.com>
Date: Mon, 15 Apr 2024 22:18:08 +0800
Subject: [PATCH] fix-desktop

---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index cf79858..d4e73b8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -293,7 +293,7 @@ FFQ_BINARY = ffqueue
FFQ_XDGVER = `xdg-icon-resource --version`
@FFQ_BASE_DIR_FALSE@FFQ_RES = ../res
@FFQ_BASE_DIR_TRUE@FFQ_RES = res
-FFQ_DEST = $(DESTDIR)/usr/share
+FFQ_DEST = $(DESTDIR)/${prefix}/share
FFQ_ICONDEST = $(FFQ_DEST)/icons/hicolor
all: all-recursive

--
2.33.1

28 changes: 28 additions & 0 deletions io.github.GitlHEVCAnalyzer/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
id: io.github.GitlHEVCAnalyzer
name: GitlHEVCAnalyzer
version: 1.5.1
kind: app
description: |
Gitl HEVC/H.265 Analyzer based on Qt. Custom filters supported.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/lheric/GitlHEVCAnalyzer.git
commit: 6975257b6eeddc356fa91f1fa26ca1beed29ebbe
patch: patches/0001-install.patch

build:
kind: qmake
manual:
configure: |
cp screenshots/logo.png screenshots/Gitl_HEVC_Analyzer.png
qmake -makefile ${conf_args} ${extra_args}
build: |
make ${jobs}
install: |
make ${jobs} DESTDIR=${dest_dir} install
Loading

0 comments on commit 9fee071

Please sign in to comment.