Skip to content

Commit

Permalink
merge outstanding prs, rename, repack
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething committed Nov 11, 2022
1 parent 2f413a3 commit 53b3871
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 23 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# plasma-audio-device-switcher
# plasma-audio-device-switcher (davidosomething fork)

- Merged all the outstanding PRs 2022-11-10
- Convert metadata.desktop to metadata.json
- Rename identifiers
- Repack for installation from local file

Simple widget to change the default audio output device/sink.
4 changes: 2 additions & 2 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd package

version=$(sed -n 's/^X-KDE-PluginInfo-Version=//p' metadata.desktop)
zip -R "../audio-device-switcher-v$version.plasmoid" '*.qml' '*.desktop' '*.xml'
version=$(sed -n 's/^X-KDE-PluginInfo-Version=//p' metadata.json)
zip -R "../audio-device-switcher-v$version.plasmoid" '*.qml' '*.json' '*.xml'

cd ..
2 changes: 1 addition & 1 deletion package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
plasma_install_package(. org.kde.plasma.audiodeviceswitcher)
plasma_install_package(. org.kde.plasma.audiodeviceswitcher-davidosomething)

file(GLOB QML_SRCS contents/ui/*.qml)
add_custom_target(QmlFiles ALL echo SOURCES ${QML_SRCS})
19 changes: 0 additions & 19 deletions package/metadata.desktop

This file was deleted.

24 changes: 24 additions & 0 deletions package/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"KPlugin": {
"Authors": [
{
"Email": "me@davidosomething.com",
"Name": "David O'Trakoun"
}
],
"Category": "Multimedia",
"Description": "Simple widget to change the default audio output device/sink",
"EnabledByDefault": true,
"Icon": "org.kde.plasma.volume",
"Id": "org.kde.plasma.audiodeviceswitcher-davidosomething",
"License": "GPL",
"Name": "Audio Device Switcher (davidosomething fork)",
"ServiceTypes": [
"Plasma/Applet"
],
"Version": "1.0.0",
"Website": "https://github.com/davidosomething/plasma-audio-device-switcher"
},
"X-Plasma-API": "declarativeappletscript",
"X-Plasma-MainScript": "ui/main.qml"
}

0 comments on commit 53b3871

Please sign in to comment.