diff options
author | Martin Väth <martin@mvath.de> | 2014-03-29 23:59:46 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 10:49:09 +0200 |
commit | a0e42a59efb2da29d09353633198a44fbdf0bece (patch) | |
tree | d7a9b2fce2ff50051decfbd275ede35f8b67ccbc /media-tv | |
parent | Bump portage-bashrc-mv (diff) | |
download | mv-a0e42a59efb2da29d09353633198a44fbdf0bece.tar.gz mv-a0e42a59efb2da29d09353633198a44fbdf0bece.tar.bz2 mv-a0e42a59efb2da29d09353633198a44fbdf0bece.zip |
Bump sundtek-tv, adding zsh completion support
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/sundtek-tv/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/sundtek-tv/Manifest | 4 | ||||
-rw-r--r-- | media-tv/sundtek-tv/files/_mediaclient | 194 | ||||
-rw-r--r-- | media-tv/sundtek-tv/sundtek-tv-20140321.ebuild (renamed from media-tv/sundtek-tv/sundtek-tv-20140304.ebuild) | 3 |
4 files changed, 204 insertions, 4 deletions
diff --git a/media-tv/sundtek-tv/ChangeLog b/media-tv/sundtek-tv/ChangeLog index bec69bd8..7cc64873 100644 --- a/media-tv/sundtek-tv/ChangeLog +++ b/media-tv/sundtek-tv/ChangeLog @@ -1,8 +1,11 @@ -# ChangeLog for media-video/sundtek-tv-pro +# ChangeLog for media-video/sundtek-tv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ -*sundtek-tv-pro3 (17 Feb 2014) +*sundtek-tv (17 Feb 2014) + + 29 Mar 2014; Martin Väth <martin@mvath.de>: + Add zsh completion support. Version bump 17 Feb 2014; Martin Väth <martin@mvath.de>: New ebuild from scratch. diff --git a/media-tv/sundtek-tv/Manifest b/media-tv/sundtek-tv/Manifest index 5ac7247f..60ef5b6e 100644 --- a/media-tv/sundtek-tv/Manifest +++ b/media-tv/sundtek-tv/Manifest @@ -1,3 +1,3 @@ DIST sundtek-tv-20090913.pdf 40767 SHA256 89c63affc25759a96c23331170a22ba1148f632e7ceb22383cf8ff0b29b499d3 SHA512 38245d485f4cde1deac55252fe070f0167ee3e8b52dc30d1ac2594a5f19ffb14054051f2dfe76bde64f7485d2c975850264adcde4575cc8b397eb0948a118e00 WHIRLPOOL 295c039be49b0b2c77358f0a9aebca621f9c1ddc0491182028bdc1fb24e84ab6ca07f32e1f69638c92c1939d328dad69e63be947fd403e896bbbee737e59dc38 -DIST sundtek-tv-amd64-20140304.tar.gz 1238797 SHA256 02ab0cbf85d20a10be6570f39208f940073a152f6b73a9f144ae03925a0fd6e1 SHA512 da8e45eeaaf82f2ff946aeb157c7f7b9405817bee49e2313c54285f901db7c120f9056e71c793763282719e32e9ee0005ab3a5557f62e9daadbebbc1457b8b34 WHIRLPOOL 5d463961da7f0597a045f3565ca43176b57b00e4dbbd25792675d6a9cadabbf43564d993481f8d49292697c4fe08cd9787aa164a53fb6d274dfd778d94cf37d2 -DIST sundtek-tv-x86-20140304.tar.gz 1161883 SHA256 e57429ac72aaae9bd41e3a8a959605ddab53804b7f5e95dc5d2d5ee1b478de00 SHA512 834be5a4925fa61bd4d7d0f6789c5df1c038250e0b8b2f06812721528cd5211599702f7f880ddcdc0a494eb3bfbdba245aa25fbdbabe6e838f827f0e003c5717 WHIRLPOOL 89c1918f8ec3b21e9958ffe16424b0fa8c9ac03261540b4eba0a576d78801fc798618d98a0b76b4023e6a769769de15d49e3bc936efb831e21b235d74ddd986a +DIST sundtek-tv-amd64-20140321.tar.gz 1241224 SHA256 5a13c4b4cb884c337e97a53fae5407852d25954d402c3df33847fe9d5d341b38 SHA512 cdc0852bc60c0a8bc7ed019b54b567cb543e4cac3785c8ebc22546b2110581270689214bca7e0705799beccb6c77d8c064a2069bb07c502b3d23216cec06d089 WHIRLPOOL f2d12ee885d36d6e16b3f24cdd9edec373be6b8f433bcedd44219d9ee0322c38d1ed2d2c85c3a0a2af92e888691958e48a2b068cbad936c0093b53192192f430 +DIST sundtek-tv-x86-20140321.tar.gz 1163874 SHA256 10bad38ab09a95666ab2092641871123d6d3ca666a9020fbf1d3bbde880ea80a SHA512 b2d97e5e18519ef589f66d0f86e8d41def83f4cd7abaed4ee7e5582fd288c9335e5277f1a6356ec6a4f6714ae8b16cbc29e97655da4da49c07a9554c8701276f WHIRLPOOL 74f6b75503530ef107701a615d95ed4fdfcb4a1a581cefb59af2280826ca8f9732ed6fc86381c4ce4a0785a7f1def9642c5ab4d813111b01919add70a2ebb861 diff --git a/media-tv/sundtek-tv/files/_mediaclient b/media-tv/sundtek-tv/files/_mediaclient new file mode 100644 index 00000000..99670f4a --- /dev/null +++ b/media-tv/sundtek-tv/files/_mediaclient @@ -0,0 +1,194 @@ +#compdef mediaclient +local curcontext="$curcontext" state state_descr line +typeset -A opt_args +_arguments -C -s -S -A '-*' : \ +'--help[help]' \ +{'(--device)-d+','(-d)--device='}'[DEVICE (video device)]:video device:(/dev/video*)' \ +{'(--enumdevices)-e','(-e)--enumdevices'}'[show up devices]' \ +{'(--mode)-m+','(-m)--mode='}'[MODE (device mode)]:device mode:(DVBT DVBT2 DVBC DVBS DVBS2 ATSC ATV RADIO)' \ +{'(--tuner)-t+','(-t)--tuner'}'[ID (tuner id)]:tuner id:->tunerid)' \ +{'(--setdtvmode)-D+','(-D)--setdtvmode='}'[MODE (dtv mode)]:dtv mode:(DVBT DVBC ATSC)' \ +{'(--listatvstd)-L','(-L)--listatvstd'}'[list analog TV standards]' \ +'--crc=[MODE (crc check for PSI on/off)]:check active:(on off)' \ +{'(--vmode)-v+','(-v)--vmode='}'[MODE (set analog TV mode)]:tv mode:(PAL-BG PAL-DK PAL-I PAL-M NTSC-M Secam-L Secam-LC Secam-K Secam-B Secam-G Secam-H)' \ +'--setvcr=[DEVICE (lock device)]:video device:(/dev/video*)' \ +{'(--inputs)-i','(-i)--inputs'}'[list analog TV inputs]' \ +{'(--size)-s+','(-s)--size='}'[DIM (set scalar size)]:dimension:(720x576)' \ +{'(--Input)-I+','(-I)--Input='}'[INPUT (set TV input)]:input:(Television Composite S-Video)' \ +{'(--frequency)-f+','(-f)--frequency='}'[HZ (frequency)]:frequency:()' \ +'--rawfreq[HZ (raw DVB-S/S2 frequency)]:frequency:()' \ +{'(--listarea)-a','(-a)--listarea'}'[list Area]' \ +{'(--setarea)-A+','(-A)--setarea='}'[AREA (set Area)]:Area:()' \ +{'(--Modulation)-M+','(-M)--Modulation='}'[MODULATION (for DVB-C)]:Modulation:(Q16 Q32 Q64 Q128 Q256)' \ +{'(--Symbolrate)-S+','(-S)--Symbolrate='}'[HZ (Symbolrate for DVB-C)]:Symbolrate:()' \ +{'(--voltage)-V+','(-V)--voltage='}'[VOLTAGE (DVB-S/S2 Polarisation)]:voltage:->voltage' \ +'--band=[BAND (set band)]:band:(C-BAND UNIVERSAL)' \ +{'(--fec)-E','(-E)--fec'}'[forward error connection]' \ +{'(--polarisation)-p+','(-p)--polarisation='}'[DIRECTION (polarisation)]:polarisation:->polarisation' \ +{'(--bandwidth)-b+','(-b)--bandwidth='}'[MHZ (set bandwidth for DVB-T)]:bandwidth:(6 7 8)' \ +{'(--rds)-r','(-r)--rds'}'[get RDS information]' \ +{'(--properties)-C','(-C)--properties'}'[list device properties]' \ +'--loglevel=[LOGLEVEL (set log verbosity)]:loglevel:(off min max)' \ +'--signalreporting=[MODE (set signal mode)]:signal reporting:->signalreporting' \ +'--readsignal=[N (read signalstrength N times)]:signalstrength:()' \ +'--powerlevel=[N (read powerlevel N times)]:powerlevel:()' \ +'--powerlevel=[N (read powerlevel N times)]:powerlevel:()' \ +'--lockstatus[check dvb/atsc channel lock]' \ +'--enable5v=[5V output for DVB-C/T/T2]:enable 5V output:(on off)' \ +'--wssdecoder=[DEVICE (VBI for wss)]:VBI device:(dev/vbi*)' \ +'--dumpvbi=[DEVICE (dump VBI for wss)]:VBI device:(dev/vbi*)' \ +'--wsscallback=[SCRIPT (Aspect ratio change wss)]:aspect ratio script:_files' \ +'--stopwdd[stop background wss server]' \ +'--cc-list[list closed caption]' \ +'--cc-flush[clear closed caption settings]' \ +'--cc-enable[CAP (enable closed caption)]:closed caption:(CC1 CC2 T1 T2)' \ +'--cc-disable[CAP (disable closed caption)]:closed caption:(CC1 CC2 T1 T2)' \ +{'(--pidfilter)-P+','(-P)--pidfilter='}'[MODE (DVB pidfilter on/off)]:pidfilter:(on off)' \ +{'(--addpid)-H+','(-H)--addpid='}'[PIDS (add DVB pids)]:pids:("0x10" 16 "0x10,16")' \ +{'(--removepid)-x+','(-x)--removepid='}'[PIDS (remove DVB pids)]:pids:("0x10" 16 "0x10,16")' \ +{'(--listpids)-w','(-w)--listpids'}'[list filtered DVB pids]' \ +{'(--flushpids)-F+','(-F)--flushpids='}'[flush DVB pidtable]' \ +'--softpidfilter=[MODE (software DVB PID filter)]:pidfilter mode:(on off passthrough)' \ +{'(--internalaudio)-c+','(-c)--internalaudio='}'[MODE (internal audio)]:internal audio:->internalaudio' \ +'--audiothreshold=[N (audio threshold N ms)]:audio threshold:(0 2000)' \ +'--loudness=[N (loudness)]:loudness:(0 15)' \ +'--volume=[N (volume)]:volume:(0 255)' \ +'--treble=[N (treble)]:treble:(0 255)' \ +'--audiomode=[MODE (mono/stereo)]:audio mode:(mono stereo)' \ +{'(--mute)-g+','(-g)--mute='}'[MODE (FM mute)]:FM mute mode:(on off)' \ +'--diseqc-support=[MODE (diseqc)]:diseqc mode:(on off)' \ +'--diseqc=[COMMAND (diseqc)]:diseqc command:(E0 10 38 F0)' \ +'--list-diseqc[list diseqc dish configuration]' \ +'--set-diseqc=[CONFIG (set diseqc dish)]:diseqc dish configuration:(S19.2E)' \ +'--setmini=[SEC_MINI_A/B (set burst tone)]:burst tone:(A B)' \ +{'(--listrc)-l','(-l)--listrc'}'[list rc protocols]' \ +{'(--setrc)-s+','(-s)--setrc='}'[PROTOCOL (set rc)]:protocol:()' \ +'--enablerc=[DEVICE (enable rc polling)]:rc device:(/dev/mediainput*)' \ +'--disablerc=[DEVICE (disable rc polling)]:rc device:(/dev/mediainput*)' \ +'--pollrc[poll raw rc]' \ +'--dumprcmap[dump rc map]' \ +'--setrcmap=[MAP (set rc MAP)]:rc map:_files' \ +'--updaterc=[update rc layout]:rc layout:->rclayout' \ +'--transfermode=[MODE (usb transfer mode)]:transfer mode:(bulk iso)' \ +'--nullpackets=[MODE (usb null packets)]:pass null packets:->nullpackets' \ +'--bulkpackets=[N (usb bulk transfer)]:bulk transfer number:()' \ +'--ts-settle-timemout=[N (usb timeout in ms)]:timeout:(0 4000)' \ +'--disable-dvb=[ADAPTER (disable dvb)]:dvb adapter:(/dev/dvb/adapter*)' \ +'--enable-dvb=[ADAPTER (enable dvb)]:dvb adapter:(/dev/dvb/adapter*)' \ +'--setver=[API (set DVB API]:DVB API:(5.0)' \ +'--vfilter=[MODE (analog deinterlacer)]:deinterlacer:(on off)' \ +'--vfilterid=[ID (analog deinterlacer type)]:deinterlacer id:->deinterlacerid' \ +'--lc[list connected clients]' \ +'--lc=[PID (disconnect client)]:pid:()' \ +'--shutdown[shutdown multimediastack]' \ +'--start=[N (start multimediastack in N sec)]:seconds:(1)' \ +'--systemdcheck[start via systemd]' \ +'--wait-for-devices[start when devices are ready]' \ +'--enablenetwork=[MODE (network listening)]:network mode:(on off)' \ +'--mount=[ADAPTER (create virtual)]:virtual adapter:->createmount' \ +'--unmount=[ADAPTER (delete virtual)]:virtual adapter:(1)' \ +'--lrc=[RC (list remote clients)]:rc clients:(1 192.168.1.2:0)' \ +'--tvdummy[add tv-dummydevice]' \ +'--remove=[N (delete dummy adapter)]:dummy adapter:(1)' \ +'--scan-network[scan for IPTV devices]' \ +'--nettransfermode=[MODE (set transfer mode)]:transfer mode:(tcp udp)' \ +'--nti=[N (increase maximum packet)]:maximum packet:(0 10000)' \ +'--netrecoverymode=[MODE (netrecoverymode)]:net recover mode:(on off)' \ +'--enabledreambox=[DEVICE (connect vtuner)]:vtuner device:(/dev/dvb/adapter*/frontend*)' \ +'--disabledreambox=[DEVICE (disconnect vtuner)]:vtuner device:(/dev/dvb/adapter*/frontend*)' \ +'--nimbus[display dreambox nimbus]' \ +'--avoffset=[N (dreambox AV offset in ms)]:AV PTS offset:()' \ +'--audiooffset=[N (dreambox audio offset in ms)]:Audio PTS offset:()' \ +'--videooffset=[N (dreambox video offset in ms)]:Video PTS offset:()' \ +'--portforward=[N (debugging)]:port:()' \ +'--pipecount=[N (read stdin)]:seconds:(1)' \ +'--cat=[FILE (read FILE)]:file:_files' \ +'--strings=[FILE (strings FILE)]:file:_files' \ +'--lsusb=[DEVICE (print usb ids)]:usb device:(/dev/bus/usb)' \ +'--reset=[DEVICE (reset usb device)]:usb device:(/dev/bus/usb/*)' \ +'--tsscan=[DEVICE (scan channel)]:transponder:(/dev/dvb/adapter*/dvr*)' \ +'--nitscan=[DEVICE (scan NIT)]:transponder:(/dev/dvb/adapter*/dvr*)' \ +'--blindscan=[DEVICE (blindscan)]:transponder:(nim_socket /dev/dvb/adapter*/dvr*)' \ +'--timeout=[N (nitscan timeout in ms)]:timeout:()' \ +'--zf=[N (ZF/IF universal frequesncy)]:frequency:()' \ +'--frontendinfo=[DEVICE (get DVB API)]:dvb device:(/dev/dvb/adapter*/frontend*)' \ +'--createadapter[create dvb loopback]' \ +'--remove=[N (remove dvb loopback)]:loopback device:()' +local ret=$? +case $state in +(tunerid) + local tunerids + tunerids=( + '0:FM receiver' + '1:FM transmitter' + ) + _describe -t tunerid 'tuner id' tunerids + ret=$?;; +(voltage) + local voltages + voltages=( + 'H:18V' + 'V:13V' + 'OFF:0V' + ) + _describe -t voltage 'voltage' voltages + ret=$?;; +(polarisation) + local polarisations + polarisations=( + 'H:horizontal' + 'V:vertical' + ) + _describe -t polarisation 'polarisation' polarisations + ret=$?;; +(signalreporting) + local signalreport + signalreport=( + '0:videodecoder (fast, default)' + '1:demodulator (slow, detailed)' + ) + _describe -t signalreporting 'signal reporting' signalreport + ret=$?;; +(internalaudio) + local internalaudios + internalaudios=( + 'auto:on if tvtime gets started' + 'internal:use internal bridge' + 'external:require external application' + 'audioonly:only initialize audio transfer' + ) + _describe -t internalaudio 'internal audio' internalaudios + ret=$?;; +(rclayout) + local rclayouts + rclayouts=( + '0:internal keymap for flat remote control' + '1:internal keymap for black VCR remote control' + ) + _describe -t rclayout 'rc layout' rclayouts + ret=$?;; +(nullpackets) + local nullpackets + nullpackets=( + 'on' + 'off:default' + ) + _describe -t nullpackets 'pass null packets' nullpackets + ret=$?;; +(deinterlacerid) + local deinterlacerids + deinterlacerids=( + '0:default' + ) + _describe -t deinterlacerid 'deinterlacer id' deinterlacerids + ret=$?;; +(createmount) + local virtualadapters + virtualadapters=( + '0:local device' + '192.168.1.2:0:remote device' + ) + _describe -t virtualadapter 'virtual adapter' virtualadapters + ret=$?;; +esac +return ret diff --git a/media-tv/sundtek-tv/sundtek-tv-20140304.ebuild b/media-tv/sundtek-tv/sundtek-tv-20140321.ebuild index 246dc293..365a2d16 100644 --- a/media-tv/sundtek-tv/sundtek-tv-20140304.ebuild +++ b/media-tv/sundtek-tv/sundtek-tv-20140321.ebuild @@ -140,6 +140,7 @@ src_prepare() { >etc/revdep-rebuild/50-sundtek-tv echo "/${mylibdir}/libmediaclient.so" >etc/ld.so.preload ${develop} && die "Developer mode: Dying after unpacking all" + cp -- "${FILESDIR}"/_mediaclient . epatch_user } @@ -158,6 +159,8 @@ src_install() { dodoc README *.conf ! use doc || dodoc "${docdist}" fi + insinto /usr/share/zsh/site-functions + doins _mediaclient readme.gentoo_create_doc } |