pkgsrc/multimedia/xine-lib/Makefile.common
wiz 16eb54de67 Update to 1.2.5:
xine-lib (1.2.5) 2014-04-08
  * Update german translation.
  * Add bass downmix support to AC3 decoder.
  * Add experimental YCgCo colorspace support.
  * Add avformat demux plugin.
    - Support for new formats and protocols.
    - Proper rtsp support (with avformat+rtsp://, rtsp+tcp:// and rtsp+http:// mrls).
    - by default native xine demux plugins are probed first.
      This can be overridden in config, by selecting demuxer in mrl (#demux:avformat),
      or by using "avformat+" mrl prefix.
  * Add avio (libavformat) input plugin:
    - Support for new protocols (https://, ftp://, sftp://, ...).
    - Support for seekable http streams (with "avio+http://" mrl).
    - By default native xine input plugins are used. This can be overridden in config or by using "avio+" mrl prefix.
  * Recognise & use HEVC/H.265. (ffmpeg)
  * Add support for HEVC/H.265 to the mpeg-ts demuxer.
  * Add support for HEVC/H.265 and VP9 to the matroska demuxer.
  * Add VP8/VP9 decoder using libvpx.
  * Modernise Quicktime demuxer:
    - Multiple user selectable audio traks.
    - Support AC3, EAC3, vorbis, Purevoice audio.
    - Support ISO fragment media files.
    - More safety on broken files.
    - Slightly faster.
  * Recognise & use ADPCM G.726 and ATRAC3. (ffmpeg/libva)
  * Build fixes.
  * Fix HDMV subtitle channel.
  * FFmpeg compatibility fixes.
  * Some colour format conversion fixes.
  * Fix RealVideo re-ordered PTS: pass through, let the decoder re-order it.
  * Fix some problems with COOK audio.
2014-04-17 13:53:47 +00:00

81 lines
2.4 KiB
Text

# $NetBSD: Makefile.common,v 1.81 2014/04/17 13:53:47 wiz Exp $
#
# used by audio/xine-alsa/Makefile
# used by audio/xine-esound/Makefile
# used by audio/xine-pulse/Makefile
# used by multimedia/xine-v4l/Makefile
# used by multimedia/xine-v4l2/Makefile
DISTNAME= xine-lib-1.2.5
XINE_PKGNAME= xine-lib-1.2.5
PKGNAME?= ${XINE_PKGNAME}
CATEGORIES?= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xinehq.de/
MAKE_JOBS_SAFE= no
XINE_MOD_DIR_VER= 2.4
PLIST_SUBST+= XINE_MOD_DIR_VER=${XINE_MOD_DIR_VER:Q}
DISTINFO_FILE= ${.CURDIR}/../../multimedia/xine-lib/distinfo
PATCHDIR= ${.CURDIR}/../../multimedia/xine-lib/patches
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= libtool libtool-nofpic
PKGCONFIG_OVERRIDE= misc/libxine.pc.in
USE_TOOLS+= autoconf automake gmake msgfmt pkg-config xmkmf perl gsed
CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
#CONFIGURE_ARGS+= --without-external-ffmpeg --disable-ffmpegtest
CONFIGURE_ENV+= have_libpng="yes"
CONFIGURE_ENV+= PNG_CFLAGS="-I${PREFIX}/include"
CONFIGURE_ENV+= PNG_LIBS="-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpng"
# XXX broken configure check in 1.2.1
CONFIGURE_ENV+= cc_cv_cflags__Werror_implicit_function_declaration="no"
PKGSRC_MAKE_ENV+= "mkdir_p"="mkdir -p"
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= xv xvmc
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libXvMC/buildlink3.mk"
.if ${X11_TYPE} == "modular"
PLIST.xv= yes
PLIST.xvmc= yes
.else
.if exists(${X11BASE}/lib/libXv.so)
CONFIGURE_ARGS+= --with-xv-path='${X11BASE}/lib'
PLIST.xv= yes
.endif
.if exists(${X11BASE}/lib/libXvMC.so)
CONFIGURE_ARGS+= --with-xvmc-path='${X11BASE}/lib'
CONFIGURE_ARGS+= --with-xxmc-path='${X11BASE}/lib'
PLIST.xvmc= yes
.endif
.endif # X11_TYPE
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[1-4].*)
# --no-undefined causes errors if shlibs are not linked against libc
BUILDLINK_TRANSFORM+= "rm:-Wl,--no-undefined"
.endif
pre-configure:
${TOUCH} ${WRKSRC}/lib/dummy.c
cd ${WRKSRC} && aclocal -I m4
cd ${WRKSRC} && automake -Wnone
cd ${WRKSRC} && autoheader
cd ${WRKSRC} && autoconf
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"