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

Commit

Permalink
build: add bpmdetect
Browse files Browse the repository at this point in the history
BPMDetect is automatic BPM (beats per minute) detection utility.

Log: add software name--bpmdetect
  • Loading branch information
wjyrich authored and kamiyadm committed May 29, 2024
1 parent 9b46d6e commit 0b83fc0
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
26 changes: 26 additions & 0 deletions io.github.bpmdetect/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package:
id: io.github.bpmdetect
name: bpmdetect
version: 0.7.2.1
kind: app
description: |
BPMDetect is automatic BPM (beats per minute) detection utility.
runtime:
id: org.deepin.Runtime
version: 23.0.0

depends:
- id: portaudio19
version: 19.6.0
type: runtime
- id: taglib/1.12.0

source:
kind: git
url: https://github.com/Tatsh/bpmdetect.git
commit: 5bb55a000a447327d22f8521c69521e5728a8fa8
patch: patches/0001-install.patch

build:
kind: cmake
30 changes: 30 additions & 0 deletions io.github.bpmdetect/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From a635ff572585466a11852c5eb17d339c5c82a4bc Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Sun, 12 May 2024 11:53:59 +0800
Subject: [PATCH] install

---
CMakeLists.txt | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ba689f..0cd6dc1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,3 +16,13 @@ pkg_check_modules(VORBIS vorbisfile)

set(CMAKE_AUTOUIC ON)
add_subdirectory(src)
+
+install(TARGETS ${PROJECT_NAME}
+ DESTINATION bin)
+
+install(FILES src/bpmdetect-icon.png
+ DESTINATION share/icons/hicolor/16X16/apps/)
+
+
+install(FILES src/bpmdetect.desktop
+ DESTINATION share/applications)
--
2.33.1

0 comments on commit 0b83fc0

Please sign in to comment.