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

Commit

Permalink
build: add munt
Browse files Browse the repository at this point in the history
Finish build for ll-build

Log: 完成的编译
  • Loading branch information
xiaowanzzhh authored and kamiyadm committed Jan 1, 2024
1 parent bf3a744 commit ee1322a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
21 changes: 21 additions & 0 deletions io.github.munt/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.munt
name: munt
version: 2.7.2
kind: app
description: |
A multi-platform software synthesiser emulating pre-GM MIDI devices such as the Roland MT-32, CM-32L, CM-64 and LAPC-I. In no way endorsed by or affiliated with Roland Corp.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/munt/munt.git
commit: 356f3088deff299f9b973484ea9ec89234ce31a0

build:
kind: cmake


34 changes: 34 additions & 0 deletions io.github.munt/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From dc261efb3cd0696e611e9a710c7ed68dabc6d7f7 Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Thu, 7 Dec 2023 09:33:52 +0800
Subject: [PATCH] install

---
CMakeLists.txt | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb05792..44e96fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,15 +147,12 @@ include_directories(${CMAKE_SOURCE_DIR}/include)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11 -Wall")

-if(ENABLE_QT5)
+
#find_package(Qt5Core REQUIRED)
find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
# set(CMAKE_CXX_FLAGS "-fPIC")
-else()
- # Configure the use of QT4
- find_package(Qt4 COMPONENTS QtCore QtNetwork QtGui REQUIRED QUIET)
-endif()
+

#add libusb and pthreads
find_package(libusb-1.0 REQUIRED)
--
2.33.1

0 comments on commit ee1322a

Please sign in to comment.