diff --git a/files/0001-Mark-header-includes-as-system.patch b/files/0001-Mark-header-includes-as-system.patch new file mode 100644 --- /dev/null +++ b/files/0001-Mark-header-includes-as-system.patch @@ -0,0 +1,45 @@ +From 136bb77f7bb254668d883cd6cf016607cd6eba75 Mon Sep 17 00:00:00 2001 +From: Joey Riches +Date: Tue, 16 Oct 2018 22:53:05 +0100 +Subject: [PATCH 1/1] Mark header includes as system + +Signed-off-by: Joey Riches +--- + src/radiotray-ng/CMakeLists.txt | 2 +- + src/radiotray-ng/extras/media_keys/CMakeLists.txt | 2 +- + src/radiotray-ng/extras/rtng_dbus/CMakeLists.txt | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/radiotray-ng/CMakeLists.txt b/src/radiotray-ng/CMakeLists.txt +index 8f6e608..b3c6586 100644 +--- a/src/radiotray-ng/CMakeLists.txt ++++ b/src/radiotray-ng/CMakeLists.txt +@@ -37,4 +37,4 @@ target_link_libraries( + ) + + add_dependencies(radiotray-ng user-agent) +-target_include_directories(radiotray-ng PRIVATE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${GSTREAMER_INCLUDE_DIRS} ${APPINDICATOR_INCLUDE_DIRS} ${GIOMM_INCLUDE_DIRS} ${GLIBMM_INCLUDE_DIRS}) ++target_include_directories(radiotray-ng SYSTEM PRIVATE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${GSTREAMER_INCLUDE_DIRS} ${APPINDICATOR_INCLUDE_DIRS} ${GIOMM_INCLUDE_DIRS} ${GLIBMM_INCLUDE_DIRS}) +diff --git a/src/radiotray-ng/extras/media_keys/CMakeLists.txt b/src/radiotray-ng/extras/media_keys/CMakeLists.txt +index 7205873..4861747 100644 +--- a/src/radiotray-ng/extras/media_keys/CMakeLists.txt ++++ b/src/radiotray-ng/extras/media_keys/CMakeLists.txt +@@ -8,4 +8,4 @@ add_library(media_keys STATIC ${SRC_FILES}) + + # todo: if appindicator add the includes + target_link_libraries(media_keys ${APPINDICATOR_GUI} ${GIOMM_LIBRARIES}) +-target_include_directories(media_keys PRIVATE ${GIOMM_INCLUDE_DIRS} ${APPINDICATOR_INCLUDE_DIRS} ) ++target_include_directories(media_keys SYSTEM PRIVATE ${GIOMM_INCLUDE_DIRS} ${APPINDICATOR_INCLUDE_DIRS} ) +diff --git a/src/radiotray-ng/extras/rtng_dbus/CMakeLists.txt b/src/radiotray-ng/extras/rtng_dbus/CMakeLists.txt +index 0c3d64c..1255396 100644 +--- a/src/radiotray-ng/extras/rtng_dbus/CMakeLists.txt ++++ b/src/radiotray-ng/extras/rtng_dbus/CMakeLists.txt +@@ -3,4 +3,4 @@ FILE(GLOB SRC_FILES "*.cpp") + add_library(rtng_dbus STATIC ${SRC_FILES}) + + target_link_libraries(rtng_dbus ${GLIBMM_LIBRARIES} ${GIOMM_LIBRARIES}) +-target_include_directories(rtng_dbus PRIVATE ${GIOMM_INCLUDE_DIRS} ${GLIBMM_INCLUDE_DIRS}) ++target_include_directories(rtng_dbus SYSTEM PRIVATE ${GIOMM_INCLUDE_DIRS} ${GLIBMM_INCLUDE_DIRS}) +-- +2.19.1 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,9 +1,9 @@ name : radiotray-ng -version : 0.2.2 -release : 11 +version : 0.2.3 +release : 12 source : - - https://github.com/ebruck/radiotray-ng/archive/v0.2.2.tar.gz : 85de0228b7927add4c143a5bb757ab026041921d640dc0b9b0cdfef519470d88 -license : GPL-3.0-only + - https://github.com/ebruck/radiotray-ng/archive/v0.2.3.tar.gz : a8dacc297ea1d547aadadf54ed081555aacecbed4d8b1b903188bead0c3d6fcb +license : GPL-3.0-or-later component : multimedia.audio summary : An Internet radio player for Linux description: | @@ -22,6 +22,7 @@ - lsb-release - wxwidgets-devel setup : | + %patch -p1 < $pkgfiles/0001-Mark-header-includes-as-system.patch %cmake . build : | %make diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,10 +2,10 @@ radiotray-ng - Pierre-Yves - pyu@riseup.net + Joey Riches + josephriches@gmail.com - GPL-3.0-only + GPL-3.0-or-later multimedia.audio An Internet radio player for Linux An Internet radio player for Linux @@ -41,12 +41,12 @@ - - 2018-06-23 - 0.2.2 + + 2018-10-16 + 0.2.3 Packaging update - Pierre-Yves - pyu@riseup.net + Joey Riches + josephriches@gmail.com \ No newline at end of file