mpd: add missing CONFLICTS between variants

mpd-full and mpd-mini install the same files, for example /usr/bin/mpd
and /etc/mpd.conf. They share PROVIDES:=mpd, so apk refuses to install
both, but Kconfig lets both be selected and the image build then fails.

Let mpd-full conflict with mpd-mini and mark it as the default variant,
as include/package-pack.mk asks for variants that share a provide.

Checked with defconfig: mpd-full drops to m when mpd-mini is selected.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer authored and Alexandru Ardelean committed 2026-10-30 09:54:41 +02:00
1 parent 8398abfce7
commit c46ecc7fc3
1 file changed
+3 -1
+3 -1
View File
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mpd
PKG_VERSION:=0.24.15
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.24
@@ -52,6 +52,8 @@ $(call Package/mpd/Default)
+libffmpeg +lame-lib +libsoxr +!BUILD_PATENTED:libmad
PROVIDES:=mpd
VARIANT:=full
DEFAULT_VARIANT:=1
CONFLICTS:=mpd-mini
endef
define Package/mpd-full/description