Browse Source

Merge pull request #15291 from egorenar/mpd-lame-encoder

mpd-full: enable lame and vorbis encoders
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
1e0bfe608a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      sound/mpd/Makefile

+ 5
- 3
sound/mpd/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mpd PKG_NAME:=mpd
PKG_VERSION:=0.22.6 PKG_VERSION:=0.22.6
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.22/ PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.22/
@ -48,7 +48,7 @@ define Package/mpd-full
$(call Package/mpd/Default) $(call Package/mpd/Default)
TITLE+= (full) TITLE+= (full)
DEPENDS+= +AUDIO_SUPPORT:pulseaudio-daemon +libvorbis +libmms +libupnp +libshout +yajl \ DEPENDS+= +AUDIO_SUPPORT:pulseaudio-daemon +libvorbis +libmms +libupnp +libshout +yajl \
+libffmpeg +!BUILD_PATENTED:libmad
+libffmpeg +lame-lib +!BUILD_PATENTED:libmad
PROVIDES:=mpd PROVIDES:=mpd
VARIANT:=full VARIANT:=full
endef endef
@ -188,7 +188,9 @@ ifeq ($(BUILD_VARIANT),full)
-Dpulse=$(if $(CONFIG_AUDIO_SUPPORT),en,dis)abled \ -Dpulse=$(if $(CONFIG_AUDIO_SUPPORT),en,dis)abled \
-Drecorder=true \ -Drecorder=true \
-Dshout=enabled \ -Dshout=enabled \
-Dyajl=enabled
-Dyajl=enabled \
-Dvorbisenc=enabled \
-Dlame=enabled
ifeq ($(CONFIG_AUDIO_SUPPORT),y) ifeq ($(CONFIG_AUDIO_SUPPORT),y)
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio


Loading…
Cancel
Save