mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-26 16:53:47 +01:00
e84818f62e
- Changes to the raspberypi board folder/structure - Bump python related poackages and fixes to Python3.10 - Bump KF5 framewerk packages to 5.91 - Bump qtwebengine to 5.15.8 - Bump/Add/Fix all OVOS related packages - Fixes all over the OpenVoiceOS structure for 2022.02.1
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# spotifyd
|
|
#
|
|
################################################################################
|
|
|
|
SPOTIFYD_VERSION = ae6dac7a54f899316674ba57ce4a0f9890cd2b1c
|
|
SPOTIFYD_SITE = $(call github,Spotifyd,spotifyd,$(SPOTIFYD_VERSION))
|
|
SPOTIFYD_LICENSE = GPL-3.0
|
|
SPOTIFYD_LICENSE_FILES = LICENSE
|
|
|
|
SPOTIFYD_DEPENDENCIES = host-rustc host-pkgconf
|
|
|
|
SPOTIFYD_CARGO_ENV = \
|
|
PKG_CONFIG_ALLOW_CROSS=1 \
|
|
OPENSSL_LIB_DIR=$(HOST_DIR)/lib \
|
|
OPENSSL_INCLUDE_DIR=$(HOST_DIR)/include
|
|
|
|
SPOTIFYD_BIN_DIR = target/$(RUSTC_TARGET_NAME)/release
|
|
|
|
SPOTIFYD_CARGO_BUILD_OPTS = --no-default-features \
|
|
--features=pulseaudio_backend,dbus_keyring,dbus_mpris
|
|
|
|
define SPOTIFYD_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/$(SPOTIFYD_BIN_DIR)/spotifyd \
|
|
$(TARGET_DIR)/usr/bin/spotifyd
|
|
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/spotifyd/spotifyd.conf \
|
|
$(TARGET_DIR)/etc/spotifyd.conf
|
|
endef
|
|
|
|
define SPOTIFYD_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/spotifyd/spotifyd.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/spotifyd.service
|
|
endef
|
|
|
|
$(eval $(cargo-package))
|