Projects
home:Eustace:branches:Eulaceura:Factory
ukui-media
_service:obs_scm:0001-fix-compile-error-of-ukui...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-fix-compile-error-of-ukui-media.patch of Package ukui-media
From 06aec2beb9230a5650fa6b0924b15ee074398748 Mon Sep 17 00:00:00 2001 From: peijiankang <peijiankang@kylinos.cn> Date: Thu, 1 Dec 2022 14:04:34 +0800 Subject: [PATCH] fix compile error of ukui-media --- audio/translate_generation.sh | 2 +- ukui-media.pro | 12 ++++++++++ .../ukui-volume-control-applet-qt.pro | 22 ++++++++++++++----- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/audio/translate_generation.sh b/audio/translate_generation.sh index 72f748b..6ab2acc 100755 --- a/audio/translate_generation.sh +++ b/audio/translate_generation.sh @@ -10,6 +10,6 @@ do if [ "$version" == "fedora" ] || [ "$version" == "opensuse-leap" ] || [ "$version" == "opensuse-tumbleweed" ];then lrelease-qt5 "${ts}" else - lrelease "${ts}" + lrelease-qt5 "${ts}" fi done diff --git a/ukui-media.pro b/ukui-media.pro index 7bc990b..b345aae 100644 --- a/ukui-media.pro +++ b/ukui-media.pro @@ -7,4 +7,16 @@ SUBDIRS = \ ukui-volume-control-applet-qt \ ukui-media-control-led +desktop.files = data/ukui-volume-control-applet.desktop +desktop.path = /etc/xdg/autostart +xml.files = data/org.ukui.media.sound.gschema.xml +xml.path = /usr/share/glib-2.0/schemas + +scripts.files = scripts/detection_output_mode.sh +scripts.path = /usr/share/ukui-media/scripts + +service.files = data/ukui-media-control-mute-led.service +service.path = /lib/systemd/system + +INSTALLS += desktop xml scripts service diff --git a/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro b/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro index a2af743..0834ce5 100644 --- a/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro +++ b/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro @@ -83,16 +83,28 @@ TRANSLATIONS += \ translations/tr.ts \ translations/bo.ts -system("lrelease translations/*.ts") +system("lrelease-qt5 translations/*.ts") qm_file.files = translations/*.qm -qm_file.path = $${PREFIX}/translations/ +qm_file.path = /usr/share/ukui-media/translations/ -data_files.files = data/* -data_files.path = $${PREFIX}/ +data_files.files = data/img data/qss +data_files.path = /usr/share/ukui-media/ + +data_sounds.files = data/sounds/ukui-sound.xml data/sounds/*.ogg +data_sounds.path = /usr/share/ukui-media/sounds + +data_theme.files = data/sounds/index.theme +data_theme.path = /usr/share/sounds/ukui + +sounds.file = data/sounds/*.ogg +sounds.path = /usr/share/sounds + +xml.files = data/org.ukui.audio.gschema.xml data/org.ukui.sound.gschema.xml data/org.ukui.media.sound.gschema.xml +xml.path = /usr/share/glib-2.0/schemas INSTALLS += \ - target qm_file data_files + target qm_file data_files data_sounds data_theme sounds xml #DISTFILES += \ # xatom/xatom.pri -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2