Skip to content

Commit

Permalink
xine-lib: update version 1.2.5 to 1.2.6
Browse files Browse the repository at this point in the history
depend on ffmpeg
  • Loading branch information
david committed Nov 18, 2016
1 parent ad5b283 commit 8231ebf
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion xine-lib.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION xine-lib-1.2.5-0
# BEE_VERSION xine-lib-1.2.6-0

SRCURL[0]="http://sourceforge.net/projects/xine/files/xine-lib/${PKGVERSION}/xine-lib-${PKGVERSION}.tar.xz"

Expand All @@ -21,6 +21,21 @@ PATCHURL[0]=""
#}

mee_configure() {

sed -e 's/avcodec_alloc_frame/av_frame_alloc/' \
-e 's/avcodec_free_frame/av_frame_free/' \
-i ${S}/src/combined/ffmpeg/ff_{audio,video}_decoder.c \
${S}/src/dxr3/ffmpeg_encoder.c &&

sed -e 's|wand/magick_wand.h|ImageMagick-6/wand/MagickWand.h|' \
-i ${S}/src/video_dec/image.c &&

sed -e '/xineplug_vo_out_xcbxv_la_LIBADD/s/$(XCB_LIBS)/$(XCBSHM_LIBS) $(XCB_LIBS)/' \
-i ${S}/src/video_out/Makefile.in &&

sed -e 's/\(xcb-shape >= 1.0\)/xcb \1/' \
-i ${S}/m4/video_out.m4 &&

bee_configure --disable-vcd \
--with-external-dvdnav
}
Expand Down

0 comments on commit 8231ebf

Please sign in to comment.