From 95af3945039d18ceda7447b4194cd16f62e05ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 1 Sep 2015 00:08:34 +0200 Subject: [PATCH] plasma-mediacenter: initial add 5.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../0001-use-pkgconfig-to-find-taglib.patch | 36 +++++++++++++++ .../plasma-mediacenter/plasma-mediacenter.bb | 46 +++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 recipes-kde/plasma/untier/plasma-mediacenter/files/0001-use-pkgconfig-to-find-taglib.patch create mode 100644 recipes-kde/plasma/untier/plasma-mediacenter/plasma-mediacenter.bb diff --git a/recipes-kde/plasma/untier/plasma-mediacenter/files/0001-use-pkgconfig-to-find-taglib.patch b/recipes-kde/plasma/untier/plasma-mediacenter/files/0001-use-pkgconfig-to-find-taglib.patch new file mode 100644 index 00000000..687fd38a --- /dev/null +++ b/recipes-kde/plasma/untier/plasma-mediacenter/files/0001-use-pkgconfig-to-find-taglib.patch @@ -0,0 +1,36 @@ +From 6b374e0f4faaa4038d631a07a4508b6b5f248afa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 31 Aug 2015 23:26:18 +0200 +Subject: [PATCH] use pkgconfig to find taglib +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a1d7a4b..b9a96b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -49,10 +49,11 @@ find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS REQUIRED + + find_package(KF5Baloo) + add_feature_info("KF5Baloo" KF5Baloo_FOUND "Required for Baloo integration") +-find_package(Taglib REQUIRED) ++find_package(PkgConfig REQUIRED) ++pkg_search_module(TAGLIB REQUIRED taglib) + + include_directories( +- ${TAGLIB_INCLUDES} ++ ${TAGLIB_INCLUDE_DIRS} + ) + + include_directories( +-- +2.1.0 + diff --git a/recipes-kde/plasma/untier/plasma-mediacenter/plasma-mediacenter.bb b/recipes-kde/plasma/untier/plasma-mediacenter/plasma-mediacenter.bb new file mode 100644 index 00000000..79d10712 --- /dev/null +++ b/recipes-kde/plasma/untier/plasma-mediacenter/plasma-mediacenter.bb @@ -0,0 +1,46 @@ +SUMMARY = "Plasma Media Center" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +inherit kde-plasma pkgconfig gtk-icon-cache + +DEPENDS += " \ + qtmultimedia \ + \ + kcoreaddons \ + kconfig \ + ki18n \ + kguiaddons \ + kservice \ + kio \ + kdeclarative \ + kactivities \ + kfilemetadata \ + plasma-framework \ + baloo \ + \ + taglib \ +" + +PV = "${PLASMA_VERSION}" +SRC_URI[md5sum] = "fb90bf7cb22cae76aa3ebb8537e937a7" +SRC_URI[sha256sum] = "62dfd4de58c56629ffb00ef7dea173c482bc3263039d9ae46c1201427e1b5a8f" +SRC_URI += "file://0001-use-pkgconfig-to-find-taglib.patch" + +FILES_${PN} += " \ + ${datadir}/k*5 \ + ${datadir}/icons \ + ${datadir}/xsessions \ + ${datadir}/plasma \ + ${OE_QMAKE_PATH_PLUGINS}/plasma/mediacenter/*/*.so \ + ${OE_QMAKE_PATH_QML}/org/kde/plasma/mediacenter \ +" + +FILES_${PN}-dbg += " \ + ${OE_QMAKE_PATH_PLUGINS}/plasma/mediacenter/*/.debug \ + ${OE_QMAKE_PATH_QML}/org/kde/plasma/mediacenter/.debug \ +" +