2017-01-17 00:45:10 +01:00
|
|
|
# $NetBSD: Makefile,v 1.145 2017/01/16 23:45:10 wiz Exp $
|
2008-07-14 14:55:56 +02:00
|
|
|
|
2017-01-17 00:45:10 +01:00
|
|
|
PKGREVISION= 9
|
2004-01-26 14:03:25 +01:00
|
|
|
.include "Makefile.common"
|
|
|
|
|
2005-05-10 02:16:42 +02:00
|
|
|
COMMENT= Multimedia player library
|
2004-01-26 14:03:25 +01:00
|
|
|
|
2010-09-16 11:49:42 +02:00
|
|
|
CONFLICTS+= xine-xcb-[0-9]*
|
|
|
|
|
2010-04-19 17:31:19 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-v4l
|
2012-03-24 14:21:43 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-v4l2
|
2010-12-23 11:46:05 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-real-codecs
|
2012-03-21 17:37:15 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-aalib
|
2012-04-04 19:05:24 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-mlib
|
2010-04-19 17:31:19 +02:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.vcdimager+= vcdimager>=0.7.20nb1
|
2004-04-19 20:17:04 +02:00
|
|
|
|
Update to 1.1.2, provided by Kimura Fuyuki in PR 34107.
xine-lib (1.1.2)
* Security fixes:
- CVE-2005-4048: possible buffer overflow in libavcodec (crafted PNGs).
- CVE-2006-2802: possible buffer overflow in the HTTP plugin.
- possible buffer overflow via bad indexes in specially-crafted AVI files
* Update gettext support to 0.14.5, disable internal gettext, fix locales
handling, use the correct domain for strings.
* Italian translation update
* Czech translation update
* Disable the XXMC plugin if Xv support isn't there
* Also look for Xv support in /usr/lib for X.org's new location
* Fix using xine-lib on systems with SELinux enabled
* Build right with libiconv in /usr/local as default on FreeBSD
* Fix a potential crash with fixed-size lacing in the Matroska demuxer
* Patch from SuSE to fix alsa after hardware suspend
* Fix the ./configure --enable-static-xv parameter
* Really fix the speed changing race that was mentioned in 1.1.1
* Send events for tvtime filmmode changes
* Add an image decoder based on gdk-pixbuf
* Add browseable capability to smb input plugin
* Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
* Fix xxmc subpictures (broken since 1.1.1)
* FFmpeg update (version 51.1.0)
* Fix detection of locale containing a modifier (like "@euro")
* New volume normalization post plugin
* New image noise post plugin (useful for mitigating some compression artifacts)
* Support for Vorbis-style comments in FLAC files
* Coverity fixes
* Add ATSC support to the DVB plugin
* Make various structures and arrays constant.
* Fix up health check to find libX11 and libXv shared objects even if
devel packages aren't installed (where appropriate). (Ubuntu 47357)
* Fix install problems in case configure was generated by autoconf >= 2.59c.
* Fixed some win32 codec freezes when configured w32-path doesn't exist
* Add support for RealPlayer 10 codecs (from SUSE)
xine-lib (1.1.1)
* Improve sound quality when using alsa 1.0.9 or above.
When playing a 44.1khz stream on a 48khz only capable sound card.
It bypasses alsa-lib resampler and uses xine's
* Windows ports bug fixes and improvements
* Set up the framebuffer palette (fb video out).
* build fixes and improvements, added --with-pthread-prefix and
--with-zlib-prefix options
* new DirectFB video output plugin with many improvements (output to overlay
or TV, deinterlacing, image controls, zoom, OSD, double/triple buffering,
vsync, flicker filtering, field parity control)
* overlay cropping fixes for small streams or when using cropping support
* experimental frame allocation optimization reduces cpu usage of the
deinterlacer plugin by up 25%
* implement time seeking on DVD plugin
* move CFLAGS optimizations to a separated file (added --disable-optimizations)
* use the same codec path as MPlayer (/usr[/local]/lib/codecs)
* FFmpeg sync (new QDM2 decoder)
* imported Duck TrueMotion 2 decoder from FFmpeg
* sync libfaad2 to latest GPL compatible version; fixes AAC decoding on x86_64 arch
* support gapless playback while switching streams (requires UI cooperation)
* fix speed changing race causing deadlock with v4l plugin
* cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase and
multiline entries support) [#1205274]
xine-lib (1.1.0)
* new quality deinterlacer from dscaler: GreedyH (Greedy High Motion)
* new quality deinterlacer from dscaler: TomsMoComp (Tom's Motion Compensated)
* added help for most deinterlace methods
* ffmpeg update
* use ImageMagick to convert and display different type of images (png, jpg...)
* improve ASX playlist parsing
* add an extended MRL reference event (MRL title, start time, play time):
needed for the ASX parser; deprecates plain MRL reference events.
* goom updated to 2k4-0
xine-lib (1.0.4)
* tiny doc update
* build fixes and cross build improvements
* fixed an align problem in Win32 DirectX video output plugin
* fixed linking of X11 plugins for some platforms
2006-08-06 12:36:50 +02:00
|
|
|
SUBST_CLASSES+= oss
|
2004-12-23 04:05:53 +01:00
|
|
|
SUBST_STAGE.oss= post-patch
|
|
|
|
SUBST_FILES.oss= src/audio_out/audio_oss_out.c
|
|
|
|
SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
|
|
|
|
SUBST_SED.oss+= -e "s,\"dsp\",\"audio\",g"
|
|
|
|
.endif
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.oss= Fixing hardcoded audio device.
|
2004-12-23 04:05:53 +01:00
|
|
|
|
Update to 1.1.2, provided by Kimura Fuyuki in PR 34107.
xine-lib (1.1.2)
* Security fixes:
- CVE-2005-4048: possible buffer overflow in libavcodec (crafted PNGs).
- CVE-2006-2802: possible buffer overflow in the HTTP plugin.
- possible buffer overflow via bad indexes in specially-crafted AVI files
* Update gettext support to 0.14.5, disable internal gettext, fix locales
handling, use the correct domain for strings.
* Italian translation update
* Czech translation update
* Disable the XXMC plugin if Xv support isn't there
* Also look for Xv support in /usr/lib for X.org's new location
* Fix using xine-lib on systems with SELinux enabled
* Build right with libiconv in /usr/local as default on FreeBSD
* Fix a potential crash with fixed-size lacing in the Matroska demuxer
* Patch from SuSE to fix alsa after hardware suspend
* Fix the ./configure --enable-static-xv parameter
* Really fix the speed changing race that was mentioned in 1.1.1
* Send events for tvtime filmmode changes
* Add an image decoder based on gdk-pixbuf
* Add browseable capability to smb input plugin
* Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
* Fix xxmc subpictures (broken since 1.1.1)
* FFmpeg update (version 51.1.0)
* Fix detection of locale containing a modifier (like "@euro")
* New volume normalization post plugin
* New image noise post plugin (useful for mitigating some compression artifacts)
* Support for Vorbis-style comments in FLAC files
* Coverity fixes
* Add ATSC support to the DVB plugin
* Make various structures and arrays constant.
* Fix up health check to find libX11 and libXv shared objects even if
devel packages aren't installed (where appropriate). (Ubuntu 47357)
* Fix install problems in case configure was generated by autoconf >= 2.59c.
* Fixed some win32 codec freezes when configured w32-path doesn't exist
* Add support for RealPlayer 10 codecs (from SUSE)
xine-lib (1.1.1)
* Improve sound quality when using alsa 1.0.9 or above.
When playing a 44.1khz stream on a 48khz only capable sound card.
It bypasses alsa-lib resampler and uses xine's
* Windows ports bug fixes and improvements
* Set up the framebuffer palette (fb video out).
* build fixes and improvements, added --with-pthread-prefix and
--with-zlib-prefix options
* new DirectFB video output plugin with many improvements (output to overlay
or TV, deinterlacing, image controls, zoom, OSD, double/triple buffering,
vsync, flicker filtering, field parity control)
* overlay cropping fixes for small streams or when using cropping support
* experimental frame allocation optimization reduces cpu usage of the
deinterlacer plugin by up 25%
* implement time seeking on DVD plugin
* move CFLAGS optimizations to a separated file (added --disable-optimizations)
* use the same codec path as MPlayer (/usr[/local]/lib/codecs)
* FFmpeg sync (new QDM2 decoder)
* imported Duck TrueMotion 2 decoder from FFmpeg
* sync libfaad2 to latest GPL compatible version; fixes AAC decoding on x86_64 arch
* support gapless playback while switching streams (requires UI cooperation)
* fix speed changing race causing deadlock with v4l plugin
* cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase and
multiline entries support) [#1205274]
xine-lib (1.1.0)
* new quality deinterlacer from dscaler: GreedyH (Greedy High Motion)
* new quality deinterlacer from dscaler: TomsMoComp (Tom's Motion Compensated)
* added help for most deinterlace methods
* ffmpeg update
* use ImageMagick to convert and display different type of images (png, jpg...)
* improve ASX playlist parsing
* add an extended MRL reference event (MRL title, start time, play time):
needed for the ASX parser; deprecates plain MRL reference events.
* goom updated to 2k4-0
xine-lib (1.0.4)
* tiny doc update
* build fixes and cross build improvements
* fixed an align problem in Win32 DirectX video output plugin
* fixed linking of X11 plugins for some platforms
2006-08-06 12:36:50 +02:00
|
|
|
SUBST_CLASSES+= w32path
|
2005-05-02 13:29:35 +02:00
|
|
|
SUBST_STAGE.w32path= post-patch
|
Update to 1.1.2, provided by Kimura Fuyuki in PR 34107.
xine-lib (1.1.2)
* Security fixes:
- CVE-2005-4048: possible buffer overflow in libavcodec (crafted PNGs).
- CVE-2006-2802: possible buffer overflow in the HTTP plugin.
- possible buffer overflow via bad indexes in specially-crafted AVI files
* Update gettext support to 0.14.5, disable internal gettext, fix locales
handling, use the correct domain for strings.
* Italian translation update
* Czech translation update
* Disable the XXMC plugin if Xv support isn't there
* Also look for Xv support in /usr/lib for X.org's new location
* Fix using xine-lib on systems with SELinux enabled
* Build right with libiconv in /usr/local as default on FreeBSD
* Fix a potential crash with fixed-size lacing in the Matroska demuxer
* Patch from SuSE to fix alsa after hardware suspend
* Fix the ./configure --enable-static-xv parameter
* Really fix the speed changing race that was mentioned in 1.1.1
* Send events for tvtime filmmode changes
* Add an image decoder based on gdk-pixbuf
* Add browseable capability to smb input plugin
* Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
* Fix xxmc subpictures (broken since 1.1.1)
* FFmpeg update (version 51.1.0)
* Fix detection of locale containing a modifier (like "@euro")
* New volume normalization post plugin
* New image noise post plugin (useful for mitigating some compression artifacts)
* Support for Vorbis-style comments in FLAC files
* Coverity fixes
* Add ATSC support to the DVB plugin
* Make various structures and arrays constant.
* Fix up health check to find libX11 and libXv shared objects even if
devel packages aren't installed (where appropriate). (Ubuntu 47357)
* Fix install problems in case configure was generated by autoconf >= 2.59c.
* Fixed some win32 codec freezes when configured w32-path doesn't exist
* Add support for RealPlayer 10 codecs (from SUSE)
xine-lib (1.1.1)
* Improve sound quality when using alsa 1.0.9 or above.
When playing a 44.1khz stream on a 48khz only capable sound card.
It bypasses alsa-lib resampler and uses xine's
* Windows ports bug fixes and improvements
* Set up the framebuffer palette (fb video out).
* build fixes and improvements, added --with-pthread-prefix and
--with-zlib-prefix options
* new DirectFB video output plugin with many improvements (output to overlay
or TV, deinterlacing, image controls, zoom, OSD, double/triple buffering,
vsync, flicker filtering, field parity control)
* overlay cropping fixes for small streams or when using cropping support
* experimental frame allocation optimization reduces cpu usage of the
deinterlacer plugin by up 25%
* implement time seeking on DVD plugin
* move CFLAGS optimizations to a separated file (added --disable-optimizations)
* use the same codec path as MPlayer (/usr[/local]/lib/codecs)
* FFmpeg sync (new QDM2 decoder)
* imported Duck TrueMotion 2 decoder from FFmpeg
* sync libfaad2 to latest GPL compatible version; fixes AAC decoding on x86_64 arch
* support gapless playback while switching streams (requires UI cooperation)
* fix speed changing race causing deadlock with v4l plugin
* cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase and
multiline entries support) [#1205274]
xine-lib (1.1.0)
* new quality deinterlacer from dscaler: GreedyH (Greedy High Motion)
* new quality deinterlacer from dscaler: TomsMoComp (Tom's Motion Compensated)
* added help for most deinterlace methods
* ffmpeg update
* use ImageMagick to convert and display different type of images (png, jpg...)
* improve ASX playlist parsing
* add an extended MRL reference event (MRL title, start time, play time):
needed for the ASX parser; deprecates plain MRL reference events.
* goom updated to 2k4-0
xine-lib (1.0.4)
* tiny doc update
* build fixes and cross build improvements
* fixed an align problem in Win32 DirectX video output plugin
* fixed linking of X11 plugins for some platforms
2006-08-06 12:36:50 +02:00
|
|
|
SUBST_FILES.w32path= src/libw32dll/common.c
|
2005-05-02 13:29:35 +02:00
|
|
|
SUBST_SED.w32path= -e "s,@W32PATH@,${PREFIX}/lib/win32,"
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.w32path= Fixing win32 dll path.
|
2005-05-02 13:29:35 +02:00
|
|
|
|
2005-12-24 13:49:35 +01:00
|
|
|
# Needed to fix build problems under, at least, NetBSD/amd64.
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libcdio+= libcdio>=0.75
|
2005-12-24 13:49:35 +01:00
|
|
|
|
2014-12-31 17:10:41 +01:00
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
|
|
PLIST_VARS+= vidix
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
PLIST.vidix= yes
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2014-06-30 15:41:00 +02:00
|
|
|
PLIST_VARS+= qtw32
|
|
|
|
.if empty(MACHINE_PLATFORM:MDarwin-*-i386)
|
|
|
|
PLIST.qtw32= yes
|
|
|
|
.endif
|
|
|
|
|
2011-11-01 14:57:28 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
PLIST_VARS+= oss
|
|
|
|
.if ${OS_VERSION} == "5.11"
|
|
|
|
PLIST.oss= yes
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2014-06-27 14:17:22 +02:00
|
|
|
CPPFLAGS.SunOS+= -D__u32=uint32_t -DHAVE_SYSI86 -DHAVE_MMX_FALSE
|
2012-04-01 20:42:02 +02:00
|
|
|
LDFLAGS.SunOS+= -lresolv
|
|
|
|
|
2016-04-19 12:41:14 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2007-02-07 21:04:00 +01:00
|
|
|
# flac is supported internally; don't know what the plugin is good for
|
2014-02-24 06:31:54 +01:00
|
|
|
# but until autodetection is turned off, force external flac for now.
|
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
2014-12-18 13:33:21 +01:00
|
|
|
.include "../../audio/faad2/buildlink3.mk"
|
|
|
|
.include "../../audio/liba52/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
#.include "../../audio/libmpcdec/buildlink3.mk"
|
2004-02-25 19:02:08 +01:00
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2005-03-30 12:23:45 +02:00
|
|
|
.include "../../audio/speex/buildlink3.mk"
|
2004-02-25 19:02:08 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2007-02-07 21:04:00 +01:00
|
|
|
# these could be options or (better) extra plugin packages
|
|
|
|
#.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
#.include "../../graphics/ImageMagick/buildlink3.mk"
|
|
|
|
#.include "../../graphics/Mesa/buildlink3.mk"
|
2007-02-09 20:25:05 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-opengl
|
2007-02-07 21:04:00 +01:00
|
|
|
#.include "../../graphics/aalib/buildlink3.mk"
|
2004-02-25 19:02:08 +01:00
|
|
|
.include "../../graphics/mng/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2004-04-19 20:17:04 +02:00
|
|
|
.include "../../misc/libcdio/buildlink3.mk"
|
2014-12-19 00:26:06 +01:00
|
|
|
CONFIGURE_ARGS+= --with-external-dvdnav
|
|
|
|
.include "../../multimedia/libdvdnav/buildlink3.mk"
|
2008-01-06 16:36:41 +01:00
|
|
|
.include "../../multimedia/libtheora/buildlink3.mk"
|
2004-04-19 20:17:04 +02:00
|
|
|
.include "../../sysutils/vcdimager-devel/buildlink3.mk"
|
2007-01-10 17:33:44 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2008-01-11 17:05:27 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2008-07-29 07:58:41 +02:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2007-01-29 11:32:50 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
2010-09-16 11:49:42 +02:00
|
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
2004-01-26 14:03:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|