openbsd-ports/graphics/ffmpeg/patches/patch-libavformat_Makefile
jakemsr e066281b74 update to SVN snapshot from 20070501
several new codecs added, including an WMA encoder, Theora
encoding via libtheora, and H.264 encoding via x264

with feedback from brad@, jolan@, naddy@ and Nikns Sainkin
<nikns at secure dot lv>

OK jolan@
2007-05-25 15:54:14 +00:00

24 lines
878 B
Plaintext

$OpenBSD: patch-libavformat_Makefile,v 1.13 2007/05/25 15:54:14 jakemsr Exp $
--- libavformat/Makefile.orig Tue May 1 13:26:05 2007
+++ libavformat/Makefile Tue May 1 13:29:58 2007
@@ -154,8 +154,9 @@ OBJS+= framehook.o
OBJS-$(CONFIG_VIDEO_GRAB_V4L_DEMUXER) += grab.o
OBJS-$(CONFIG_VIDEO_GRAB_BKTR_DEMUXER) += grab_bktr.o
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
+#EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
-lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec $(EXTRALIBS)
+EXTRALIBS=${LIBavformat_EXTRALIBS}
CPPOBJS-$(CONFIG_AUDIO_BEOS) += beosaudio.o
@@ -170,7 +171,7 @@ OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
NAME=avformat
-LIBVERSION=$(LAVFVERSION)
+LIBVERSION=$(LIBavformat_VERSION)
LIBMAJOR=$(LAVFMAJOR)
include ../common.mak