# /usr/ports/multimedia/Makefile.local		by jhs_ERASE_@berklix.com
.include "../Makefile.undef"

.if defined(BERKLIX_CLIENT)	#{

SUBDIR += acidrip	# graphical dvd ripper	- rec. by garyj

# SUBDIR += atomicparsley	# run_depends for (ex net)multimedia/get_iplayer http://www.bbc.co.uk/sounds/play/m0001g9v

SUBDIR += get_iplayer	# rec. by ljk 2021: Pi 3 VNC into & dload TV from MMC
# Some other channels work with www/youtube_dl

SUBDIR += dvdbackup	# in sysutils/

SUBDIR += dvdrip	# graphical dvd ripper

.if ( ${MACHINE_ARCH} == "i386" ) #{
SUBDIR += handbrake	# graphical dvd ripper
.endif				  #} ${MACHINE_ARCH} == "i386"

.if (( ${OSVERSION} == 802000 ) || ( ${OSVERSION} == 803000 ) || \
	( ${OSVERSION} == 900044 )) #{ 8.2-RELEASE 9.0-RELEASE
# 8.[34]-RELEASE needs kdelibs3 conflicts with openssl-1.0.0_10
.else			# }{
.if defined(BERKLIX_AMBITIOUS)	#{
# SUBDIR += k9copy	# Not in 12.0-CURRENT-2017-11-14. rec. by garyj for dvd
.endif				#} BERKLIX_AMBITIOUS
#			  dep. dvdauthor fails on generic patch.
.endif				#} ${OSVERSION}

SUBDIR += lsdvd 	# ls dvd

SUBDIR += libdvdread	# for vobcopy & lsdvd (& not automatic cos of DRM hollywood law crippling)

SUBDIR += mpeg2codec	# for mplayer ?

SUBDIR += mencoder

SUBDIR += mplayer	# seems to be no matching package

.if defined(BERKLIX_AMBITIOUS)	#{

SUBDIR += mythtv	# Not tried yet, breaks at 2019-01-01
# lk@ has tried mythtv on linux
SUBDIR += mythtv-frontend	# Not tried yet

SUBDIR += lxdvdrip	# dvd ripper - a command line dvd backup tool

.if ( ${OSVERSION} != 802000 )	#{	bad on 8.2-RELEASE
SUBDIR += mjpegtools	# run time depend not included by make of dvdrip
#			# breaks on 7.1-RELEASE
.endif				#} ${OSVERSION}
.endif				#} BERKLIX_AMBITIOUS

.if ( ${OSVERSION} != 802000 )	#{	bad on 8.2-RELEASE
SUBDIR += mplayer	# dvd player, needs CPU with MMX. pas@ & Colin have it for MS
.endif				#} ${OSVERSION}

SUBDIR += ogle		# dvd player compiles on 6.2 but not run it yet

.if ( ${OSVERSION} != 802000 )	#{	bad on 8.2-RELEASE
SUBDIR += ogmrip	# dvd ripper
.endif				#} ${OSVERSION}

SUBDIR += transcode	# RUN_DEPENDS in dvdrip/Makefile
#			Not built by cd dvdrip; make all, but by make install.

SUBDIR += vlc		# Video player. Colin W. has it for MS

SUBDIR += webcamd	# For eg chrome http://meet.ffmuc.net

SUBDIR += xanim

.if ( ${OSVERSION} != 802000 )	#{	bad on 8.2-RELEASE
SUBDIR += xine	# dvd player. 6.2 break& 7.2-amd breaks. Current 13.04.2009 amd builds. needs ./libxine/
#		 run time depend not included by make of dvdrip
.endif				#} ${OSVERSION}

# SUBDIR += xmms	# mp3 player rec. by http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html
#			  See also audio/xmms2

.if defined(BERKLIX_AMBITIOUS)	#{
# xmms is still in current 2016-12-07, & audacious breaks.
# xmss @ 2019-01 apparently has a gtk1 dependency fails.
SUBDIR += audacious		# new, xmms has some security problem dropping by freebsd
SUBDIR += audacious-plugins	# needed by firefox for audacious at run time
.endif				#} BERKLIX_CLIENT

SUBDIR += xvid		# lib/libxvidcore* needed by transcode (which doesnt know!) # xvid probably also helps acidrip squeeze harder.

# SUBDIR += xvid4conf	Doesnt exist on 12.0-CURRENT-2017-11-15
#		 breaks on 7.1-RELEASE amd64,
#		 OK on 7.2i386,
#		 OK on 7.1+amd64+current-16.04.2009 host=john
#		 Fails on 7.1+amd64+current-16.04.2009 host=fire
#		 . See also dvdrip

SUBDIR += audacious

SUBDIR += mpv
#	mpv Used by gj@ 2022-09-16 to view
#  http://wiki.freebsd.org/DevSummit/202209 
#http://bsdtv-hls.secdn.net/bsdtv-channel/play/input_track1.smil/playlist.m3u8 
#  http://2022.eurobsdcon.org/program

.endif				#} BERKLIX_CLIENT
