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

Commit

Permalink
build: add feff
Browse files Browse the repository at this point in the history
ffmpeg Qt5 GUI

Log: add software name--feff
  • Loading branch information
wjyrich authored and kamiyadm committed May 29, 2024
1 parent 8140d50 commit 37a5e9e
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
21 changes: 21 additions & 0 deletions io.github.feff/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.feff
name: feff
version: 1.11.0.1
kind: app
description: |
ffmpeg Qt5 GUI
runtime:
id: org.deepin.Runtime
version: 23.0.0


source:
kind: git
url: https://github.com/artenax/feff.git
commit: 974baf2d6cea524318433dea2e3dcff2ce74f30c
patch: patches/0001-install.patch

build:
kind: qmake
40 changes: 40 additions & 0 deletions io.github.feff/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From a89f09bb28beeebf22c9923e895361f128edc7da Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Thu, 16 May 2024 12:50:13 +0800
Subject: [PATCH] install

---
feff.pro | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/feff.pro b/feff.pro
index 06de7b3..53ddc53 100644
--- a/feff.pro
+++ b/feff.pro
@@ -47,19 +47,19 @@ updateqm.commands = $$QMAKE_LRELEASE -silent ${QMAKE_FILE_IN} -qm langs/${QMAKE_
updateqm.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += updateqm

-data_bin.path = /usr/bin/
+data_bin.path = $$PREFIX/bin/
data_bin.files = Bin/feff
INSTALLS += data_bin

-data_app.path = /usr/share/applications/
+data_app.path = $$PREFIX/share/applications/
data_app.files = pkg/feff.desktop
INSTALLS += data_app

-data_pixmaps.path = /usr/share/pixmaps/
+data_pixmaps.path = $$PREFIX/share/icons/hicolor/16X16/apps/
data_pixmaps.files = feff.png
INSTALLS += data_pixmaps

-data_langs.path = /usr/share/feff/langs/
+data_langs.path = $$PREFIX/share/feff/langs/
data_langs.files = langs/*.qm
INSTALLS += data_langs

--
2.33.1

0 comments on commit 37a5e9e

Please sign in to comment.