Create and addition of kf5-plasma-pa and libcanberra packages

This commit is contained in:
j1nx 2020-10-11 12:07:25 +02:00
parent 9e992aaa49
commit 2d021b6692
8 changed files with 83 additions and 0 deletions

View File

@ -45,10 +45,12 @@ menu "KF5"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-phonon/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-plasma-framework/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-plasma-nano/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-plasma-pa/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-plasma-wayland-protocols/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-solid/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-sonnet/Config.in"
endmenu
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libcanberra/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libre/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/librem/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/lottie-qml/Config.in"

View File

@ -503,7 +503,9 @@ BR2_PACKAGE_KF5_KWAYLAND=y
BR2_PACKAGE_KF5_PHONON=y
BR2_PACKAGE_KF5_PLASMA_FRAMEWORK=y
BR2_PACKAGE_KF5_PLASMA_NANO=y
BR2_PACKAGE_KF5_PLASMA_PA=y
BR2_PACKAGE_KF5_PLASMA_WAYLAND_PROTOCOLS=y
BR2_PACKAGE_LIBCANBERRA=y
BR2_PACKAGE_LIBRE=y
BR2_PACKAGE_LIBREM=y
BR2_PACKAGE_LOTTIE_QML=y

View File

@ -0,0 +1,32 @@
From 8ceb98d315404a1523974b7b2c2e1370b5ef61cd Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Sat, 10 Oct 2020 19:49:51 +0200
Subject: [PATCH 1/1] Remove KDoctools requirement
---
CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb6d5a8..8d81e02 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,6 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
Declarative
- DocTools
GlobalAccel
Notifications
I18n
@@ -79,7 +78,6 @@ configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
add_subdirectory(applet)
add_subdirectory(src)
add_subdirectory(data)
-add_subdirectory(doc)
# add clang-format target for all our real source files
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
--
2.20.1

View File

@ -0,0 +1,2 @@
config BR2_PACKAGE_KF5_PLASMA_PA
bool "kf5-plasma-pa"

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 28765c07f584e7688a85c9761155e606440936de2ebb678917dac2c85f5d0209 plasma-pa-5.18.5.tar.xz

View File

@ -0,0 +1,19 @@
################################################################################
#
# kf5-plasma-pa
#
################################################################################
KF5_PLASMA_PA_VERSION = 5.18.5
KF5_PLASMA_PA_SITE = https://download.kde.org/stable/plasma/$(KF5_PLASMA_PA_VERSION)
KF5_PLASMA_PA_SOURCE = plasma-pa-$(KF5_PLASMA_PA_VERSION).tar.xz
KF5_PLASMA_PA_LICENSE = BSD-3-Clause
KF5_PLASMA_PA_LICENSE_FILES = COPYING-CMAKE-SCRIPTS
KF5_PLASMA_PA_DEPENDENCIES = host-pkgconf libcanberra kf5-plasma-framework kf5-kwayland
KF5_PLASMA_PA_INSTALL_STAGING = YES
KF5_PLASMA_PA_SUPPORTS_IN_SOURCE_BUILD = NO
KF5_PLASMA_PA_CONF_OPTS += -DKF5_HOST_TOOLING="$(HOST_DIR)/lib/x86_64-linux-gnu/cmake"
$(eval $(cmake-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_LIBCANBERRA
bool "libcanberra"
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_LIBVORBIS
help
Portable sound event library
http://0pointer.de/lennart/projects/libcanberra

View File

@ -0,0 +1,16 @@
#############################################################
#
# libcanberra
#
#############################################################
LIBCANBERRA_VERSION = 0.30
LIBCANBERRA_SOURCE = libcanberra-$(LIBCANBERRA_VERSION).tar.xz
LIBCANBERRA_SITE = http://0pointer.de/lennart/projects/libcanberra
LIBCANBERRA_INSTALL_STAGING = YES
LIBCANBERRA_DEPENDENCIES = libvorbis libtool alsa-lib
LIBCANBERRA_CONF_OPTS += --disable-oss
LIBCANBERRA_LICENSE = LGPLv2.1+
LIBCANBERRA_LICENSE_FILES = LGPL
$(eval $(autotools-package))