Browse Source

ffmpeg: remember to adjust InstallDev too

Finish adjustment for libavdevice with libffmpeg-mini

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Ian Leonard 10 years ago
parent
commit
875eb1cc24
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      multimedia/ffmpeg/Makefile

+ 9
- 1
multimedia/ffmpeg/Makefile View File

@@ -512,7 +512,15 @@ define Build/InstallDev/full
512 512
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale}.pc $(1)/usr/lib/pkgconfig/
513 513
 endef
514 514
 
515
-Build/InstallDev/mini = $(Build/InstallDev/custom)
515
+define Build/InstallDev/mini
516
+	$(INSTALL_DIR) $(1)/usr/include
517
+	$(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avformat,avutil} $(1)/usr/include/
518
+	$(INSTALL_DIR) $(1)/usr/lib
519
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avformat,avutil}.{a,so*} $(1)/usr/lib/
520
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
521
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avformat,avutil}.pc $(1)/usr/lib/pkgconfig/
522
+endef
523
+
516 524
 Build/InstallDev/audio-dec = $(Build/InstallDev/custom)
517 525
 
518 526
 # XXX: attempt at installing "best" dev files available