From 37a5e9ee7769d0b6379aa7cb78f5a4beef12d7d8 Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Tue, 28 May 2024 21:45:09 +0800 Subject: [PATCH] build: add feff ffmpeg Qt5 GUI Log: add software name--feff --- io.github.feff/linglong.yaml | 21 ++++++++++++ io.github.feff/patches/0001-install.patch | 40 +++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 io.github.feff/linglong.yaml create mode 100644 io.github.feff/patches/0001-install.patch diff --git a/io.github.feff/linglong.yaml b/io.github.feff/linglong.yaml new file mode 100644 index 000000000..8a8e32f1d --- /dev/null +++ b/io.github.feff/linglong.yaml @@ -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 diff --git a/io.github.feff/patches/0001-install.patch b/io.github.feff/patches/0001-install.patch new file mode 100644 index 000000000..fdc7b0e17 --- /dev/null +++ b/io.github.feff/patches/0001-install.patch @@ -0,0 +1,40 @@ +From a89f09bb28beeebf22c9923e895361f128edc7da Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +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 +