summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-24 14:40:11 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-24 14:44:25 +0200
commit9693bd47c5a67def43577c082d8ece34ffaf5113 (patch)
tree3982fe49367660b456cf97e8b01467cbc476bbe4 /multimedia
parent14f151ac9c075ec6b634b322535154342ac9efa7 (diff)
ffmpeg: add conflicts and provides
Motivation of this change is that full variants provides the mini variant and as well audio-dec package, thus you can not install both as it fails with the following output: Collected errors: * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavcodec.so.58 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavcodec.so.58.91.100 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavdevice.so.58 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavdevice.so.58.10.100 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavformat.so.58 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavformat.so.58.45.100 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavutil.so.56 But that file is already provided by package * libffmpeg-full * check_data_file_clashes: Package libffmpeg-audio-dec wants to install file /usr/lib/libavutil.so.56.51.100 But that file is already provided by package * libffmpeg-full * opkg_install_cmd: Cannot install package libffmpeg-audio-dec. Let's change it to: Installing libffmpeg-audio-dec (4.3.4-1) to root... Collected errors: * check_conflicts_for: The following packages conflict with libffmpeg-audio-dec: * check_conflicts_for: libffmpeg-full * * opkg_install_cmd: Cannot install package libffmpeg-audio-dec. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index d20066fc8..134fffdf2 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -333,6 +333,7 @@ define Package/libffmpeg-audio-dec
$(call Package/libffmpeg/Default)
TITLE+= (audio)
VARIANT:=audio-dec
+ CONFLICTS:=libffmpeg-full
endef
define Package/libffmpeg-audio-dec/description
@@ -351,6 +352,7 @@ $(call Package/libffmpeg/Default)
+PACKAGE_libx264:libx264 \
+!PACKAGE_libx264:fdk-aac
VARIANT:=full
+ PROVIDES:=libffmpeg-mini libffmpeg-audio-dec
endef
@@ -365,6 +367,7 @@ define Package/libffmpeg-mini
$(call Package/libffmpeg/Default)
TITLE+= (mini)
VARIANT:=mini
+ CONFLICTS:=libffmpeg-full
endef
define Package/libffmpeg-mini/description