File tree Expand file tree Collapse file tree 4 files changed +19
-7
lines changed
Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 3737 with :
3838 bundle : " dev.geopjr.Turntable.Devel.flatpak"
3939 run-tests : true
40- manifest-path : " build-aux/dev.geopjr.Turntable.Devel. json"
40+ manifest-path : " build-aux/dev.geopjr.Turntable.json"
4141 cache-key : flatpak-builder-${{ github.sha }}
4242 arch : ${{ matrix.variant.arch }}
4343 repository-name : flathub
Original file line number Diff line number Diff line change 1+ when :
2+ - event : pull_request
3+ - event : push
4+ branch : main
5+
16steps :
27 lint :
38 image : valalang/lint:latest
49 commands :
510 - io.elementary.vala-lint -c vala-lint.conf || exit 1
611
7- lint :
8- image : debian:testing
12+ build :
13+ depends_on : [lint]
14+ image : alpine:edge
915 commands :
10- - make build test
16+ - apk add --no-cache meson vala glib-dev gtk4.0-dev json-glib-dev libadwaita-dev libsoup3-dev desktop-file-utils gettext-dev make clang git libsecret-dev
17+ - CC=clang make build
Original file line number Diff line number Diff line change 5757add_project_arguments (
5858 ' -DGETTEXT_PACKAGE="@0@"' .format(meson .project_name()),
5959 ' -DG_LOG_DOMAIN="Turntable"' ,
60+ ' -w' ,
6061 language : ' c'
6162)
6263
Original file line number Diff line number Diff line change @@ -671,8 +671,10 @@ public class Turntable.Views.Window : Adw.ApplicationWindow {
671671 private void update_player (Mpris .Entry ? new_player ) {
672672 debug (" [%s ] Player Changed" , uuid);
673673
674- scrobbling_manager. clear_queue (uuid);
675- scrobble_enabled = false ;
674+ #if SCROBBLING
675+ scrobbling_manager. clear_queue (uuid);
676+ scrobble_enabled = false ;
677+ #endif
676678 this . player = new_player;
677679 foreach (var binding in player_bindings) {
678680 binding. unbind ();
@@ -713,7 +715,9 @@ public class Turntable.Views.Window : Adw.ApplicationWindow {
713715 prog. client_name = this . player. client_info_name;
714716
715717 button_play. grab_focus ();
716- update_scrobble_status ();
718+ #if SCROBBLING
719+ update_scrobble_status ();
720+ #endif
717721 }
718722
719723 #if SCROBBLING
You can’t perform that action at this time.
0 commit comments