summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video')
-rw-r--r--media-video/2mandvd/2mandvd-1.8.5.ebuild66
-rw-r--r--media-video/2mandvd/Manifest1
-rw-r--r--media-video/2mandvd/files/2mandvd-1.7.3-libav.patch10
-rw-r--r--media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch27
-rw-r--r--media-video/2mandvd/metadata.xml5
-rw-r--r--media-video/aacskeys/Manifest2
-rw-r--r--media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild35
-rw-r--r--media-video/aacskeys/aacskeys-0.4.0e.ebuild35
-rw-r--r--media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch35
-rw-r--r--media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch36
-rw-r--r--media-video/aacskeys/metadata.xml9
-rw-r--r--media-video/abby/Manifest1
-rw-r--r--media-video/abby/abby-0.4.8.ebuild25
-rw-r--r--media-video/abby/metadata.xml11
-rw-r--r--media-video/acidrip/Manifest1
-rw-r--r--media-video/acidrip/acidrip-0.14-r4.ebuild27
-rw-r--r--media-video/acidrip/files/acidrip-0.14-makefile.patch50
-rw-r--r--media-video/acidrip/files/acidrip-mplayer.patch22
-rw-r--r--media-video/acidrip/metadata.xml11
-rw-r--r--media-video/aegisub/Manifest3
-rw-r--r--media-video/aegisub/aegisub-2.1.9.ebuild61
-rw-r--r--media-video/aegisub/aegisub-3.1.2.ebuild101
-rw-r--r--media-video/aegisub/aegisub-3.1.3.ebuild98
-rw-r--r--media-video/aegisub/aegisub-9999.ebuild98
-rw-r--r--media-video/aegisub/metadata.xml13
-rw-r--r--media-video/alevt/Manifest1
-rw-r--r--media-video/alevt/alevt-1.6.2.ebuild48
-rw-r--r--media-video/alevt/files/alevt-1.6.2-libpng15.patch11
-rw-r--r--media-video/alevt/files/alevt-1.6.2-respectflags.patch34
-rw-r--r--media-video/alevt/metadata.xml5
-rw-r--r--media-video/aravis/Manifest2
-rw-r--r--media-video/aravis/aravis-0.1.14.ebuild68
-rw-r--r--media-video/aravis/aravis-0.1.15.ebuild68
-rw-r--r--media-video/aravis/aravis-9999.ebuild68
-rw-r--r--media-video/aravis/metadata.xml20
-rw-r--r--media-video/arista/Manifest2
-rw-r--r--media-video/arista/arista-0.9.5.ebuild58
-rw-r--r--media-video/arista/arista-0.9.7.ebuild76
-rw-r--r--media-video/arista/files/arista-0.9.7-doc-install.patch14
-rw-r--r--media-video/arista/metadata.xml13
-rw-r--r--media-video/asfrecorder/Manifest1
-rw-r--r--media-video/asfrecorder/asfrecorder-1.1.ebuild34
-rw-r--r--media-video/asfrecorder/metadata.xml11
-rw-r--r--media-video/atomicparsley-wez/Manifest1
-rw-r--r--media-video/atomicparsley-wez/atomicparsley-wez-0.9.6.ebuild38
-rw-r--r--media-video/atomicparsley-wez/metadata.xml11
-rw-r--r--media-video/atomicparsley/Manifest1
-rw-r--r--media-video/atomicparsley/atomicparsley-0.9.0.ebuild42
-rw-r--r--media-video/atomicparsley/files/atomicparsley-0.9.0-environment.patch80
-rw-r--r--media-video/atomicparsley/files/atomicparsley-0.9.0-glibc-2.10.patch39
-rw-r--r--media-video/atomicparsley/metadata.xml11
-rw-r--r--media-video/avidemux/Manifest7
-rw-r--r--media-video/avidemux/avidemux-2.5.6-r2.ebuild172
-rw-r--r--media-video/avidemux/avidemux-2.6.2-r1.ebuild122
-rw-r--r--media-video/avidemux/avidemux-2.6.3.ebuild118
-rw-r--r--media-video/avidemux/avidemux-2.6.4.ebuild118
-rw-r--r--media-video/avidemux/avidemux-2.6.5-r1.ebuild134
-rw-r--r--media-video/avidemux/avidemux-2.6.5.ebuild129
-rw-r--r--media-video/avidemux/avidemux-2.6.7.ebuild129
-rw-r--r--media-video/avidemux/avidemux-2.6.8.ebuild129
-rw-r--r--media-video/avidemux/avidemux-9999.ebuild129
-rw-r--r--media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch13
-rw-r--r--media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch20
-rw-r--r--media-video/avidemux/metadata.xml13
-rw-r--r--media-video/avinfo/Manifest3
-rw-r--r--media-video/avinfo/avinfo-1.0_alpha15.ebuild30
-rw-r--r--media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild37
-rw-r--r--media-video/avinfo/metadata.xml8
-rw-r--r--media-video/baka-mplayer/Manifest2
-rw-r--r--media-video/baka-mplayer/baka-mplayer-2.0.2.ebuild39
-rw-r--r--media-video/baka-mplayer/baka-mplayer-2.0.3.ebuild39
-rw-r--r--media-video/baka-mplayer/metadata.xml6
-rw-r--r--media-video/bangarang/Manifest1
-rw-r--r--media-video/bangarang/bangarang-2.1-r2.ebuild36
-rw-r--r--media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch45
-rw-r--r--media-video/bangarang/metadata.xml8
-rw-r--r--media-video/bashnapi/Manifest1
-rw-r--r--media-video/bashnapi/bashnapi-1.1.5.ebuild34
-rw-r--r--media-video/bashnapi/metadata.xml11
-rw-r--r--media-video/bbtools/Manifest1
-rw-r--r--media-video/bbtools/bbtools-1.9.ebuild38
-rw-r--r--media-video/bbtools/files/bbtools-1.9-gentoo.patch78
-rw-r--r--media-video/bbtools/metadata.xml17
-rw-r--r--media-video/bdsup2sub/Manifest2
-rw-r--r--media-video/bdsup2sub/bdsup2sub-4.0.0-r1.ebuild49
-rw-r--r--media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff37
-rw-r--r--media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.patch40
-rw-r--r--media-video/bdsup2sub/files/build-4.0.0.xml68
-rw-r--r--media-video/bdsup2sub/metadata.xml8
-rw-r--r--media-video/binkplayer/Manifest1
-rw-r--r--media-video/binkplayer/binkplayer-1.99w.ebuild30
-rw-r--r--media-video/binkplayer/metadata.xml5
-rw-r--r--media-video/bino/Manifest4
-rw-r--r--media-video/bino/bino-1.3.0.ebuild47
-rw-r--r--media-video/bino/bino-1.4.2-r1.ebuild70
-rw-r--r--media-video/bino/bino-1.4.4.ebuild70
-rw-r--r--media-video/bino/bino-1.6.1.ebuild71
-rw-r--r--media-video/bino/files/bino-1.4.2-lirc-detect.patch35
-rw-r--r--media-video/bino/files/bino.html24
-rw-r--r--media-video/bino/metadata.xml14
-rw-r--r--media-video/blinkensim/Manifest1
-rw-r--r--media-video/blinkensim/blinkensim-2.7.ebuild27
-rw-r--r--media-video/blinkensim/metadata.xml12
-rw-r--r--media-video/blinkenthemes/Manifest1
-rw-r--r--media-video/blinkenthemes/blinkenthemes-0.10.ebuild26
-rw-r--r--media-video/blinkenthemes/metadata.xml16
-rw-r--r--media-video/blinkentools/Manifest1
-rw-r--r--media-video/blinkentools/blinkentools-2.9.ebuild26
-rw-r--r--media-video/blinkentools/metadata.xml14
-rw-r--r--media-video/bombono-dvd/Manifest1
-rw-r--r--media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild77
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.0.1-cflags.patch12
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.2.0-cdrtools.patch21
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.2.1-glib.patch13
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.2.1-libav9.patch44
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg2.patch46
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg26.patch13
-rw-r--r--media-video/bombono-dvd/files/bombono-dvd-boost-1.51.0-fix.patch537
-rw-r--r--media-video/bombono-dvd/metadata.xml13
-rw-r--r--media-video/camorama/Manifest1
-rw-r--r--media-video/camorama/camorama-0.19-r2.ebuild42
-rw-r--r--media-video/camorama/files/camorama-0.19-fixes.patch107
-rw-r--r--media-video/camorama/files/camorama-0.19-gconf.patch40
-rw-r--r--media-video/camorama/files/camorama-0.19-glib-232.patch24
-rw-r--r--media-video/camorama/files/camorama-0.19-libv4l.patch198
-rw-r--r--media-video/camorama/files/camorama-0.19-no-more-videodev_h.patch14
-rw-r--r--media-video/camorama/metadata.xml8
-rw-r--r--media-video/ccextractor/Manifest3
-rw-r--r--media-video/ccextractor/ccextractor-0.59.ebuild30
-rw-r--r--media-video/ccextractor/ccextractor-0.68.ebuild37
-rw-r--r--media-video/ccextractor/ccextractor-0.69.ebuild36
-rw-r--r--media-video/ccextractor/files/ccextractor-0.68-libpng.patch11
-rw-r--r--media-video/ccextractor/metadata.xml11
-rw-r--r--media-video/cclive/Manifest1
-rw-r--r--media-video/cclive/cclive-0.9.3-r1.ebuild33
-rw-r--r--media-video/cclive/files/cclive-0.9.3-iostream.patch80
-rw-r--r--media-video/cclive/metadata.xml12
-rw-r--r--media-video/chaplin/Manifest1
-rw-r--r--media-video/chaplin/chaplin-1.10-r1.ebuild37
-rw-r--r--media-video/chaplin/files/chaplin-1.10-asneeded.patch15
-rw-r--r--media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch11
-rw-r--r--media-video/chaplin/metadata.xml11
-rw-r--r--media-video/cheese/Manifest3
-rw-r--r--media-video/cheese/cheese-3.12.2-r1.ebuild92
-rw-r--r--media-video/cheese/cheese-3.14.2.ebuild86
-rw-r--r--media-video/cheese/cheese-3.16.1.ebuild86
-rw-r--r--media-video/cheese/metadata.xml10
-rw-r--r--media-video/cinelerra/Manifest2
-rw-r--r--media-video/cinelerra/cinelerra-20120707.ebuild103
-rw-r--r--media-video/cinelerra/cinelerra-20140710.ebuild108
-rw-r--r--media-video/cinelerra/files/cinelerra-20140710-ffmpeg-0.11.patch134
-rw-r--r--media-video/cinelerra/files/cinelerra-20140710-underlinking.patch16
-rw-r--r--media-video/cinelerra/files/cinelerra-20140710-validate_desktop_entry.patch14
-rw-r--r--media-video/cinelerra/files/cinelerra-entry.patch14
-rw-r--r--media-video/cinelerra/files/cinelerra-ffmpeg-0.11.patch156
-rw-r--r--media-video/cinelerra/files/cinelerra-ffmpeg.patch76
-rw-r--r--media-video/cinelerra/files/cinelerra-ffmpeg2.patch218
-rw-r--r--media-video/cinelerra/files/cinelerra-libav9.patch93
-rw-r--r--media-video/cinelerra/files/cinelerra-nofindobject.patch16
-rw-r--r--media-video/cinelerra/files/cinelerra-pngtoh.patch15
-rw-r--r--media-video/cinelerra/files/cinelerra-std_and_str_h.patch81
-rw-r--r--media-video/cinelerra/files/cinelerra-underlinking.patch15
-rw-r--r--media-video/cinelerra/metadata.xml5
-rw-r--r--media-video/clive/Manifest1
-rw-r--r--media-video/clive/clive-2.3.0.1.ebuild58
-rw-r--r--media-video/clive/metadata.xml19
-rw-r--r--media-video/coherence/Manifest1
-rw-r--r--media-video/coherence/coherence-0.6.6.2.ebuild43
-rw-r--r--media-video/coherence/files/coherence-init23
-rw-r--r--media-video/coherence/metadata.xml5
-rw-r--r--media-video/coriander/Manifest1
-rw-r--r--media-video/coriander/coriander-2.0.2.ebuild32
-rw-r--r--media-video/coriander/metadata.xml10
-rw-r--r--media-video/cpdvd/Manifest1
-rw-r--r--media-video/cpdvd/cpdvd-1.10-r1.ebuild27
-rw-r--r--media-video/cpdvd/metadata.xml8
-rw-r--r--media-video/cpvts/Manifest1
-rw-r--r--media-video/cpvts/cpvts-1.2.ebuild42
-rw-r--r--media-video/cpvts/files/cpvts-1.2-dvdread.patch11
-rw-r--r--media-video/cpvts/metadata.xml8
-rw-r--r--media-video/cxfe/Manifest1
-rw-r--r--media-video/cxfe/cxfe-0.9.2.ebuild35
-rw-r--r--media-video/cxfe/files/cxfe-0.9.2-asneeded.patch15
-rw-r--r--media-video/cxfe/metadata.xml8
-rw-r--r--media-video/devede/Manifest4
-rw-r--r--media-video/devede/devede-3.16.9.ebuild53
-rw-r--r--media-video/devede/devede-3.21.0.ebuild56
-rw-r--r--media-video/devede/devede-3.22.0.ebuild56
-rw-r--r--media-video/devede/devede-3.23.0.ebuild54
-rw-r--r--media-video/devede/metadata.xml14
-rw-r--r--media-video/dfbsee/Manifest1
-rw-r--r--media-video/dfbsee/dfbsee-0.7.4-r1.ebuild36
-rw-r--r--media-video/dfbsee/files/dfbsee-0.7.4-direcfb-0.9.24.patch21
-rw-r--r--media-video/dfbsee/files/dfbsee-0.7.4-gcc4.patch65
-rw-r--r--media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch43
-rw-r--r--media-video/dfbsee/metadata.xml8
-rw-r--r--media-video/dirac/Manifest1
-rw-r--r--media-video/dirac/dirac-1.0.2-r1.ebuild57
-rw-r--r--media-video/dirac/dirac-1.0.2.ebuild53
-rw-r--r--media-video/dirac/files/dirac-0.5.2-doc.patch59
-rw-r--r--media-video/dirac/metadata.xml11
-rw-r--r--media-video/dv2sub/Manifest1
-rw-r--r--media-video/dv2sub/dv2sub-0.3.ebuild33
-rw-r--r--media-video/dv2sub/metadata.xml17
-rw-r--r--media-video/dvbackup/Manifest1
-rw-r--r--media-video/dvbackup/dvbackup-0.0.4-r1.ebuild53
-rw-r--r--media-video/dvbackup/files/dvbackup-0.0.4-gcc4.diff11
-rw-r--r--media-video/dvbackup/metadata.xml11
-rw-r--r--media-video/dvbsnoop/Manifest1
-rw-r--r--media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild28
-rw-r--r--media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch59
-rw-r--r--media-video/dvbsnoop/metadata.xml8
-rw-r--r--media-video/dvd-slideshow/Manifest3
-rw-r--r--media-video/dvd-slideshow/dvd-slideshow-0.8.4.2.ebuild56
-rw-r--r--media-video/dvd-slideshow/metadata.xml14
-rw-r--r--media-video/dvd9to5/Manifest1
-rw-r--r--media-video/dvd9to5/dvd9to5-0.1.7.ebuild26
-rw-r--r--media-video/dvd9to5/metadata.xml12
-rw-r--r--media-video/dvdauthor/Manifest3
-rw-r--r--media-video/dvdauthor/dvdauthor-0.6.18.ebuild32
-rw-r--r--media-video/dvdauthor/dvdauthor-0.7.0.ebuild41
-rw-r--r--media-video/dvdauthor/dvdauthor-0.7.1.ebuild42
-rw-r--r--media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch19
-rw-r--r--media-video/dvdauthor/files/dvdauthor-0.7.0-libpng15.patch19
-rw-r--r--media-video/dvdauthor/files/dvdauthor-0.7.1-glibc220.patch162
-rw-r--r--media-video/dvdauthor/metadata.xml14
-rw-r--r--media-video/dvdbackup/Manifest2
-rw-r--r--media-video/dvdbackup/dvdbackup-0.4.1.ebuild28
-rw-r--r--media-video/dvdbackup/dvdbackup-0.4.2.ebuild28
-rw-r--r--media-video/dvdbackup/metadata.xml11
-rw-r--r--media-video/dvdimagecmp/Manifest1
-rw-r--r--media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild31
-rw-r--r--media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff23
-rw-r--r--media-video/dvdimagecmp/metadata.xml8
-rw-r--r--media-video/dvdrip/Manifest1
-rw-r--r--media-video/dvdrip/dvdrip-0.98.11-r2.ebuild74
-rw-r--r--media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch28
-rw-r--r--media-video/dvdrip/metadata.xml12
-rw-r--r--media-video/dvdstyler/Manifest2
-rw-r--r--media-video/dvdstyler/dvdstyler-2.7.2.ebuild66
-rw-r--r--media-video/dvdstyler/dvdstyler-2.9.2.ebuild66
-rw-r--r--media-video/dvdstyler/metadata.xml11
-rw-r--r--media-video/dvgrab/Manifest1
-rw-r--r--media-video/dvgrab/dvgrab-3.5.ebuild31
-rw-r--r--media-video/dvgrab/metadata.xml11
-rw-r--r--media-video/emovix/Manifest1
-rw-r--r--media-video/emovix/emovix-0.9.0.ebuild21
-rw-r--r--media-video/emovix/metadata.xml11
-rw-r--r--media-video/episoder/Manifest1
-rw-r--r--media-video/episoder/episoder-0.4.7.ebuild27
-rw-r--r--media-video/episoder/metadata.xml11
-rw-r--r--media-video/ffdiaporama/Manifest8
-rw-r--r--media-video/ffdiaporama/ffdiaporama-1.5.ebuild56
-rw-r--r--media-video/ffdiaporama/ffdiaporama-1.6.ebuild65
-rw-r--r--media-video/ffdiaporama/ffdiaporama-2.0.1.ebuild75
-rw-r--r--media-video/ffdiaporama/ffdiaporama-2.1.ebuild78
-rw-r--r--media-video/ffdiaporama/files/ffdiaporama-1.6-ffmpeg-2.0.patch32
-rw-r--r--media-video/ffdiaporama/files/ffdiaporama-2.0-libav9-deinterlacing.patch26
-rw-r--r--media-video/ffdiaporama/files/ffdiaporama-2.1-ffmpeg-2.4.patch16
-rw-r--r--media-video/ffdiaporama/metadata.xml50
-rw-r--r--media-video/ffmpeg/Manifest3
-rw-r--r--media-video/ffmpeg/ffmpeg-2.6.3.ebuild450
-rw-r--r--media-video/ffmpeg/ffmpeg-2.6.4.ebuild450
-rw-r--r--media-video/ffmpeg/ffmpeg-2.7.2.ebuild450
-rw-r--r--media-video/ffmpeg/ffmpeg-9999.ebuild452
-rw-r--r--media-video/ffmpeg/metadata.xml51
-rw-r--r--media-video/ffmpeg2theora/Manifest1
-rw-r--r--media-video/ffmpeg2theora/ffmpeg2theora-0.29-r1.ebuild51
-rw-r--r--media-video/ffmpeg2theora/ffmpeg2theora-0.29-r2.ebuild52
-rw-r--r--media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-ffmpeg2.patch40
-rw-r--r--media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-swr.patch24
-rw-r--r--media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-underlinking.patch21
-rw-r--r--media-video/ffmpeg2theora/metadata.xml11
-rw-r--r--media-video/ffmpegthumbnailer/Manifest2
-rw-r--r--media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild53
-rw-r--r--media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8.ebuild45
-rw-r--r--media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.0.10-config-summary.patch23
-rw-r--r--media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.0.10-installdirs.patch47
-rw-r--r--media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.0.10-set-locale.patch46
-rw-r--r--media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.0.8-memcpy.patch13
-rw-r--r--media-video/ffmpegthumbnailer/metadata.xml11
-rw-r--r--media-video/flumotion/Manifest2
-rwxr-xr-xmedia-video/flumotion/files/flumotion-init-0.2.017
-rw-r--r--media-video/flumotion/files/flumotion-init-323
-rw-r--r--media-video/flumotion/flumotion-0.10.1.ebuild124
-rw-r--r--media-video/flumotion/flumotion-0.8.1-r1.ebuild124
-rw-r--r--media-video/flumotion/flumotion-0.8.1.ebuild112
-rw-r--r--media-video/flumotion/metadata.xml5
-rw-r--r--media-video/flvstreamer/Manifest1
-rw-r--r--media-video/flvstreamer/flvstreamer-2.1c.ebuild36
-rw-r--r--media-video/flvstreamer/metadata.xml10
-rw-r--r--media-video/frameworks/Manifest1
-rw-r--r--media-video/frameworks/frameworks-0.3.7.ebuild24
-rw-r--r--media-video/frameworks/metadata.xml12
-rw-r--r--media-video/gaupol/Manifest2
-rw-r--r--media-video/gaupol/gaupol-0.19.2-r1.ebuild60
-rw-r--r--media-video/gaupol/gaupol-0.28.2.ebuild50
-rw-r--r--media-video/gaupol/metadata.xml6
-rw-r--r--media-video/get_flash_videos/Manifest1
-rw-r--r--media-video/get_flash_videos/files/get_flash_videos-youtubefix.patch100
-rw-r--r--media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild61
-rw-r--r--media-video/get_flash_videos/get_flash_videos-9999.ebuild52
-rw-r--r--media-video/get_flash_videos/metadata.xml13
-rw-r--r--media-video/gnome-mplayer/Manifest2
-rw-r--r--media-video/gnome-mplayer/gnome-mplayer-1.0.8.ebuild78
-rw-r--r--media-video/gnome-mplayer/gnome-mplayer-1.0.9.ebuild80
-rw-r--r--media-video/gnome-mplayer/metadata.xml12
-rw-r--r--media-video/gnome-subtitles/Manifest2
-rw-r--r--media-video/gnome-subtitles/gnome-subtitles-1.2.ebuild33
-rw-r--r--media-video/gnome-subtitles/gnome-subtitles-1.3.ebuild33
-rw-r--r--media-video/gnome-subtitles/metadata.xml15
-rw-r--r--media-video/gnome-video-effects/Manifest1
-rw-r--r--media-video/gnome-video-effects/gnome-video-effects-0.4.1.ebuild25
-rw-r--r--media-video/gnome-video-effects/metadata.xml7
-rw-r--r--media-video/google2srt/Manifest3
-rw-r--r--media-video/google2srt/files/build.xml85
-rw-r--r--media-video/google2srt/google2srt-0.5.3.ebuild64
-rw-r--r--media-video/google2srt/google2srt-0.5.6.ebuild64
-rw-r--r--media-video/google2srt/metadata.xml17
-rw-r--r--media-video/gpac/Manifest2
-rw-r--r--media-video/gpac/files/110_all_implicitdecls.patch22
-rw-r--r--media-video/gpac/files/210_all_system_libogg.patch28
-rw-r--r--media-video/gpac/files/ffmpeg25.patch43
-rw-r--r--media-video/gpac/files/gpac-0.5.0-build-fixes.patch113
-rw-r--r--media-video/gpac/files/gpac-0.5.0-ffmpeg2.patch28
-rw-r--r--media-video/gpac/files/gpac-0.5.0-libav9.patch93
-rw-r--r--media-video/gpac/files/gpac-0.5.0-mp42ts.patch17
-rw-r--r--media-video/gpac/files/gpac-0.5.0-respect_ldflags.patch45
-rw-r--r--media-video/gpac/files/gpac-0.5.1-build-fixes.patch206
-rw-r--r--media-video/gpac/gpac-0.5.0-r1.ebuild129
-rw-r--r--media-video/gpac/gpac-0.5.1_pre5456.ebuild120
-rw-r--r--media-video/gpac/gpac-9999.ebuild115
-rw-r--r--media-video/gpac/metadata.xml11
-rw-r--r--media-video/griffith/Manifest2
-rw-r--r--media-video/griffith/files/0.10-fix_lib_path.patch13
-rw-r--r--media-video/griffith/files/griffith-0.12.1-sqlalchemy-0.7.patch39
-rw-r--r--media-video/griffith/griffith-0.13-r1.ebuild76
-rw-r--r--media-video/griffith/griffith-0.13.ebuild78
-rw-r--r--media-video/griffith/metadata.xml12
-rw-r--r--media-video/gtk-recordmydesktop/Manifest1
-rw-r--r--media-video/gtk-recordmydesktop/files/gtk-recordmydesktop-0.3.8-check-for-jack.patch36
-rw-r--r--media-video/gtk-recordmydesktop/gtk-recordmydesktop-0.3.8-r3.ebuild40
-rw-r--r--media-video/gtk-recordmydesktop/metadata.xml11
-rw-r--r--media-video/guvcview/Manifest5
-rw-r--r--media-video/guvcview/guvcview-1.6.1.ebuild46
-rw-r--r--media-video/guvcview/guvcview-1.7.1.ebuild46
-rw-r--r--media-video/guvcview/guvcview-1.7.2.ebuild47
-rw-r--r--media-video/guvcview/guvcview-1.7.3.ebuild47
-rw-r--r--media-video/guvcview/guvcview-2.0.1.ebuild50
-rw-r--r--media-video/guvcview/metadata.xml11
-rw-r--r--media-video/gxine/Manifest1
-rw-r--r--media-video/gxine/files/gxine-0.5.905-desktop.patch12
-rw-r--r--media-video/gxine/files/gxine-0.5.905-fix-nspr-useage.patch11
-rw-r--r--media-video/gxine/files/gxine-0.5.906-endif.patch14
-rw-r--r--media-video/gxine/files/gxine-0.5.907-glib-2.31.patch34
-rw-r--r--media-video/gxine/files/gxine-0.5.907-underlinking.patch23
-rw-r--r--media-video/gxine/gxine-0.5.907-r1.ebuild102
-rw-r--r--media-video/gxine/metadata.xml11
-rw-r--r--media-video/h264enc/Manifest2
-rw-r--r--media-video/h264enc/h264enc-9.4.0.ebuild40
-rw-r--r--media-video/h264enc/h264enc-9.4.1.ebuild40
-rw-r--r--media-video/h264enc/metadata.xml14
-rw-r--r--media-video/handbrake/Manifest3
-rw-r--r--media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch11
-rw-r--r--media-video/handbrake/files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch73
-rw-r--r--media-video/handbrake/files/handbrake-0.9.9-remove-faac-dependency.patch203
-rw-r--r--media-video/handbrake/files/handbrake-9999-expand-MK_SUBTITLE_PGS.patch9
-rw-r--r--media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch75
-rw-r--r--media-video/handbrake/files/handbrake-9999-remove-dvdnav-dup.patch20
-rw-r--r--media-video/handbrake/files/handbrake-9999-remove-faac-dependency.patch84
-rw-r--r--media-video/handbrake/files/handbrake-9999-use-older-libmkv.patch14
-rw-r--r--media-video/handbrake/files/handbrake-9999-use-unpatched-a52.patch26
-rw-r--r--media-video/handbrake/handbrake-0.10.0-r1.ebuild148
-rw-r--r--media-video/handbrake/handbrake-0.10.1.ebuild148
-rw-r--r--media-video/handbrake/handbrake-0.9.9-r1.ebuild185
-rw-r--r--media-video/handbrake/handbrake-9999.ebuild148
-rw-r--r--media-video/handbrake/metadata.xml18
-rw-r--r--media-video/hasciicam/Manifest2
-rw-r--r--media-video/hasciicam/hasciicam-1.1.1.ebuild20
-rw-r--r--media-video/hasciicam/hasciicam-1.1.2.ebuild21
-rw-r--r--media-video/hasciicam/metadata.xml8
-rw-r--r--media-video/hwdecode-demos/Manifest1
-rw-r--r--media-video/hwdecode-demos/files/avutil.patch15
-rw-r--r--media-video/hwdecode-demos/files/dl.patch31
-rw-r--r--media-video/hwdecode-demos/files/ffmpeg-1.patch73
-rw-r--r--media-video/hwdecode-demos/files/ffmpeg.patch33
-rw-r--r--media-video/hwdecode-demos/files/libav9.patch42
-rw-r--r--media-video/hwdecode-demos/files/vaapi.patch38
-rw-r--r--media-video/hwdecode-demos/hwdecode-demos-0.9.5.ebuild52
-rw-r--r--media-video/hwdecode-demos/metadata.xml8
-rw-r--r--media-video/imagination/Manifest1
-rw-r--r--media-video/imagination/files/imagination-3.0-cflags.patch34
-rw-r--r--media-video/imagination/imagination-3.0-r1.ebuild44
-rw-r--r--media-video/imagination/imagination-3.0.ebuild34
-rw-r--r--media-video/imagination/metadata.xml13
-rw-r--r--media-video/isight-firmware-tools/Manifest1
-rw-r--r--media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch32
-rw-r--r--media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild60
-rw-r--r--media-video/isight-firmware-tools/metadata.xml10
-rw-r--r--media-video/istanbul/Manifest2
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-desktop-file.patch18
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-dir-overwrite.patch31
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-fix-grab-xid.patch36
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-fix-preview-window.patch23
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-macro-typo.patch21
-rw-r--r--media-video/istanbul/files/istanbul-0.2.2-noalsa.patch17
-rw-r--r--media-video/istanbul/istanbul-0.2.2.1_pre20120909.ebuild88
-rw-r--r--media-video/istanbul/istanbul-0.2.2.ebuild78
-rw-r--r--media-video/istanbul/metadata.xml5
-rw-r--r--media-video/jubler/Manifest1
-rw-r--r--media-video/jubler/files/jubler-4.6.1-ffmpeg-1.patch274
-rw-r--r--media-video/jubler/files/jubler-4.6.1-ffmpeg-2.patch37
-rw-r--r--media-video/jubler/files/jubler-4.6.1-gentoo.patch163
-rw-r--r--media-video/jubler/files/update-4.6.1.xml326
-rw-r--r--media-video/jubler/jubler-4.6.1-r3.ebuild99
-rw-r--r--media-video/jubler/metadata.xml11
-rw-r--r--media-video/kaffeine/Manifest1
-rw-r--r--media-video/kaffeine/files/kaffeine-1.2.2-gcc4.7.patch32
-rw-r--r--media-video/kaffeine/kaffeine-1.2.2-r1.ebuild39
-rw-r--r--media-video/kaffeine/metadata.xml9
-rw-r--r--media-video/kamerka/Manifest1
-rw-r--r--media-video/kamerka/kamerka-0.10.ebuild25
-rw-r--r--media-video/kamerka/metadata.xml5
-rw-r--r--media-video/kdenlive/Manifest2
-rw-r--r--media-video/kdenlive/kdenlive-0.9.10.ebuild40
-rw-r--r--media-video/kdenlive/kdenlive-0.9.8.ebuild40
-rw-r--r--media-video/kdenlive/metadata.xml12
-rw-r--r--media-video/kffmpegthumbnailer/Manifest1
-rw-r--r--media-video/kffmpegthumbnailer/kffmpegthumbnailer-1.1.0-r3.ebuild31
-rw-r--r--media-video/kffmpegthumbnailer/metadata.xml12
-rw-r--r--media-video/kino/Manifest1
-rw-r--r--media-video/kino/files/kino-1.3.4-libav-0.7.patch60
-rw-r--r--media-video/kino/files/kino-1.3.4-libav-0.8.patch57
-rw-r--r--media-video/kino/files/kino-1.3.4-libavcodec-pkg-config.patch11
-rw-r--r--media-video/kino/files/kino-1.3.4-v4l1.patch22
-rw-r--r--media-video/kino/kino-1.3.4.ebuild108
-rw-r--r--media-video/kino/metadata.xml15
-rw-r--r--media-video/kmplayer/Manifest1
-rw-r--r--media-video/kmplayer/files/kmplayer-flash.patch12
-rw-r--r--media-video/kmplayer/kmplayer-0.11.3d-r3.ebuild65
-rw-r--r--media-video/kmplayer/metadata.xml9
-rw-r--r--media-video/kplayer/Manifest1
-rw-r--r--media-video/kplayer/kplayer-0.7.2-r1.ebuild24
-rw-r--r--media-video/kplayer/metadata.xml6
-rw-r--r--media-video/libav/Manifest8
-rw-r--r--media-video/libav/libav-10.5.ebuild324
-rw-r--r--media-video/libav/libav-10.9999.ebuild325
-rw-r--r--media-video/libav/libav-11.3.ebuild344
-rw-r--r--media-video/libav/libav-11.9999.ebuild341
-rw-r--r--media-video/libav/libav-9.14.ebuild323
-rw-r--r--media-video/libav/libav-9.17.ebuild323
-rw-r--r--media-video/libav/libav-9999.ebuild341
-rw-r--r--media-video/libav/metadata.xml38
-rw-r--r--media-video/lives/Manifest1
-rw-r--r--media-video/lives/lives-1.4.6.ebuild78
-rw-r--r--media-video/lives/metadata.xml11
-rw-r--r--media-video/loopy/Manifest1
-rw-r--r--media-video/loopy/loopy-0.5.3.ebuild23
-rw-r--r--media-video/loopy/metadata.xml9
-rw-r--r--media-video/lsdvd/Manifest1
-rw-r--r--media-video/lsdvd/files/lsdvd-0.16-chapter-count.patch25
-rw-r--r--media-video/lsdvd/files/lsdvd-0.16-newline.patch22
-rw-r--r--media-video/lsdvd/files/lsdvd-0.16-title.patch27
-rw-r--r--media-video/lsdvd/files/lsdvd-0.16-types.patch27
-rw-r--r--media-video/lsdvd/files/lsdvd-0.16-usec.patch21
-rw-r--r--media-video/lsdvd/files/lsdvd-0.17-autotools.patch12
-rw-r--r--media-video/lsdvd/lsdvd-0.17.ebuild25
-rw-r--r--media-video/lsdvd/metadata.xml11
-rw-r--r--media-video/luvcview/Manifest2
-rw-r--r--media-video/luvcview/luvcview-0.2.6.ebuild40
-rw-r--r--media-video/luvcview/metadata.xml5
-rw-r--r--media-video/lxdvdrip/Manifest1
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch13
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.76-makefile.patch28
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.77-makefile.patch43
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.77-vamps-makefile.patch11
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.77.ebuild51
-rw-r--r--media-video/lxdvdrip/metadata.xml11
-rw-r--r--media-video/m2vrequantizer/Manifest1
-rw-r--r--media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild37
-rw-r--r--media-video/m2vrequantizer/metadata.xml9
-rw-r--r--media-video/makemkv/Manifest2
-rw-r--r--media-video/makemkv/files/makemkv-makefile.patch18
-rw-r--r--media-video/makemkv/files/makemkv-path.patch13
-rw-r--r--media-video/makemkv/makemkv-1.9.5.ebuild124
-rw-r--r--media-video/makemkv/metadata.xml25
-rw-r--r--media-video/matroxset/Manifest1
-rw-r--r--media-video/matroxset/matroxset-0.4.ebuild45
-rw-r--r--media-video/matroxset/metadata.xml6
-rw-r--r--media-video/maven-poke/Manifest1
-rw-r--r--media-video/maven-poke/maven-poke-0.0.1.ebuild34
-rw-r--r--media-video/maven-poke/metadata.xml6
-rw-r--r--media-video/mediainfo/Manifest3
-rw-r--r--media-video/mediainfo/mediainfo-0.7.65.ebuild70
-rw-r--r--media-video/mediainfo/mediainfo-0.7.72.ebuild70
-rw-r--r--media-video/mediainfo/mediainfo-0.7.73.ebuild70
-rw-r--r--media-video/mediainfo/metadata.xml8
-rw-r--r--media-video/metadata.xml36
-rw-r--r--media-video/minitube/Manifest3
-rw-r--r--media-video/minitube/files/minitube-1.9-gcc47.patch12
-rw-r--r--media-video/minitube/files/minitube-2.0-disable-updates.patch16
-rw-r--r--media-video/minitube/files/minitube-2.1.3-disable-updates.patch13
-rw-r--r--media-video/minitube/files/minitube-2.4-disable-updates.patch13
-rw-r--r--media-video/minitube/metadata.xml16
-rw-r--r--media-video/minitube/minitube-2.0.ebuild60
-rw-r--r--media-video/minitube/minitube-2.3-r1.ebuild77
-rw-r--r--media-video/minitube/minitube-2.4.ebuild92
-rw-r--r--media-video/miro/Manifest3
-rw-r--r--media-video/miro/files/miro-5.0.4-ffmpeg-1.patch78
-rw-r--r--media-video/miro/metadata.xml8
-rw-r--r--media-video/miro/miro-4.0.6.ebuild91
-rw-r--r--media-video/miro/miro-5.0.4.ebuild97
-rw-r--r--media-video/miro/miro-6.0.ebuild96
-rw-r--r--media-video/mjpegtools/Manifest1
-rw-r--r--media-video/mjpegtools/files/mjpegtools-2.1.0-no_format.patch70
-rw-r--r--media-video/mjpegtools/files/mjpegtools-2.1.0-pic.patch69
-rw-r--r--media-video/mjpegtools/files/mjpegtools-2.1.0-sdl-cflags.patch11
-rw-r--r--media-video/mjpegtools/metadata.xml16
-rw-r--r--media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild117
-rw-r--r--media-video/mjpg-streamer/Manifest2
-rw-r--r--media-video/mjpg-streamer/files/0_pre20120421-make-var-instead-of-cmd.patch118
-rw-r--r--media-video/mjpg-streamer/files/0_pre20120621-make-var-instead-of-cmd.patch118
-rw-r--r--media-video/mjpg-streamer/files/mjpg-streamer.confd21
-rw-r--r--media-video/mjpg-streamer/files/mjpg-streamer.initd48
-rw-r--r--media-video/mjpg-streamer/metadata.xml43
-rw-r--r--media-video/mjpg-streamer/mjpg-streamer-0_pre20120421.ebuild72
-rw-r--r--media-video/mjpg-streamer/mjpg-streamer-0_pre20120621.ebuild74
-rw-r--r--media-video/mkclean/Manifest2
-rw-r--r--media-video/mkclean/metadata.xml8
-rw-r--r--media-video/mkclean/mkclean-0.8.6-r1.ebuild40
-rw-r--r--media-video/mkclean/mkclean-0.8.7.ebuild35
-rw-r--r--media-video/mkvalidator/Manifest4
-rw-r--r--media-video/mkvalidator/metadata.xml8
-rw-r--r--media-video/mkvalidator/mkvalidator-0.3.7-r1.ebuild34
-rw-r--r--media-video/mkvalidator/mkvalidator-0.4.0.ebuild38
-rw-r--r--media-video/mkvalidator/mkvalidator-0.4.1.ebuild33
-rw-r--r--media-video/mkvalidator/mkvalidator-0.4.2.ebuild33
-rw-r--r--media-video/mkvtoolnix/Manifest2
-rw-r--r--media-video/mkvtoolnix/files/mkvtoolnix-5.8.0-boost-configure.patch63
-rw-r--r--media-video/mkvtoolnix/files/mkvtoolnix-5.8.0-system-pugixml.patch31
-rw-r--r--media-video/mkvtoolnix/files/mkvtoolnix-6.6.0-boost-1.56.patch52
-rw-r--r--media-video/mkvtoolnix/files/mkvtoolnix-8.2.0-fix-curl-support.patch11
-rw-r--r--media-video/mkvtoolnix/metadata.xml5
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-6.6.0.ebuild89
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-8.2.0-r1.ebuild123
-rw-r--r--media-video/motion/Manifest1
-rw-r--r--media-video/motion/files/ffmpeg-1.patch95
-rw-r--r--media-video/motion/files/ffmpeg-2.patch141
-rw-r--r--media-video/motion/files/ffmpeg-3.patch35
-rw-r--r--media-video/motion/files/ffmpeg-4.patch68
-rw-r--r--media-video/motion/files/ffmpeg-5.patch122
-rw-r--r--media-video/motion/files/libav-9.patch21
-rw-r--r--media-video/motion/files/motion-3.2.12-workaround-v4l1_deprecation.patch35
-rw-r--r--media-video/motion/files/motion.confd4
-rw-r--r--media-video/motion/files/motion.initd-r239
-rw-r--r--media-video/motion/metadata.xml11
-rw-r--r--media-video/motion/motion-3.2.12-r2.ebuild73
-rw-r--r--media-video/motion/motion-3.2.12-r3.ebuild82
-rw-r--r--media-video/motiontrack/Manifest1
-rw-r--r--media-video/motiontrack/metadata.xml11
-rw-r--r--media-video/motiontrack/motiontrack-0.1.3.ebuild78
-rw-r--r--media-video/movit/Manifest5
-rw-r--r--media-video/movit/metadata.xml8
-rw-r--r--media-video/movit/movit-1.1.1.ebuild35
-rw-r--r--media-video/movit/movit-1.1.2.ebuild35
-rw-r--r--media-video/movit/movit-1.1.3.ebuild35
-rw-r--r--media-video/movit/movit-1.1.ebuild34
-rw-r--r--media-video/mpeg-tools/Manifest1
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-64bit_fixes.patch286
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-as-needed.patch47
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-build.patch56
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-jpeg.patch56
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-powerpc.patch20
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-system-jpeg-7.patch26
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-system-jpeg.patch38
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-tempfile-convert.patch169
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-tempfile-mpeg-encode.patch87
-rw-r--r--media-video/mpeg-tools/files/mpeg-tools-1.5b-tempfile-tests.patch204
-rw-r--r--media-video/mpeg-tools/metadata.xml8
-rw-r--r--media-video/mpeg-tools/mpeg-tools-1.5b-r4.ebuild67
-rw-r--r--media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild66
-rw-r--r--media-video/mpeg2vidcodec/Manifest1
-rw-r--r--media-video/mpeg2vidcodec/metadata.xml8
-rw-r--r--media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild36
-rw-r--r--media-video/mpglen/Manifest1
-rw-r--r--media-video/mpglen/metadata.xml8
-rw-r--r--media-video/mpglen/mpglen-0.1.ebuild33
-rw-r--r--media-video/mpgtx/Manifest1
-rw-r--r--media-video/mpgtx/files/mpgtx-1.3.1-configure.patch69
-rw-r--r--media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch11
-rw-r--r--media-video/mpgtx/metadata.xml11
-rw-r--r--media-video/mpgtx/mpgtx-1.3.1-r2.ebuild48
-rw-r--r--media-video/mplay-sh/Manifest1
-rw-r--r--media-video/mplay-sh/metadata.xml10
-rw-r--r--media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild46
-rw-r--r--media-video/mplayer-resume/Manifest1
-rw-r--r--media-video/mplayer-resume/metadata.xml5
-rw-r--r--media-video/mplayer-resume/mplayer-resume-2.0.ebuild38
-rw-r--r--media-video/mplayer-sh/Manifest2
-rw-r--r--media-video/mplayer-sh/files/mplayer-sh-0.8.6-parameter-aid.diff84
-rw-r--r--media-video/mplayer-sh/files/mplayer-sh-0.8.7-parameter-aid.diff84
-rw-r--r--media-video/mplayer-sh/metadata.xml12
-rw-r--r--media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild43
-rw-r--r--media-video/mplayer-sh/mplayer-sh-0.8.7.ebuild43
-rw-r--r--media-video/mplayer/Manifest8
-rwxr-xr-xmedia-video/mplayer/files/dump_ffmpeg.sh74
-rw-r--r--media-video/mplayer/files/mplayer-1.0_rc4-pkg-config.patch74
-rw-r--r--media-video/mplayer/files/mplayer-1.1-codecid.patch19
-rw-r--r--media-video/mplayer/files/mplayer-1.1-ffmpeg.patch34
-rw-r--r--media-video/mplayer/files/mplayer-1.1-libav-0.8.patch21
-rw-r--r--media-video/mplayer/files/mplayer-1.1-libav-9.patch488
-rw-r--r--media-video/mplayer/files/mplayer-1.1-missingbreak.patch18
-rw-r--r--media-video/mplayer/files/mplayer-1.1-planaraudio.patch138
-rw-r--r--media-video/mplayer/files/mplayer-1.1.1-avcodecidsubrip.patch17
-rw-r--r--media-video/mplayer/files/mplayer-1.1.1-codecidsubrip.patch17
-rw-r--r--media-video/mplayer/files/mplayer-1.2_pre20130729-compat.patch62
-rw-r--r--media-video/mplayer/files/mplayer-1.2_pre20150214-pulseaudio-6.0.patch33
-rw-r--r--media-video/mplayer/files/prepare_mplayer.sh25
-rw-r--r--media-video/mplayer/metadata.xml41
-rw-r--r--media-video/mplayer/mplayer-1.1.1-r1.ebuild658
-rw-r--r--media-video/mplayer/mplayer-1.2_pre20130729.ebuild633
-rw-r--r--media-video/mplayer/mplayer-1.2_pre20141011.ebuild631
-rw-r--r--media-video/mplayer/mplayer-1.2_pre20150214-r1.ebuild633
-rw-r--r--media-video/mplayer/mplayer-1.2_pre20150214.ebuild628
-rw-r--r--media-video/mplayer/mplayer-1.2_pre20150730.ebuild633
-rw-r--r--media-video/mplayer/mplayer-9999.ebuild628
-rw-r--r--media-video/mpv/Manifest5
-rw-r--r--media-video/mpv/files/mpv-0.3.11-libav-9.patch12
-rw-r--r--media-video/mpv/metadata.xml45
-rw-r--r--media-video/mpv/mpv-0.3.10.ebuild257
-rw-r--r--media-video/mpv/mpv-0.8.3-r1.ebuild254
-rw-r--r--media-video/mpv/mpv-0.9.2-r1.ebuild265
-rw-r--r--media-video/mpv/mpv-9999.ebuild265
-rw-r--r--media-video/noad/Manifest2
-rw-r--r--media-video/noad/files/confd_vdraddon.noad72
-rw-r--r--media-video/noad/files/noad-reccmd7
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.3-ffmpeg_detection.diff13
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.3-hangcheck.diff21
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.3_gcc-4.7.diff17
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.3_missing_include.diff14
-rw-r--r--media-video/noad/files/patches-0.8.x/noad-0.8.6-ffmpeg25.patch16
-rw-r--r--media-video/noad/files/patches-0.8.x/noad-0.8.6-libav9.diff106
-rw-r--r--media-video/noad/files/pre-shutdown-15-noad.sh41
-rw-r--r--media-video/noad/files/reccmds.noad.conf1
-rw-r--r--media-video/noad/files/record-50-noad.sh67
-rw-r--r--media-video/noad/metadata.xml15
-rw-r--r--media-video/noad/noad-0.7.3-r1.ebuild89
-rw-r--r--media-video/noad/noad-0.7.3.ebuild88
-rw-r--r--media-video/noad/noad-0.8.6-r1.ebuild81
-rw-r--r--media-video/noad/noad-0.8.6.ebuild78
-rw-r--r--media-video/nvidia-settings/Manifest3
-rw-r--r--media-video/nvidia-settings/files/nvidia-settings-319.12-jansson.patch94
-rw-r--r--media-video/nvidia-settings/metadata.xml8
-rw-r--r--media-video/nvidia-settings/nvidia-settings-331.20.ebuild82
-rw-r--r--media-video/nvidia-settings/nvidia-settings-340.58.ebuild77
-rw-r--r--media-video/nvidia-settings/nvidia-settings-343.22.ebuild77
-rw-r--r--media-video/ogmrip/Manifest1
-rw-r--r--media-video/ogmrip/metadata.xml19
-rw-r--r--media-video/ogmrip/ogmrip-1.0.1.ebuild83
-rw-r--r--media-video/openshot/Manifest1
-rw-r--r--media-video/openshot/metadata.xml11
-rw-r--r--media-video/openshot/openshot-1.4.3.ebuild61
-rw-r--r--media-video/oxine/Manifest1
-rw-r--r--media-video/oxine/metadata.xml11
-rw-r--r--media-video/oxine/oxine-0.7.1-r1.ebuild67
-rw-r--r--media-video/parole/Manifest4
-rw-r--r--media-video/parole/metadata.xml11
-rw-r--r--media-video/parole/parole-0.5.4.ebuild45
-rw-r--r--media-video/parole/parole-0.6.1.ebuild46
-rw-r--r--media-video/parole/parole-0.7.0.ebuild51
-rw-r--r--media-video/parole/parole-0.8.0-r1.ebuild51
-rw-r--r--media-video/pgcedit/Manifest3
-rw-r--r--media-video/pgcedit/files/pgcedit-0.8.6-config-paths.patch26
-rw-r--r--media-video/pgcedit/metadata.xml10
-rw-r--r--media-video/pgcedit/pgcedit-0.8.6.ebuild54
-rw-r--r--media-video/pgmfindclip/Manifest1
-rw-r--r--media-video/pgmfindclip/metadata.xml8
-rw-r--r--media-video/pgmfindclip/pgmfindclip-1.13.ebuild31
-rw-r--r--media-video/photofilmstrip/Manifest1
-rw-r--r--media-video/photofilmstrip/files/photofilmstrip-1.9.91-PIL_modules_imports_fix.patch103
-rw-r--r--media-video/photofilmstrip/metadata.xml20
-rw-r--r--media-video/photofilmstrip/photofilmstrip-1.9.91-r1.ebuild53
-rw-r--r--media-video/pitivi/Manifest1
-rw-r--r--media-video/pitivi/files/pitivi-0.94-unittest.patch14
-rw-r--r--media-video/pitivi/metadata.xml6
-rw-r--r--media-video/pitivi/pitivi-0.94.ebuild90
-rw-r--r--media-video/plasma-mediacenter/Manifest1
-rw-r--r--media-video/plasma-mediacenter/metadata.xml8
-rw-r--r--media-video/plasma-mediacenter/plasma-mediacenter-1.3.0.ebuild53
-rw-r--r--media-video/projectx/Manifest4
-rw-r--r--media-video/projectx/files/build-0.90.4.00_p33.xml77
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-bl2.patch15
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch37
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch11
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch44
-rw-r--r--media-video/projectx/metadata.xml15
-rw-r--r--media-video/projectx/projectx-0.91.0.10.ebuild127
-rw-r--r--media-video/pymp/Manifest1
-rw-r--r--media-video/pymp/metadata.xml8
-rw-r--r--media-video/pymp/pymp-1.1.ebuild48
-rw-r--r--media-video/qgifer/Manifest1
-rw-r--r--media-video/qgifer/files/qgifer-0.2.1-desktop.patch13
-rw-r--r--media-video/qgifer/metadata.xml19
-rw-r--r--media-video/qgifer/qgifer-0.2.1.ebuild39
-rw-r--r--media-video/qt-recordmydesktop/Manifest1
-rw-r--r--media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-check-for-jack.patch32
-rw-r--r--media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-desktopfile.patch18
-rw-r--r--media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-pyqt4.patch14
-rw-r--r--media-video/qt-recordmydesktop/metadata.xml9
-rw-r--r--media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r2.ebuild59
-rw-r--r--media-video/qx11grab/Manifest2
-rw-r--r--media-video/qx11grab/metadata.xml5
-rw-r--r--media-video/qx11grab/qx11grab-0.4.10-r1.ebuild55
-rw-r--r--media-video/qx11grab/qx11grab-0.4.12.ebuild55
-rw-r--r--media-video/recmpeg/Manifest1
-rw-r--r--media-video/recmpeg/metadata.xml11
-rw-r--r--media-video/recmpeg/recmpeg-1.0.5.ebuild29
-rw-r--r--media-video/recordmydesktop/Manifest1
-rw-r--r--media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch14
-rw-r--r--media-video/recordmydesktop/files/0.3.8.1-fix_new_theora.patch48
-rw-r--r--media-video/recordmydesktop/metadata.xml11
-rw-r--r--media-video/recordmydesktop/recordmydesktop-0.3.8.1-r4.ebuild58
-rw-r--r--media-video/replex/Manifest2
-rw-r--r--media-video/replex/metadata.xml8
-rw-r--r--media-video/replex/replex-0.1.4.ebuild23
-rw-r--r--media-video/replex/replex-0.1.6.8.ebuild24
-rw-r--r--media-video/rovclock/Manifest1
-rw-r--r--media-video/rovclock/files/rovclock-0.6e-ldflags.patch13
-rw-r--r--media-video/rovclock/metadata.xml12
-rw-r--r--media-video/rovclock/rovclock-0.6e.ebuild28
-rw-r--r--media-video/rtmpdump/Manifest1
-rw-r--r--media-video/rtmpdump/metadata.xml15
-rw-r--r--media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild79
-rw-r--r--media-video/rtmpdump/rtmpdump-9999.ebuild73
-rw-r--r--media-video/setpwc/Manifest1
-rw-r--r--media-video/setpwc/metadata.xml5
-rw-r--r--media-video/setpwc/setpwc-1.3.ebuild33
-rw-r--r--media-video/shrip/Manifest1
-rw-r--r--media-video/shrip/metadata.xml15
-rw-r--r--media-video/shrip/shrip-0.6.0.ebuild41
-rw-r--r--media-video/smplayer/Manifest5
-rw-r--r--media-video/smplayer/files/smplayer-14.9.0-zero-bidi.patch27
-rw-r--r--media-video/smplayer/files/smplayer-14.9.0.6690-zero-bidi.patch13
-rw-r--r--media-video/smplayer/files/smplayer-14.9.0.6966-unbundle-qtsingleapplication.patch15
-rw-r--r--media-video/smplayer/metadata.xml22
-rw-r--r--media-video/smplayer/smplayer-14.3.0.ebuild76
-rw-r--r--media-video/smplayer/smplayer-14.9.0-r1.ebuild85
-rw-r--r--media-video/smplayer/smplayer-14.9.0.6690-r3.ebuild109
-rw-r--r--media-video/smplayer/smplayer-14.9.0.6966-r2.ebuild120
-rw-r--r--media-video/smplayer/smplayer-14.9.0.6994.ebuild120
-rw-r--r--media-video/snappy/Manifest1
-rw-r--r--media-video/snappy/metadata.xml8
-rw-r--r--media-video/snappy/snappy-1.0.ebuild40
-rw-r--r--media-video/sonic-snap/Manifest1
-rw-r--r--media-video/sonic-snap/metadata.xml6
-rw-r--r--media-video/sonic-snap/sonic-snap-1.7.ebuild66
-rw-r--r--media-video/sswf/Manifest4
-rw-r--r--media-video/sswf/metadata.xml11
-rw-r--r--media-video/sswf/sswf-1.8.2-r1.ebuild43
-rw-r--r--media-video/sswf/sswf-1.8.4-r1.ebuild43
-rw-r--r--media-video/stk11xx/Manifest1
-rw-r--r--media-video/stk11xx/files/stk11xx-2.6.37.patch16
-rw-r--r--media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff15
-rw-r--r--media-video/stk11xx/metadata.xml7
-rw-r--r--media-video/stk11xx/stk11xx-2.1.0_p104.ebuild29
-rw-r--r--media-video/stk11xx/stk11xx-9999.ebuild43
-rw-r--r--media-video/streamdvd/Manifest1
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4-gcc41.patch13
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4-gcc43.patch44
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4-gcc44.patch24
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4-libdvdread.patch36
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4-makefile.patch27
-rw-r--r--media-video/streamdvd/files/streamdvd-0.4.patch22
-rw-r--r--media-video/streamdvd/metadata.xml15
-rw-r--r--media-video/streamdvd/streamdvd-0.4-r1.ebuild59
-rw-r--r--media-video/sub2srt/Manifest1
-rw-r--r--media-video/sub2srt/metadata.xml8
-rw-r--r--media-video/sub2srt/sub2srt-0.5.3.ebuild19
-rw-r--r--media-video/subcheck/Manifest1
-rw-r--r--media-video/subcheck/metadata.xml14
-rw-r--r--media-video/subcheck/subcheck-0.78.2.ebuild36
-rw-r--r--media-video/subdl/Manifest1
-rw-r--r--media-video/subdl/metadata.xml11
-rw-r--r--media-video/subdl/subdl-1.0.3.ebuild33
-rw-r--r--media-video/subdownloader/Manifest1
-rw-r--r--media-video/subdownloader/metadata.xml20
-rw-r--r--media-video/subdownloader/subdownloader-2.0.18-r1.ebuild36
-rw-r--r--media-video/subdownloader/subdownloader-2.0.18.ebuild44
-rw-r--r--media-video/subliminal/Manifest1
-rw-r--r--media-video/subliminal/metadata.xml13
-rw-r--r--media-video/subliminal/subliminal-0.7.4.ebuild41
-rw-r--r--media-video/subliminal/subliminal-9999.ebuild39
-rw-r--r--media-video/submux-dvd/Manifest1
-rw-r--r--media-video/submux-dvd/files/submux-dvd-0.5.patch11
-rw-r--r--media-video/submux-dvd/metadata.xml8
-rw-r--r--media-video/submux-dvd/submux-dvd-0.5.2.ebuild28
-rw-r--r--media-video/subotage/Manifest1
-rw-r--r--media-video/subotage/metadata.xml11
-rw-r--r--media-video/subotage/subotage-0.15.ebuild22
-rw-r--r--media-video/subsync/Manifest1
-rw-r--r--media-video/subsync/metadata.xml12
-rw-r--r--media-video/subsync/subsync-0.0.1.ebuild24
-rw-r--r--media-video/subtitlecomposer/Manifest1
-rw-r--r--media-video/subtitlecomposer/metadata.xml9
-rw-r--r--media-video/subtitlecomposer/subtitlecomposer-0.5.6.ebuild46
-rw-r--r--media-video/subtitleeditor/Manifest1
-rw-r--r--media-video/subtitleeditor/files/subtitleeditor-0.41.0-keyframe-generation.patch30
-rw-r--r--media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch27
-rw-r--r--media-video/subtitleeditor/files/subtitleeditor-0.41.0-textoverlay.patch16
-rw-r--r--media-video/subtitleeditor/metadata.xml13
-rw-r--r--media-video/subtitleeditor/subtitleeditor-0.41.1-r1.ebuild72
-rw-r--r--media-video/subtitler-yuv/Manifest1
-rw-r--r--media-video/subtitler-yuv/metadata.xml8
-rw-r--r--media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild42
-rw-r--r--media-video/subtitleripper/Manifest1
-rw-r--r--media-video/subtitleripper/files/subtitleripper-0.3.4-glibc210.patch21
-rw-r--r--media-video/subtitleripper/files/subtitleripper-0.3.4-libpng.patch25
-rw-r--r--media-video/subtitleripper/files/subtitleripper-0.3.4-linkingorder.patch28
-rw-r--r--media-video/subtitleripper/files/subtitleripper-0.3.4-respect-ldflags.patch28
-rw-r--r--media-video/subtitleripper/metadata.xml8
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4-r4.ebuild50
-rw-r--r--media-video/super_demux/Manifest1
-rw-r--r--media-video/super_demux/files/super_demux-0.3.diff12
-rw-r--r--media-video/super_demux/metadata.xml8
-rw-r--r--media-video/super_demux/super_demux-0.3.ebuild31
-rw-r--r--media-video/tcmplex-panteltje/Manifest1
-rw-r--r--media-video/tcmplex-panteltje/metadata.xml12
-rw-r--r--media-video/tcmplex-panteltje/tcmplex-panteltje-0.4.7.ebuild27
-rw-r--r--media-video/tivodecode/Manifest1
-rw-r--r--media-video/tivodecode/metadata.xml12
-rw-r--r--media-video/tivodecode/tivodecode-0.2_pre4.ebuild25
-rw-r--r--media-video/totem/Manifest3
-rw-r--r--media-video/totem/metadata.xml17
-rw-r--r--media-video/totem/totem-3.14.3.ebuild141
-rw-r--r--media-video/totem/totem-3.16.1.ebuild133
-rw-r--r--media-video/totem/totem-3.16.2.ebuild132
-rw-r--r--media-video/tovid/Manifest3
-rw-r--r--media-video/tovid/metadata.xml9
-rw-r--r--media-video/tovid/tovid-0.34.ebuild60
-rw-r--r--media-video/tovid/tovid-0.34_p20120123.ebuild64
-rw-r--r--media-video/tovid/tovid-0.35.2.ebuild67
-rw-r--r--media-video/transcode/Manifest1
-rw-r--r--media-video/transcode/files/transcode-1.1.7-ffmpeg-0.10.patch15
-rw-r--r--media-video/transcode/files/transcode-1.1.7-ffmpeg-0.11.patch303
-rw-r--r--media-video/transcode/files/transcode-1.1.7-ffmpeg.patch51
-rw-r--r--media-video/transcode/files/transcode-1.1.7-ffmpeg2.patch557
-rw-r--r--media-video/transcode/files/transcode-1.1.7-ffmpeg24.patch18
-rw-r--r--media-video/transcode/files/transcode-1.1.7-freetype251.patch12
-rw-r--r--media-video/transcode/files/transcode-1.1.7-libav-10.patch36
-rw-r--r--media-video/transcode/files/transcode-1.1.7-libav-9.patch31
-rw-r--r--media-video/transcode/files/transcode-1.1.7-preset-force.patch28
-rw-r--r--media-video/transcode/files/transcode-1.1.7-preset-free.patch34
-rw-r--r--media-video/transcode/metadata.xml17
-rw-r--r--media-video/transcode/transcode-1.1.7-r1.ebuild117
-rw-r--r--media-video/transcode/transcode-1.1.7-r2.ebuild118
-rw-r--r--media-video/transcode/transcode-1.1.7-r3.ebuild123
-rw-r--r--media-video/tsmuxer/Manifest2
-rw-r--r--media-video/tsmuxer/metadata.xml14
-rw-r--r--media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild78
-rw-r--r--media-video/ttcut/Manifest1
-rw-r--r--media-video/ttcut/files/ttcut-0.19.6-deprecated.patch376
-rw-r--r--media-video/ttcut/files/ttcut-0.19.6-ffmpeg-vf-setdar.patch184
-rw-r--r--media-video/ttcut/files/ttcut-0.19.6-no_implicit_GLU.patch24
-rw-r--r--media-video/ttcut/files/ttcut-0.19.6-ntsc-fps.patch99
-rw-r--r--media-video/ttcut/files/ttcut.desktop13
-rw-r--r--media-video/ttcut/metadata.xml19
-rw-r--r--media-video/ttcut/ttcut-0.19.6-r3.ebuild42
-rw-r--r--media-video/ushare/Manifest1
-rw-r--r--media-video/ushare/files/01_all_ushare_build_system.patch170
-rw-r--r--media-video/ushare/files/02_all_ushare_build_warnings.patch35
-rw-r--r--media-video/ushare/files/03_all_ushare_mp4_video_mime.patch20
-rw-r--r--media-video/ushare/files/04_all_ushare_upnp_build_fix.patch156
-rw-r--r--media-video/ushare/files/05_all_missing_headers.patch59
-rw-r--r--media-video/ushare/files/06_all_ushare_disable_sysconf.patch20
-rw-r--r--media-video/ushare/files/07_all_drop_optimizations.patch20
-rw-r--r--media-video/ushare/files/ushare.conf.d38
-rw-r--r--media-video/ushare/files/ushare.init.d79
-rw-r--r--media-video/ushare/files/ushare.init.d.ng36
-rw-r--r--media-video/ushare/files/ushare.service11
-rw-r--r--media-video/ushare/metadata.xml11
-rw-r--r--media-video/ushare/ushare-1.1a-r5.ebuild56
-rw-r--r--media-video/ushare/ushare-1.1a-r6.ebuild64
-rw-r--r--media-video/v4l2loopback/Manifest5
-rw-r--r--media-video/v4l2loopback/metadata.xml10
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.4.0.ebuild25
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.4.1.ebuild25
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.6.1.ebuild23
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild43
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.6.3.ebuild23
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.8.0.ebuild43
-rw-r--r--media-video/vamps/Manifest1
-rw-r--r--media-video/vamps/files/vamps-0.99.2-premature-eof.patch46
-rw-r--r--media-video/vamps/metadata.xml11
-rw-r--r--media-video/vamps/vamps-0.99.2-r1.ebuild31
-rw-r--r--media-video/vamps/vamps-0.99.2.ebuild26
-rw-r--r--media-video/vcdgear/Manifest1
-rw-r--r--media-video/vcdgear/metadata.xml8
-rw-r--r--media-video/vcdgear/vcdgear-1.76-r2.ebuild32
-rw-r--r--media-video/vcdimager/Manifest1
-rw-r--r--media-video/vcdimager/metadata.xml8
-rw-r--r--media-video/vcdimager/vcdimager-0.7.24.ebuild53
-rw-r--r--media-video/vdr/Manifest5
-rw-r--r--media-video/vdr/files/channel_alternative.conf11
-rw-r--r--media-video/vdr/files/vdr-2.0.6-r2_gentoo.patch73
-rw-r--r--media-video/vdr/files/vdr-2.0.6_gentoo.patch68
-rw-r--r--media-video/vdr/files/vdr-2.0.7_systemd_argsdir.patch438
-rw-r--r--media-video/vdr/files/vdr-2.0.7_systemd_argsdir_vanilla.patch438
-rw-r--r--media-video/vdr/files/vdr-2.2.0_gentoo.patch70
-rw-r--r--media-video/vdr/metadata.xml33
-rw-r--r--media-video/vdr/vdr-2.0.6-r1.ebuild278
-rw-r--r--media-video/vdr/vdr-2.0.7.ebuild289
-rw-r--r--media-video/vdr/vdr-2.2.0.ebuild292
-rw-r--r--media-video/vdr2jpeg/Manifest2
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.1.0-gcc43.patch38
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.1.9-ffmpeg.patch326
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.1.9-ffmpeg1.patch238
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.1.9-libav9.patch54
-rw-r--r--media-video/vdr2jpeg/metadata.xml13
-rw-r--r--media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild44
-rw-r--r--media-video/vdr2jpeg/vdr2jpeg-0.2.0.ebuild46
-rw-r--r--media-video/vdrsync/Manifest1
-rw-r--r--media-video/vdrsync/files/vdrsync-0.1.3_pre050322-path.diff39
-rw-r--r--media-video/vdrsync/metadata.xml10
-rw-r--r--media-video/vdrsync/vdrsync-0.1.3_pre050322-r1.ebuild51
-rw-r--r--media-video/vdrtools-genindex/Manifest1
-rw-r--r--media-video/vdrtools-genindex/files/ldflags.diff12
-rw-r--r--media-video/vdrtools-genindex/metadata.xml11
-rw-r--r--media-video/vdrtools-genindex/vdrtools-genindex-0.1.3-r1.ebuild31
-rw-r--r--media-video/videocut/Manifest1
-rw-r--r--media-video/videocut/files/01-fix-hardened-ftbfs.diff16
-rw-r--r--media-video/videocut/files/videocut3
-rw-r--r--media-video/videocut/metadata.xml12
-rw-r--r--media-video/videocut/videocut-0.2.0.ebuild41
-rw-r--r--media-video/videotrans/Manifest1
-rw-r--r--media-video/videotrans/metadata.xml14
-rw-r--r--media-video/videotrans/videotrans-1.6.1.ebuild36
-rw-r--r--media-video/vlc/Manifest3
-rw-r--r--media-video/vlc/files/opencv-3.0.0.patch12
-rw-r--r--media-video/vlc/files/qt4-select.patch51
-rw-r--r--media-video/vlc/files/vlc-2.1-mem_undefined_functions.patch14
-rw-r--r--media-video/vlc/files/vlc-2.1.0-TomWij-bisected-PA-broken-underflow.patch23
-rw-r--r--media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch11
-rw-r--r--media-video/vlc/files/vlc-2.1.0-libva-1.2.1-compat.patch12
-rw-r--r--media-video/vlc/files/vlc-2.1.0-newer-rdp.patch47
-rw-r--r--media-video/vlc/files/vlc-2.2.0-fix-xcb.patch16
-rw-r--r--media-video/vlc/files/vlc-2.2.0-rdp-1.2.0.patch23
-rw-r--r--media-video/vlc/files/vlc-2.2.0-xcb_vdpau.patch15
-rw-r--r--media-video/vlc/files/vlc-9999-libva-1.2.1-compat.patch12
-rw-r--r--media-video/vlc/metadata.xml78
-rw-r--r--media-video/vlc/vlc-2.1.5-r1.ebuild480
-rw-r--r--media-video/vlc/vlc-2.1.9999.ebuild474
-rw-r--r--media-video/vlc/vlc-2.2.0.ebuild495
-rw-r--r--media-video/vlc/vlc-2.2.1.ebuild502
-rw-r--r--media-video/vlc/vlc-2.2.9999.ebuild484
-rw-r--r--media-video/vlc/vlc-9999.ebuild485
-rw-r--r--media-video/vmaid/Manifest1
-rw-r--r--media-video/vmaid/metadata.xml11
-rw-r--r--media-video/vmaid/vmaid-2.2.4.ebuild36
-rw-r--r--media-video/vobcopy/Manifest1
-rw-r--r--media-video/vobcopy/metadata.xml5
-rw-r--r--media-video/vobcopy/vobcopy-1.2.0.ebuild30
-rw-r--r--media-video/vstrip/Manifest1
-rw-r--r--media-video/vstrip/files/vstrip-0.8f-gentoo.patch63
-rw-r--r--media-video/vstrip/metadata.xml12
-rw-r--r--media-video/vstrip/vstrip-0.8f.ebuild39
-rw-r--r--media-video/winki/Manifest1
-rw-r--r--media-video/winki/metadata.xml11
-rw-r--r--media-video/winki/winki-0.4.5-r1.ebuild34
-rw-r--r--media-video/winki/winki-0.4.5.ebuild33
-rw-r--r--media-video/x264-encoder/Manifest1
-rw-r--r--media-video/x264-encoder/metadata.xml14
-rw-r--r--media-video/x264-encoder/x264-encoder-0.0.20140308.ebuild71
-rw-r--r--media-video/x264-encoder/x264-encoder-9999.ebuild71
-rw-r--r--media-video/xanim-export/Manifest10
-rw-r--r--media-video/xanim-export/files/2.80.1-gentoo.patch88
-rw-r--r--media-video/xanim-export/files/2.80.1-implicit_funcs.patch33
-rw-r--r--media-video/xanim-export/files/2.80.1-makefile.patch33
-rw-r--r--media-video/xanim-export/metadata.xml8
-rw-r--r--media-video/xanim-export/xanim-export-2.80.1-r5.ebuild110
-rw-r--r--media-video/xanim/Manifest13
-rw-r--r--media-video/xanim/files/xanim-2.80.1-freebsd.patch14
-rw-r--r--media-video/xanim/files/xanim-2.80.1-gcc41.patch71
-rw-r--r--media-video/xanim/metadata.xml8
-rw-r--r--media-video/xanim/xanim-2.80.1-r4.ebuild129
-rw-r--r--media-video/xine-ui/Manifest3
-rw-r--r--media-video/xine-ui/files/xine-ui-0.99.8-readline-6.3.patch33
-rw-r--r--media-video/xine-ui/metadata.xml14
-rw-r--r--media-video/xine-ui/xine-ui-0.99.7.ebuild94
-rw-r--r--media-video/xine-ui/xine-ui-0.99.8.ebuild94
-rw-r--r--media-video/xine-ui/xine-ui-0.99.9.ebuild93
-rw-r--r--media-video/xvattr/Manifest1
-rw-r--r--media-video/xvattr/files/xvattr-1.3-gtk.patch44
-rw-r--r--media-video/xvattr/files/xvattr-1.3-pod-encoding.patch11
-rw-r--r--media-video/xvattr/metadata.xml8
-rw-r--r--media-video/xvattr/xvattr-1.3-r3.ebuild39
-rw-r--r--media-video/xvid4conf/Manifest1
-rw-r--r--media-video/xvid4conf/metadata.xml8
-rw-r--r--media-video/xvid4conf/xvid4conf-1.12.ebuild25
-rw-r--r--media-video/xvideoservicethief/Manifest1
-rw-r--r--media-video/xvideoservicethief/files/xvideoservicethief-2.4.1-gcc47.patch16
-rw-r--r--media-video/xvideoservicethief/files/xvideoservicethief-2.4.1-youtube-api.patch205
-rw-r--r--media-video/xvideoservicethief/metadata.xml13
-rw-r--r--media-video/xvideoservicethief/xvideoservicethief-2.4.1-r2.ebuild83
1003 files changed, 50811 insertions, 0 deletions
diff --git a/media-video/2mandvd/2mandvd-1.8.5.ebuild b/media-video/2mandvd/2mandvd-1.8.5.ebuild
new file mode 100644
index 00000000000..28f393162b0
--- /dev/null
+++ b/media-video/2mandvd/2mandvd-1.8.5.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+LANGS="cs de en it ru"
+
+inherit qt4-r2
+
+MY_PN="2ManDVD"
+
+DESCRIPTION="The successor of ManDVD"
+HOMEPAGE="http://kde-apps.org/content/show.php?content=99450"
+SRC_URI="http://download.tuxfamily.org/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug libav"
+
+DEPEND="libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:0= )
+ media-libs/libsdl
+ virtual/glu
+ virtual/opengl
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+"
+RDEPEND="${DEPEND}
+ || ( app-cdr/cdrkit app-cdr/cdrtools )
+ dev-lang/perl
+ media-fonts/dejavu
+ media-gfx/exif
+ media-libs/netpbm
+ media-sound/sox
+ media-video/dvdauthor
+ media-video/ffmpegthumbnailer
+ media-video/mjpegtools
+ media-video/mplayer[encode]
+"
+
+S=${WORKDIR}/${MY_PN}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.7.3-libav.patch"
+ "${FILESDIR}/${PN}-1.8.5-libavformat54.patch"
+)
+
+src_prepare() {
+ # Clean backup files
+ find . -name "*~" -delete || die
+
+ # Delete useless chmod that violates the sandbox
+ sed -i -e '/chmod/d' ${MY_PN}.pro || die
+
+ # Fix desktop file
+ sed -i -e '/^Categories=/s/GNOME;AudioVideo;//' ${MY_PN}.desktop || die
+
+ qt4-r2_src_prepare
+}
+
+pkg_postinst() {
+ elog "You may wish to install media-video/xine-ui and/or build"
+ elog "media-sound/sox with USE=mad for improved media handling support."
+}
diff --git a/media-video/2mandvd/Manifest b/media-video/2mandvd/Manifest
new file mode 100644
index 00000000000..78233568b9f
--- /dev/null
+++ b/media-video/2mandvd/Manifest
@@ -0,0 +1 @@
+DIST 2ManDVD-1.8.5.tar.gz 29525071 SHA256 19c3c02123684220e77b3baa12f37b6feb5ecb523c504c65d306c75136191873 SHA512 1e43034cab310ce0a642afdfcb2b4ddbc47b16b0f353adebd1fd2ec5f8445add41226390c6656e7cb520d9900e1b482adee7adb6f784d2fbfbaff2334feb3284 WHIRLPOOL 1a5b8e148fbfb2d7e67e18f64f15f560fe421e0f32d7f416ceea30a4b318f5078506d755df487be83032a7eb3279ced716a4122c215d5aed1bf69816f3a53f9f
diff --git a/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch b/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch
new file mode 100644
index 00000000000..59dfd1e33a1
--- /dev/null
+++ b/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch
@@ -0,0 +1,10 @@
+--- videowrapper.h
++++ videowrapper.h
+@@ -11,6 +11,7 @@
+ #include <libavutil/common.h>
+ #include <libavcodec/avcodec.h>
+ #include <libavformat/avformat.h>
++ #include <libavutil/mathematics.h>
+ #include <libswscale/swscale.h>
+ }
+
diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch b/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch
new file mode 100644
index 00000000000..89ecc4d23c6
--- /dev/null
+++ b/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch
@@ -0,0 +1,27 @@
+diff --git a/videowrapper.cpp b/videowrapper.cpp
+index 7ae4ad3..d50599b 100644
+--- a/videowrapper.cpp
++++ b/videowrapper.cpp
+@@ -38,7 +38,7 @@ void videowrapper::delete_videowrapper()
+ int videowrapper::load_video(QString filename)
+ {
+ // *** OUVERTURE DU FICHIER VIDEO ***
+- #ifdef avformat_open_input
++ #if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53,5,0)
+ if (avformat_open_input(&pFormatCtx,filename.toAscii().data(),NULL,NULL)!=0)
+ {
+ #else
+@@ -91,13 +91,8 @@ int videowrapper::load_video(QString filename)
+
+ // *** OUVERTURE DU CODEC ***
+
+- #ifdef av_find_stream_info
+- if(avcodec_open(pCodecCtx, pCodec)<0)
+- {
+- #else
+ if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0)
+ {
+- #endif
+ qDebug() << "CAN'T FIND VIDEO CODEC";
+ return 1;
+ }
diff --git a/media-video/2mandvd/metadata.xml b/media-video/2mandvd/metadata.xml
new file mode 100644
index 00000000000..dc439f7e84f
--- /dev/null
+++ b/media-video/2mandvd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/media-video/aacskeys/Manifest b/media-video/aacskeys/Manifest
new file mode 100644
index 00000000000..eaf09bac420
--- /dev/null
+++ b/media-video/aacskeys/Manifest
@@ -0,0 +1,2 @@
+DIST aacskeys-0.4.0c.tar.gz 4118637 SHA256 54ea78898917f4acaf78101dda254de56bc7696bad12cbf22ee6f09d4ee88a43 SHA512 34c434fd1b118fb301b8af9c20762075bab213b39584e8e33c6b685c7504e4863f78ee2754d131e760c535dd24b29826dc6756833b5deaaa5c4b70ab8f9a6ba8 WHIRLPOOL c710dfc56804390a8c89c57f50cf756e5b96c38224621f1f14f9600830b10ff4b3e4b5a7f9d3069523d4c5a5ec2c0130bd43269e990e3f0c433ac7b698acf79b
+DIST aacskeys-0.4.0e.tar.gz 4117374 SHA256 d9ee6332ae545f93f17f16438c352c98ad2ee019929bc0e6743dcedb23df7f34 SHA512 86435bd4b5ce31cae87390bade631d9dc36814cd5e03fdcaca02eefe3d351432e7ba61f7127f6030b92e929ba3726547d7c04d8558239bd23a32bcb1574b7f6f WHIRLPOOL 88b5beee39a78d81fa3e6fb714faf35ebbf5ba118239d3afad121cb80e5fd37b6445f2282d2b25d4c9bf71a5a35b02473abff12b28adbe5cf5d2bd9f9973f275
diff --git a/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild b/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild
new file mode 100644
index 00000000000..d46df71b2c3
--- /dev/null
+++ b/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils java-pkg-2
+
+DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
+HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
+SRC_URI="http://bluray.beandog.org/aacskeys/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl[-bindist]"
+DEPEND=">=virtual/jdk-1.6
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-aacskeys-makefile.patch"
+ epatch "${FILESDIR}/${P}-libaacskeys-makefile.patch"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin bin/linux/aacskeys || die
+ dolib lib/linux/libaacskeys.so || die
+ dodoc HostKeyCertificate.txt ProcessingDeviceKeysSimple.txt \
+ README.txt || die
+}
diff --git a/media-video/aacskeys/aacskeys-0.4.0e.ebuild b/media-video/aacskeys/aacskeys-0.4.0e.ebuild
new file mode 100644
index 00000000000..3a49f44e46d
--- /dev/null
+++ b/media-video/aacskeys/aacskeys-0.4.0e.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils java-pkg-2
+
+DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
+HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
+SRC_URI="http://bluray.beandog.org/aacskeys/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl[-bindist]"
+DEPEND=">=virtual/jdk-1.6
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.4.0c-aacskeys-makefile.patch"
+ epatch "${FILESDIR}/${PN}-0.4.0c-libaacskeys-makefile.patch"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin bin/linux/aacskeys || die
+ dolib lib/linux/libaacskeys.so || die
+ dodoc HostKeyCertificate.txt ProcessingDeviceKeysSimple.txt \
+ README.txt || die
+}
diff --git a/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch b/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch
new file mode 100644
index 00000000000..d7593261725
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch
@@ -0,0 +1,35 @@
+--- aacskeys.make.orig 2010-02-16 18:43:07.000000000 -0700
++++ aacskeys.make 2010-02-16 18:44:10.000000000 -0700
+@@ -13,12 +13,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/Release
+ OUTDIR := bin/linux
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -I "/usr/local/ssl/include"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Wall -fomit-frame-pointer -O3 -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -I "/usr/ssl/include"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH)
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -I "/usr/local/ssl/include"
++ RESFLAGS := -D "_REENTRANT" -I "/usr/ssl/include"
+ TARGET := aacskeys
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
+@@ -28,12 +28,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/Debug
+ OUTDIR := bin/linux/debug
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "DEBUG" -I "/usr/local/ssl/include"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -Wall -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "DEBUG" -I "/usr/ssl/include"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
+ CXXFLAGS := $(CFLAGS)
+ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/local/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "DEBUG" -I "/usr/local/ssl/include"
++ RESFLAGS := -D "_REENTRANT" -D "DEBUG" -I "/usr/ssl/include"
+ TARGET := aacskeys
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
diff --git a/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch b/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch
new file mode 100644
index 00000000000..8062a5b60c4
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch
@@ -0,0 +1,36 @@
+--- libaacskeys.make.orig 2010-02-16 18:37:31.000000000 -0700
++++ libaacskeys.make 2010-02-16 18:40:15.000000000 -0700
+@@ -13,12 +13,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/ReleaseLib
+ OUTDIR := lib/linux
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -Wall -fomit-frame-pointer -O3 -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -s -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "JNILIB" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
++ RESFLAGS := -D "_REENTRANT" -D "JNILIB" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
+ TARGET := libaacskeys.so
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
+@@ -28,12 +28,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/DebugLib
+ OUTDIR := lib/linux/debug
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -g -Wall -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -g
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
++ RESFLAGS := -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
+ TARGET := libaacskeys.so
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
diff --git a/media-video/aacskeys/metadata.xml b/media-video/aacskeys/metadata.xml
new file mode 100644
index 00000000000..413d6414f00
--- /dev/null
+++ b/media-video/aacskeys/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">aacskeys is a program to decrypt all required keys from an AACS protected HD-DVD / Blu-Ray to decrypt it.</longdescription>
+</pkgmetadata>
diff --git a/media-video/abby/Manifest b/media-video/abby/Manifest
new file mode 100644
index 00000000000..8d2479c688e
--- /dev/null
+++ b/media-video/abby/Manifest
@@ -0,0 +1 @@
+DIST abby-0.4.8.tar.bz2 53183 SHA256 662e20ca5260ad2778f03f666fecac433d4ad1b533c00f716b01c47c427c566e
diff --git a/media-video/abby/abby-0.4.8.ebuild b/media-video/abby/abby-0.4.8.ebuild
new file mode 100644
index 00000000000..8aac04d57c0
--- /dev/null
+++ b/media-video/abby/abby-0.4.8.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit qt4-r2
+
+DESCRIPTION="GUI front-end for cclive and clive video extraction utilities"
+HOMEPAGE="http://code.google.com/p/abby/"
+SRC_URI="http://abby.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE=""
+
+RDEPEND="|| ( >=media-video/clive-2.2.5 >=media-video/cclive-0.5.0 )
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dobin abby
+ dodoc AUTHORS ChangeLog README TODO NEWS
+}
diff --git a/media-video/abby/metadata.xml b/media-video/abby/metadata.xml
new file mode 100644
index 00000000000..b179b885161
--- /dev/null
+++ b/media-video/abby/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">abby</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/acidrip/Manifest b/media-video/acidrip/Manifest
new file mode 100644
index 00000000000..bd918665e39
--- /dev/null
+++ b/media-video/acidrip/Manifest
@@ -0,0 +1 @@
+DIST acidrip-0.14.tar.gz 92086 SHA256 51bb84174e8dae733ddd1f69a16b90d875e4455135ed20a024a79b98ae7d58c1 SHA512 3ee0e329bd7e5eb4067d618fc79a49707084526d53e8c10cd9ec560828cf621e8d7263259cc8bc7944e6f9d7b7fd1fc5b8a42a8f37f18666f1974f240edb99a0 WHIRLPOOL 8aa1f2aeaa8e29a97399f714989be38fc60803a7a3ba3f872750a4a440741c1f2173e88f3a0b3421651e3c86bf64721ec24077165e664cf107ab0e9cefcd2917
diff --git a/media-video/acidrip/acidrip-0.14-r4.ebuild b/media-video/acidrip/acidrip-0.14-r4.ebuild
new file mode 100644
index 00000000000..b3fabcd618a
--- /dev/null
+++ b/media-video/acidrip/acidrip-0.14-r4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit perl-app
+
+DESCRIPTION="A gtk-perl mplayer/mencoder frontend for ripping DVDs"
+HOMEPAGE="http://sourceforge.net/acidrip/"
+SRC_URI="mirror://sourceforge/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="encode"
+
+RDEPEND="dev-lang/perl:=
+ dev-perl/gtk2-perl
+ media-video/lsdvd
+ media-video/mplayer[encode]
+ encode? ( >=media-sound/lame-3.92 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-mplayer.patch #168012
+ epatch "${FILESDIR}/${P}-makefile.patch" #299173
+}
diff --git a/media-video/acidrip/files/acidrip-0.14-makefile.patch b/media-video/acidrip/files/acidrip-0.14-makefile.patch
new file mode 100644
index 00000000000..bbaf340799c
--- /dev/null
+++ b/media-video/acidrip/files/acidrip-0.14-makefile.patch
@@ -0,0 +1,50 @@
+--- acidrip-0.14/Makefile.PL.orig 2014-08-22 09:38:46.179128473 -0600
++++ acidrip-0.14/Makefile.PL 2014-08-22 09:40:33.045103299 -0600
+@@ -36,47 +36,7 @@
+ $_;
+ }
+
+-print "\nRunning additional test to be sure acidrip will work\n";
+-
+-print "test for lsdvd: ";
+-my $lsdvd = `lsdvd -V 2>&1`;
+-if ( $lsdvd !~ /0.(\d+)\s/ ) {
+-die "Not Found!\n\n***************\n" .
+- "AcidRip needs my little app \"lsdvd\" in order to see what is on your dvd\'s\n" .
+- "Download it and install it (and libdvdread) before trying to use AcidRip.\n" .
+- "If it\'s simply not on your path then set the full path inside AcidRip.\n" .
+- "***************\n\n"
+-}
+-if ( $1 < 9 ) {
+-die "Too old!\n\n***************\n" .
+- "AcidRip needs at least version 0.9 of lsdvd, but version 0.$1 was found\n" .
+- "Download it and install it (and libdvdread) before trying to use AcidRip.\n" .
+- "***************\n\n"
+-}
+-print "found\n";
+-
+-print "test for MPlayer: "; die "Not Found!\n\n***************\n" .
+- "AcidRip is based around the MPlayer video player. it has not been found on\n" .
+- "your current path. Install it from http://mplayerhq/hu see INSTALL.html or\n" .
+- "INSTALL for installation instructions.\n" .
+- "***************\n\n" if ( system "mplayer 2&>1 > /dev/null" ); print "found\n";
+-
+-print "test for MEncoder: "; die "Not Found!\n\n***************\n" .
+- "AcidRip uses MEncoder, which is part of MPlayer video player package. This\n" .
+- "was not found. Install it from http://mplayerhq/hu see INSTALL.html or\n" .
+- "INSTALL for installation instructions.\n" .
+- "***************\n\n" if ( system "mencoder -ovc help 2> /dev/null | grep MEncoder > /dev/null" ); print "found\n";
+-
+-print "test for MP3 support in mencoder: "; die "Not Found!\n\n***************\n" .
+- "MEncoder was found, however it does not have MP3 support built into it.\n" .
+- "If you DO want MP3 support you'll need to recompile mplayer with mp3 support\n" .
+- "See INSTALL or INSTALL.html for more information\n" .
+- "***************\n\n" if ( system "mencoder -oac help 2> /dev/null | grep mp3lame > /dev/null" ); print "found\n";
+-
+-print "Everything looks good here...\n";
+-
+ print "\nPlease send any feedback to me, I actually do want to know what you think of it.";
+ print "\nMaybe then I can make it suck less. acid_kewpie\@users.sourceforge.net\n\n";
+
+ exit(0);
+-
diff --git a/media-video/acidrip/files/acidrip-mplayer.patch b/media-video/acidrip/files/acidrip-mplayer.patch
new file mode 100644
index 00000000000..5d9c84701d5
--- /dev/null
+++ b/media-video/acidrip/files/acidrip-mplayer.patch
@@ -0,0 +1,22 @@
+http://bugs.gentoo.org/168012
+
+--- AcidRip/acidrip.pm
++++ AcidRip/acidrip.pm
+@@ -680,7 +680,7 @@
+ message( "Running " . get_command("cropdetect") );
+ open( CROP, get_command("cropdetect") . " 2>&1 |" );
+ while (<CROP>) {
+- if ( $_ =~ /crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
++ if ( $_ =~ /Crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
+ $crop_output .= $_;
+ gui_check($_);
+ }
+@@ -863,7 +863,7 @@
+ if ( $::settings->{'mencoder_pid'} = open( MENCODER, "$menc 2>&1 |" ) ) {
+ $/ = "\r";
+ while (<MENCODER>) {
+- if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
++ if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+.\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
+ if ( $1 ne $sec ) { $sec = $1; $::widgets->{'menc_seconds'}->set_text( hhmmss($1) ) }
+ if ( $4 ne $fps ) { $fps = $4; $::widgets->{'menc_fps'}->set_text($4) }
+ if ( $6 ne $size ) { $size = $6; $::widgets->{'menc_filesize'}->set_text($6) }
diff --git a/media-video/acidrip/metadata.xml b/media-video/acidrip/metadata.xml
new file mode 100644
index 00000000000..ad983ca71dc
--- /dev/null
+++ b/media-video/acidrip/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">.tar.gz</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/aegisub/Manifest b/media-video/aegisub/Manifest
new file mode 100644
index 00000000000..4a95428b226
--- /dev/null
+++ b/media-video/aegisub/Manifest
@@ -0,0 +1,3 @@
+DIST aegisub-2.1.9.tar.xz 1670496 SHA256 e0591c96183f7713bb14f9d357a2e12bdd3478e4d0a8fad77f14f87a4fc22db7
+DIST aegisub-3.1.2.tar.xz 4126244 SHA256 36ebfd05cc642b050da1e91ce2d2082b317a37bdfab109e191f861170d7cff86 SHA512 d15e16f9f98c01447b72cde1998c915a2bfc1aa918a4380b54303de8e88ef881f46c3896ab9dc5eddaf4f1376f0908abd8427dbf6af395e6e0b3969ddca402ab WHIRLPOOL fa7afa1a3e736a410d686bc14d173518267e4b1570a468d9871334f06af821040fe7f40d6ba3b1bece9350a70dd43613c4aedfe8480629a283c9a16a2f54ab6d
+DIST aegisub-3.1.3.tar.xz 4215196 SHA256 efea5bc2bc5e0651ada4f65cfdd8af1b422a15f87933710d11287bf51e2b5e58 SHA512 c406925623e7b8425df47d1cd31ef77d536861335d25c626ecb916ef091341a8156879430f094ffa1d27490a65f79e2edb84593609d589834f3411b2c2841297 WHIRLPOOL 12e40c2ce78e1659046d093d7d34b68b7ceda2744c36be0e15a71a379cc3ced4fb8cde2c364bbd3b7efa803f78229794d5d417c601ae140d79e0c0a9a2711fb0
diff --git a/media-video/aegisub/aegisub-2.1.9.ebuild b/media-video/aegisub/aegisub-2.1.9.ebuild
new file mode 100644
index 00000000000..bb2468e91b9
--- /dev/null
+++ b/media-video/aegisub/aegisub-2.1.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+WX_GTK_VER="2.8"
+inherit autotools wxwidgets
+
+DESCRIPTION="Advanced SSA/ASS subtitle editor"
+HOMEPAGE="http://www.aegisub.org/"
+SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="alsa debug +ffmpeg lua nls openal oss portaudio pulseaudio spell"
+
+RDEPEND="
+ x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]
+ virtual/opengl
+ virtual/glu
+ >=media-libs/libass-0.9.11[fontconfig]
+ virtual/libiconv
+ >=media-libs/fontconfig-2.4.2
+ media-libs/freetype:2
+
+ alsa? ( media-libs/alsa-lib )
+ portaudio? ( =media-libs/portaudio-19* )
+ pulseaudio? ( media-sound/pulseaudio )
+ openal? ( media-libs/openal )
+
+ lua? ( >=dev-lang/lua-5.1.1 )
+
+ spell? ( >=app-text/hunspell-1.2 )
+ ffmpeg? ( >=media-libs/ffmpegsource-2.17 )
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ media-gfx/imagemagick
+"
+
+src_prepare() {
+ sh autogen.sh --skip-configure
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with alsa) \
+ $(use_with oss) \
+ $(use_with portaudio) \
+ $(use_with pulseaudio) \
+ $(use_with openal) \
+ $(use_with lua) \
+ $(use_with ffmpeg ffms) \
+ $(use_with spell hunspell) \
+ $(use_enable debug) \
+ $(use_enable nls)
+}
diff --git a/media-video/aegisub/aegisub-3.1.2.ebuild b/media-video/aegisub/aegisub-3.1.2.ebuild
new file mode 100644
index 00000000000..e156dda4f8d
--- /dev/null
+++ b/media-video/aegisub/aegisub-3.1.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF="1"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+WX_GTK_VER="3.0"
+PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS@latin sr_RS vi zh_CN zh_TW"
+inherit autotools-utils wxwidgets l10n fdo-mime gnome2-utils
+
+DESCRIPTION="Advanced SSA/ASS subtitle editor"
+HOMEPAGE="http://www.aegisub.org/"
+SRC_URI="http://ftp.aegisub.org/pub/releases/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell"
+
+REQUIRED_USE="
+ || ( alsa openal oss portaudio pulseaudio )
+"
+
+RDEPEND="
+ >=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
+ virtual/opengl
+ virtual/glu
+ >=media-libs/libass-0.10.0[fontconfig]
+ virtual/libiconv
+ >=dev-lang/lua-5.1.1
+ >=dev-libs/boost-1.52.0:=[icu,nls,threads]
+ >=dev-libs/icu-4.8.1.1:=
+ >=media-libs/fontconfig-2.4.2
+ >=media-libs/freetype-2.3.5:2
+
+ alsa? ( >=media-libs/alsa-lib-1.0.16 )
+ portaudio? ( =media-libs/portaudio-19* )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.5 )
+ openal? ( media-libs/openal )
+
+ spell? ( >=app-text/hunspell-1.2.2 )
+ ffmpeg? ( >=media-libs/ffmpegsource-2.17:= )
+ fftw? ( >=sci-libs/fftw-3.3 )
+"
+DEPEND="${RDEPEND}
+ oss? ( virtual/os-headers )
+ >=sys-devel/gettext-0.18
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ my_rm_loc() {
+ sed -i -e "s:${1}\.po::" po/Makefile || die
+ rm "po/${1}.po" || die
+ }
+
+ l10n_find_plocales_changes 'po' '' '.po'
+ if [ -z "$(l10n_get_locales)" ]; then
+ sed -e 's/^\s*po\s*$//' -i Makefile || die
+ else
+ l10n_for_each_disabled_locale_do my_rm_loc
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ # testing openal does not work in sandbox, bug #508184
+ use openal && export agi_cv_with_openal="yes"
+ local myeconfargs=(
+ $(use_with alsa)
+ $(use_with oss)
+ $(use_with portaudio)
+ $(use_with pulseaudio libpulse)
+ $(use_with openal)
+ $(use_with ffmpeg ffms2)
+ $(use_with fftw fftw3)
+ $(use_with spell hunspell)
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-video/aegisub/aegisub-3.1.3.ebuild b/media-video/aegisub/aegisub-3.1.3.ebuild
new file mode 100644
index 00000000000..c08eaf735d3
--- /dev/null
+++ b/media-video/aegisub/aegisub-3.1.3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF="1"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+WX_GTK_VER="3.0"
+PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS@latin sr_RS vi zh_CN zh_TW"
+inherit autotools-utils wxwidgets l10n fdo-mime gnome2-utils
+
+DESCRIPTION="Advanced SSA/ASS subtitle editor"
+HOMEPAGE="http://www.aegisub.org/"
+SRC_URI="http://ftp.aegisub.org/pub/releases/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell"
+
+REQUIRED_USE="
+ || ( alsa openal oss portaudio pulseaudio )
+"
+
+RDEPEND="
+ >=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
+ virtual/opengl
+ virtual/glu
+ >=media-libs/libass-0.10.0[fontconfig]
+ virtual/libiconv
+ >=dev-libs/boost-1.53.0:=[icu,nls,threads]
+ >=dev-libs/icu-4.8.1.1:=
+ >=media-libs/fontconfig-2.4.2
+ >=media-libs/freetype-2.3.5:2
+
+ alsa? ( >=media-libs/alsa-lib-1.0.16 )
+ portaudio? ( =media-libs/portaudio-19* )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.5 )
+ openal? ( media-libs/openal )
+
+ spell? ( >=app-text/hunspell-1.2.2 )
+ ffmpeg? ( >=media-libs/ffmpegsource-2.17:= )
+ fftw? ( >=sci-libs/fftw-3.3 )
+"
+DEPEND="${RDEPEND}
+ oss? ( virtual/os-headers )
+ >=sys-devel/gettext-0.18
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ my_rm_loc() {
+ sed -i -e "s:${1}\.po::" po/Makefile || die
+ rm "po/${1}.po" || die
+ }
+
+ l10n_find_plocales_changes 'po' '' '.po'
+ if [ -z "$(l10n_get_locales)" ]; then
+ sed -e 's/^\s*po\s*$//' -i Makefile || die
+ else
+ l10n_for_each_disabled_locale_do my_rm_loc
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ # testing openal does not work in sandbox, bug #508184
+ use openal && export agi_cv_with_openal="yes"
+ local myeconfargs=(
+ $(use_with alsa)
+ $(use_with oss)
+ $(use_with portaudio)
+ $(use_with pulseaudio libpulse)
+ $(use_with openal)
+ $(use_with ffmpeg ffms2)
+ $(use_with fftw fftw3)
+ $(use_with spell hunspell)
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-video/aegisub/aegisub-9999.ebuild b/media-video/aegisub/aegisub-9999.ebuild
new file mode 100644
index 00000000000..4c2168b4408
--- /dev/null
+++ b/media-video/aegisub/aegisub-9999.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF="1"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+WX_GTK_VER="3.0"
+PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS@latin sr_RS vi zh_CN zh_TW"
+inherit autotools-utils wxwidgets l10n fdo-mime gnome2-utils git-2
+
+DESCRIPTION="Advanced SSA/ASS subtitle editor"
+HOMEPAGE="http://www.aegisub.org/"
+EGIT_REPO_URI="https://github.com/Aegisub/Aegisub.git"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell"
+
+REQUIRED_USE="
+ || ( alsa openal oss portaudio pulseaudio )
+"
+
+RDEPEND="
+ >=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
+ virtual/opengl
+ virtual/glu
+ >=media-libs/libass-0.10.0[fontconfig]
+ virtual/libiconv
+ >=dev-libs/boost-1.53.0:=[icu,nls,threads]
+ >=dev-libs/icu-4.8.1.1:=
+ >=media-libs/fontconfig-2.4.2
+ >=media-libs/freetype-2.3.5:2
+
+ alsa? ( >=media-libs/alsa-lib-1.0.16 )
+ portaudio? ( =media-libs/portaudio-19* )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.5 )
+ openal? ( media-libs/openal )
+
+ spell? ( >=app-text/hunspell-1.2.2 )
+ ffmpeg? ( >=media-libs/ffmpegsource-2.17:= )
+ fftw? ( >=sci-libs/fftw-3.3 )
+"
+DEPEND="${RDEPEND}
+ oss? ( virtual/os-headers )
+ >=sys-devel/gettext-0.18
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ my_rm_loc() {
+ sed -i -e "s:${1}\.po::" po/Makefile || die
+ rm "po/${1}.po" || die
+ }
+
+ l10n_find_plocales_changes 'po' '' '.po'
+ if [ -z "$(l10n_get_locales)" ]; then
+ sed -e 's/^\s*po\s*$//' -i Makefile || die
+ else
+ l10n_for_each_disabled_locale_do my_rm_loc
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ # testing openal does not work in sandbox, bug #508184
+ use openal && export agi_cv_with_openal="yes"
+ local myeconfargs=(
+ $(use_with alsa)
+ $(use_with oss)
+ $(use_with portaudio)
+ $(use_with pulseaudio libpulse)
+ $(use_with openal)
+ $(use_with ffmpeg ffms2)
+ $(use_with fftw fftw3)
+ $(use_with spell hunspell)
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-video/aegisub/metadata.xml b/media-video/aegisub/metadata.xml
new file mode 100644
index 00000000000..496cc906a4c
--- /dev/null
+++ b/media-video/aegisub/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>nikoli@gmx.us</email>
+ <name>Nikoli</name>
+ </maintainer>
+ <maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-video/alevt/Manifest b/media-video/alevt/Manifest
new file mode 100644
index 00000000000..617e5634915
--- /dev/null
+++ b/media-video/alevt/Manifest
@@ -0,0 +1 @@
+DIST alevt-1.6.2.tar.gz 133234 RMD160 19bab54e5d5c22cd18d73229524ddc87636850ab SHA1 17f661a22f11f648215efd8d73e1b4dc4a06c5e2 SHA256 9347c2af4b528edec87df8a424ddccebcc252ca7a06f6b18310733cfa547e5f5
diff --git a/media-video/alevt/alevt-1.6.2.ebuild b/media-video/alevt/alevt-1.6.2.ebuild
new file mode 100644
index 00000000000..a2b3f485e6b
--- /dev/null
+++ b/media-video/alevt/alevt-1.6.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="Teletext viewer for X11"
+HOMEPAGE="http://www.goron.de/~froese/"
+SRC_URI="http://www.goron.de/~froese/alevt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ >=media-libs/libpng-1.4"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+RESTRICT="strip"
+
+src_prepare() {
+ cp -va Makefile{,.orig}
+
+ epatch \
+ "${FILESDIR}"/${P}-respectflags.patch \
+ "${FILESDIR}"/${P}-libpng15.patch
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin alevt alevt-cap alevt-date
+ doman alevt.1x alevt-date.1 alevt-cap.1
+ dodoc CHANGELOG README
+
+ insinto /usr/share/icons/hicolor/16x16/apps
+ newins contrib/mini-alevt.xpm alevt.xpm
+ insinto /usr/share/icons/hicolor/48x48/apps
+ newins contrib/icon48x48.xpm alevt.xpm
+
+ make_desktop_entry alevt "AleVT" alevt
+}
diff --git a/media-video/alevt/files/alevt-1.6.2-libpng15.patch b/media-video/alevt/files/alevt-1.6.2-libpng15.patch
new file mode 100644
index 00000000000..337a6f7c709
--- /dev/null
+++ b/media-video/alevt/files/alevt-1.6.2-libpng15.patch
@@ -0,0 +1,11 @@
+--- exp-gfx.c
++++ exp-gfx.c
+@@ -4,6 +4,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#include <zlib.h> /* Z_DEFAULT_COMPRESSION */
++
+ #include "lang.h"
+ #include "export.h"
+
diff --git a/media-video/alevt/files/alevt-1.6.2-respectflags.patch b/media-video/alevt/files/alevt-1.6.2-respectflags.patch
new file mode 100644
index 00000000000..368b0ff614c
--- /dev/null
+++ b/media-video/alevt/files/alevt-1.6.2-respectflags.patch
@@ -0,0 +1,34 @@
+--- alevt-1.6.2/Makefile.orig 2007-12-03 06:19:54.000000000 +0100
++++ alevt-1.6.2/Makefile 2009-05-14 10:17:39.000000000 +0200
+@@ -1,5 +1,4 @@
+ VER=1.6.2
+-OPT=-O2 -s -w
+ #OPT=-O -g
+ DEFS=-DWITH_PNG
+ FONT=vtxt
+@@ -11,7 +10,7 @@
+ # a smaller and thinner font
+ #FONT=neep9
+
+-CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
++CFLAGS += -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
+
+ EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
+ OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
+@@ -25,13 +24,13 @@
+ all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
+
+ alevt: $(OBJS)
+- $(CC) $(OPT) $(OBJS) -o alevt -L$(USR_X11R6)/lib -L$(USR_X11R6)/lib64 -lX11 $(EXPLIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o alevt -L$(USR_X11R6)/lib -L$(USR_X11R6)/lib64 -lX11 $(EXPLIBS)
+
+ alevt-date: $(TOBJS)
+- $(CC) $(OPT) $(TOBJS) -o alevt-date
++ $(CC) $(CFLAGS) $(LDFLAGS) $(TOBJS) -o alevt-date
+
+ alevt-cap: $(COBJS)
+- $(CC) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(COBJS) -o alevt-cap $(EXPLIBS)
+
+ font.o: font1.xbm font2.xbm
+ fontsize.h: font1.xbm font2.xbm
diff --git a/media-video/alevt/metadata.xml b/media-video/alevt/metadata.xml
new file mode 100644
index 00000000000..a6b9e38a1b9
--- /dev/null
+++ b/media-video/alevt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+</pkgmetadata>
diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
new file mode 100644
index 00000000000..a7eb29bc0bb
--- /dev/null
+++ b/media-video/aravis/Manifest
@@ -0,0 +1,2 @@
+DIST aravis-0.1.14.tar.xz 414932 SHA256 4f7a5e8a965db2ac2428029f7e91933fcc40664f78d645041b8bb7b710e66bea SHA512 d84fe519074a69e679b08e0c0933bce191e50cfcdd1b46b743aa68ba33445a3a87cbd1701ba424666b638949f9faf531ec668acbe5d22017712f70cfa9620ea9 WHIRLPOOL 1e225a92c11341327452946cc35f18d76fe90626dca6b82631640443920675be270beeb053cc352c5c552b5a3edc2661fc96e2e00a1222630ed76fe5d35403c0
+DIST aravis-0.1.15.tar.xz 448348 SHA256 8181b9965abad9065607be0d28015ea56615b37e8297b9ec445a2c8fe58214df SHA512 f6a2e1f7fa4f712bea6a91f896bbc92afb3dcf3146109f3f7aee2ad6812a69f0b47a0f2116062cba6163dc058c7981a01a6eec395d4af633da666fe186291929 WHIRLPOOL 68b23fbb24fb78542db0f9b9ce9dbafc0a3b81971c5dc471313fbc2164bbae1b9317f00254ccaf457fb907b7ff8130cdf0612a66a6474c5effbbe601138ba04d
diff --git a/media-video/aravis/aravis-0.1.14.ebuild b/media-video/aravis/aravis-0.1.14.ebuild
new file mode 100644
index 00000000000..01c99dfe06b
--- /dev/null
+++ b/media-video/aravis/aravis-0.1.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit versionator
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "9999" ]]; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://git.gnome.org/aravis"
+ EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+ inherit git-2 autotools
+fi
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="http://live.gnome.org/Aravis"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer"
+
+GST_DEPEND="media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10"
+
+RDEPEND=">=dev-libs/glib-2.22
+ dev-libs/libxml2
+ X? (
+ >=x11-libs/gtk+-2.12:2
+ ${GST_DEPEND}
+ media-libs/gst-plugins-base:0.10
+ media-plugins/gst-plugins-xvideo:0.10
+ )
+ gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/gobject-introspection"
+
+if [[ -z ${EGIT_COMMIT} ]]; then
+ SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
+else
+ DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+ if [[ -n ${EGIT_COMMIT} ]]; then
+ intltoolize || die
+ gtkdocize || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable X viewer) \
+ $(use_enable gstreamer gst-plugin) \
+ --enable-introspection
+}
+
+src_install() {
+ emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-video/aravis/aravis-0.1.15.ebuild b/media-video/aravis/aravis-0.1.15.ebuild
new file mode 100644
index 00000000000..01c99dfe06b
--- /dev/null
+++ b/media-video/aravis/aravis-0.1.15.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit versionator
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "9999" ]]; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://git.gnome.org/aravis"
+ EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+ inherit git-2 autotools
+fi
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="http://live.gnome.org/Aravis"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer"
+
+GST_DEPEND="media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10"
+
+RDEPEND=">=dev-libs/glib-2.22
+ dev-libs/libxml2
+ X? (
+ >=x11-libs/gtk+-2.12:2
+ ${GST_DEPEND}
+ media-libs/gst-plugins-base:0.10
+ media-plugins/gst-plugins-xvideo:0.10
+ )
+ gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/gobject-introspection"
+
+if [[ -z ${EGIT_COMMIT} ]]; then
+ SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
+else
+ DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+ if [[ -n ${EGIT_COMMIT} ]]; then
+ intltoolize || die
+ gtkdocize || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable X viewer) \
+ $(use_enable gstreamer gst-plugin) \
+ --enable-introspection
+}
+
+src_install() {
+ emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-video/aravis/aravis-9999.ebuild b/media-video/aravis/aravis-9999.ebuild
new file mode 100644
index 00000000000..01c99dfe06b
--- /dev/null
+++ b/media-video/aravis/aravis-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit versionator
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "9999" ]]; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://git.gnome.org/aravis"
+ EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+ inherit git-2 autotools
+fi
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="http://live.gnome.org/Aravis"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer"
+
+GST_DEPEND="media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10"
+
+RDEPEND=">=dev-libs/glib-2.22
+ dev-libs/libxml2
+ X? (
+ >=x11-libs/gtk+-2.12:2
+ ${GST_DEPEND}
+ media-libs/gst-plugins-base:0.10
+ media-plugins/gst-plugins-xvideo:0.10
+ )
+ gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/gobject-introspection"
+
+if [[ -z ${EGIT_COMMIT} ]]; then
+ SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
+else
+ DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+ if [[ -n ${EGIT_COMMIT} ]]; then
+ intltoolize || die
+ gtkdocize || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable X viewer) \
+ $(use_enable gstreamer gst-plugin) \
+ --enable-introspection
+}
+
+src_install() {
+ emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-video/aravis/metadata.xml b/media-video/aravis/metadata.xml
new file mode 100644
index 00000000000..32f225f9bd8
--- /dev/null
+++ b/media-video/aravis/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>lu_zero@gentoo.org</email>
+ </maintainer>
+
+ <use>
+ <flag name='X'>
+ Build the GTK+-based video viewer for aravis. This requires
+ GStreamer and a few plugins but technically not the GST plugin
+ for aravis.
+ </flag>
+
+ <flag name='gstreamer'>
+ Build the GStreamer plugin for aravis, but not the video viewer.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/arista/Manifest b/media-video/arista/Manifest
new file mode 100644
index 00000000000..c6e740d1c07
--- /dev/null
+++ b/media-video/arista/Manifest
@@ -0,0 +1,2 @@
+DIST arista-0.9.5.tar.gz 307390 SHA256 2d9b7d664225c9f4f9e2d7c365d40ed4673f87a673373cfb5612e4abe6285bd7 SHA512 c0cdd87117c7fab253997cb64854ae6b58f20c45b9f41440b9af33e729d3586e21480e177c983312ae42ff775ea3755785345c8cdb95a3b45642231c977a159c WHIRLPOOL ee5ab666b545edc0143ab780b7038b9edde8d82ee34ddcb191bbf09b12df98452b01471a282cc5712891dc07fdefae4dfdc695bb5383506e2a6ba9173c46b11b
+DIST arista-0.9.7.tar.gz 344475 SHA256 e6028e45516f0c5a736d6ec3c19f783e0a06d103cf2a816b8cc967ab964023ff SHA512 0a099f33ff56b67984485bda6a778e07c8f7ee215060b709dad22aaf70ca6489d031100d65323fa05067dfc190a8f03f884f297e62d89bc91ab36a970849df51 WHIRLPOOL 617f24e34bc62d7d43b057ea0346032ef3c13c8cc9e08b1e2705a5284967631c3cf5dc61d44aa438bb2f072baa63ffd6151e46aee2e3c0233e373e84957ec750
diff --git a/media-video/arista/arista-0.9.5.ebuild b/media-video/arista/arista-0.9.5.ebuild
new file mode 100644
index 00000000000..3fec4475d03
--- /dev/null
+++ b/media-video/arista/arista-0.9.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
+
+inherit distutils
+
+DESCRIPTION="An easy to use multimedia transcoder for the GNOME Desktop"
+HOMEPAGE="http://www.transcoder.org"
+SRC_URI="http://programmer-art.org/media/releases/arista-transcoder/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+# Making these USE-defaults since encoding for portable devices is a very
+# common use case for Arista. xvid is being added since it's required for
+# DVD ripping. No gst-plugins-x264 available at this time.
+IUSE="+faac kde nautilus +x264 +xvid"
+
+DEPEND="dev-python/setuptools"
+RDEPEND=">=x11-libs/gtk+-2.16:2
+ || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
+ >=dev-python/pygtk-2.16:2
+ dev-python/pygobject:2
+ dev-python/pycairo
+ dev-python/gconf-python:2
+ dev-python/dbus-python
+ dev-python/python-gudev
+ gnome-base/librsvg
+ >=media-libs/gstreamer-0.10.22:0.10
+ dev-python/gst-python:0.10
+ media-libs/gst-plugins-base:0.10
+ media-libs/gst-plugins-good:0.10
+ media-libs/gst-plugins-bad:0.10
+ media-plugins/gst-plugins-meta:0.10
+ media-plugins/gst-plugins-ffmpeg:0.10
+ x11-themes/gnome-icon-theme
+ nautilus? ( dev-python/nautilus-python )
+ kde? ( dev-python/librsvg-python )
+ faac? ( media-plugins/gst-plugins-faac:0.10 )
+ x264? ( media-plugins/gst-plugins-x264:0.10 )
+ xvid? ( media-plugins/gst-plugins-xvid:0.10 )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ einfo "If you find that a format you want is not supported in Arista,"
+ einfo "please make sure that you have the corresponding USE-flag enabled"
+ einfo "media-plugins/gst-plugins-meta"
+}
diff --git a/media-video/arista/arista-0.9.7.ebuild b/media-video/arista/arista-0.9.7.ebuild
new file mode 100644
index 00000000000..7dd16e8b880
--- /dev/null
+++ b/media-video/arista/arista-0.9.7.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+# hack for avoiding detecting 'templates' as a locale, next part of it - in src_prepare
+PLOCALES_1="ar ast bg ca cs da de el en_GB es et eu fi fr gl hu ia id it ja jv kn lt nl pl pt pt_BR ro ru sk sl sr sv"
+PLOCALES_2="th tr uk zh_CN zh_TW"
+PLOCALES="${PLOCALES_1} ${PLOCALES_2}"
+
+inherit distutils-r1 l10n
+
+DESCRIPTION="An easy to use multimedia transcoder for the GNOME Desktop"
+HOMEPAGE="http://www.transcoder.org"
+SRC_URI="http://programmer-art.org/media/releases/arista-transcoder/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# Making these USE-defaults since encoding for portable devices is a very
+# common use case for Arista. xvid is being added since it's required for
+# DVD ripping. No gst-plugins-x264 available at this time.
+IUSE="+faac kde nautilus +x264 +xvid"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=x11-libs/gtk+-2.16:2
+ >=dev-python/pygtk-2.16:2[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/gconf-python:2
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/python-gudev[${PYTHON_USEDEP}]
+ gnome-base/librsvg
+ >=media-libs/gstreamer-0.10.22:0.10
+ dev-python/gst-python:0.10[${PYTHON_USEDEP}]
+ media-libs/gst-plugins-base:0.10
+ media-libs/gst-plugins-good:0.10
+ media-libs/gst-plugins-bad:0.10
+ media-plugins/gst-plugins-meta:0.10
+ media-plugins/gst-plugins-ffmpeg:0.10
+ x11-themes/gnome-icon-theme
+ nautilus? ( dev-python/nautilus-python[${PYTHON_USEDEP}] )
+ kde? ( dev-python/librsvg-python[${PYTHON_USEDEP}] )
+ faac? ( media-plugins/gst-plugins-faac:0.10 )
+ x264? ( media-plugins/gst-plugins-x264:0.10 )
+ xvid? ( media-plugins/gst-plugins-xvid:0.10 )"
+
+PATCHES=( "${FILESDIR}/${P}-doc-install.patch" )
+
+src_prepare() {
+ # dirty hack for new locale detection
+ local PLOCALES="${PLOCALES_1} templates ${PLOCALES_2}"
+ l10n_find_plocales_changes "${S}/locale" "" ""
+
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ remove_unused_locale() {
+ rm -r "${ED}/usr/share/locale/${1}" || die "can not remove unused locale '${1}'"
+ }
+
+ distutils-r1_src_install
+
+ l10n_for_each_disabled_locale_do remove_unused_locale
+}
+
+pkg_postinst() {
+ einfo "If you find that a format you want is not supported in Arista,"
+ einfo "please make sure that you have the corresponding USE-flag enabled"
+ einfo "media-plugins/gst-plugins-meta"
+}
diff --git a/media-video/arista/files/arista-0.9.7-doc-install.patch b/media-video/arista/files/arista-0.9.7-doc-install.patch
new file mode 100644
index 00000000000..9a59c495c40
--- /dev/null
+++ b/media-video/arista/files/arista-0.9.7-doc-install.patch
@@ -0,0 +1,14 @@
+We prefer to install doc files manually through ebuild
+
+--- setup.py.orig 2013-02-12 00:35:31.387656978 +0400
++++ setup.py 2013-02-12 00:35:38.418657537 +0400
+@@ -22,9 +22,6 @@
+
+ data_files = [
+ (os.path.join("share", "applications"), ["arista.desktop"]),
+- (os.path.join("share", "doc", "arista"), [
+- "README.md", "LICENSE", "AUTHORS"
+- ]),
+ (os.path.join("share", "nautilus-python", "extensions"), ["arista-nautilus.py"]),
+ ]
+
diff --git a/media-video/arista/metadata.xml b/media-video/arista/metadata.xml
new file mode 100644
index 00000000000..b8c8bd511da
--- /dev/null
+++ b/media-video/arista/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="faac">Use external faac library for AAC encoding</flag>
+ <flag name="nautilus">Add an entry in the Nautilus context menu to transcode
+ media files for a specified device.</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/media-video/asfrecorder/Manifest b/media-video/asfrecorder/Manifest
new file mode 100644
index 00000000000..0882137617d
--- /dev/null
+++ b/media-video/asfrecorder/Manifest
@@ -0,0 +1 @@
+DIST ASFRecorder.zip 377571 SHA256 fd94d102231a31a56c368e02a30e6e700573a0f145c8be48173843b7e9054ea8
diff --git a/media-video/asfrecorder/asfrecorder-1.1.ebuild b/media-video/asfrecorder/asfrecorder-1.1.ebuild
new file mode 100644
index 00000000000..360b89764c7
--- /dev/null
+++ b/media-video/asfrecorder/asfrecorder-1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit toolchain-funcs
+
+MY_PN="${PN/asfr/ASFR}"
+DESCRIPTION="ASFRecorder - Download Windows Media Streaming files"
+HOMEPAGE="http://sourceforge.net/projects/asfrecorder/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_PN}
+
+src_compile() {
+ # There is a Makefile, but it only works for Cygwin, so we
+ # only compile this single program.
+ cd "${S}"/source
+ $(tc-getCC) -o asfrecorder ${CFLAGS} ${LDFLAGS} asfrecorder.c || die "Build failed"
+}
+
+src_install () {
+ # Again, no makefiles, so just take what we want.
+ dobin source/asfrecorder
+ dodoc README.TXT
+}
diff --git a/media-video/asfrecorder/metadata.xml b/media-video/asfrecorder/metadata.xml
new file mode 100644
index 00000000000..ef190338333
--- /dev/null
+++ b/media-video/asfrecorder/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">asfrecorder</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/atomicparsley-wez/Manifest b/media-video/atomicparsley-wez/Manifest
new file mode 100644
index 00000000000..e8b979c91f6
--- /dev/null
+++ b/media-video/atomicparsley-wez/Manifest
@@ -0,0 +1 @@
+DIST atomicparsley-wez-0.9.6.tar.bz2 178956 SHA256 e28d46728be86219e6ce48695ea637d831ca0170ca6bdac99810996a8291ee50 SHA512 1f094fd4d43f652319abd2eee70529d9a57e7843b4b725815b9939ad90cf56e3f061ffd9104507a7d74cabbdd9b7cb24ca12d30c88a89832629da3091bbcf1b6 WHIRLPOOL 701076bc72d49a74b96afb210035b1c121f686ff45dc95d6f11dfcb34a83f8cb7fbd38328cd156d848d200954e7ff34f27dc07fc1dd7d11280540dd608c93a98
diff --git a/media-video/atomicparsley-wez/atomicparsley-wez-0.9.6.ebuild b/media-video/atomicparsley-wez/atomicparsley-wez-0.9.6.ebuild
new file mode 100644
index 00000000000..0a6f5a81eba
--- /dev/null
+++ b/media-video/atomicparsley-wez/atomicparsley-wez-0.9.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools flag-o-matic
+
+MY_PN=${PN/-wez}
+
+DESCRIPTION="command line program for reading, parsing and setting iTunes-style metadata in MPEG4 files"
+HOMEPAGE="http://github.com/wez/atomicparsley"
+SRC_URI="http://bitbucket.org/wez/${MY_PN}/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ !media-video/atomicparsley"
+DEPEND="${RDEPEND}"
+
+DOCS="Changes.txt CREDITS"
+
+src_unpack() {
+ unpack ${A}
+ mv *-${MY_PN}-* "${S}"
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ econf
+}
diff --git a/media-video/atomicparsley-wez/metadata.xml b/media-video/atomicparsley-wez/metadata.xml
new file mode 100644
index 00000000000..ad84b7ad866
--- /dev/null
+++ b/media-video/atomicparsley-wez/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">wez/atomicparsley</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/atomicparsley/Manifest b/media-video/atomicparsley/Manifest
new file mode 100644
index 00000000000..8bd3e68d032
--- /dev/null
+++ b/media-video/atomicparsley/Manifest
@@ -0,0 +1 @@
+DIST AtomicParsley-source-0.9.0.zip 172616 SHA256 1344a66170e1f324eb43618763dbcfe984ca84c64ea8baf81e99e59657e082f7 SHA512 a4733893bb0d8bf824ee46d7da7f8c2ab9338ae56ea89810db1ac40282554e7e095b3e88631786b248a66aba878f166b9ac403769c66ef3ad45ac8ff7d411982 WHIRLPOOL d492ef1a3bbf77025362ae0fc36bae78e65e13b61e364cc810601f19a3e2d6662cb48a22758e4eabb6ba756aa75ea30e610cc46dfbaa47afc2f7c9e4f8df246f
diff --git a/media-video/atomicparsley/atomicparsley-0.9.0.ebuild b/media-video/atomicparsley/atomicparsley-0.9.0.ebuild
new file mode 100644
index 00000000000..9b6447a1d95
--- /dev/null
+++ b/media-video/atomicparsley/atomicparsley-0.9.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+MY_P=AtomicParsley-source-${PV}
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="command line program for reading, parsing and setting iTunes-style metadata in MPEG4 files"
+HOMEPAGE="http://atomicparsley.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-glibc-2.10.patch \
+ "${FILESDIR}"/${P}-environment.patch
+}
+
+src_compile() {
+ # APar_sha1.cpp:116:47 and 117:43: warning: dereferencing type-punned
+ # pointer will break strict-aliasing rules
+ append-flags -fno-strict-aliasing
+ tc-export CXX
+ ./build || die
+}
+
+src_install() {
+ dobin AtomicParsley
+ dodoc *.{txt,rtf}
+}
diff --git a/media-video/atomicparsley/files/atomicparsley-0.9.0-environment.patch b/media-video/atomicparsley/files/atomicparsley-0.9.0-environment.patch
new file mode 100644
index 00000000000..6db9c79a327
--- /dev/null
+++ b/media-video/atomicparsley/files/atomicparsley-0.9.0-environment.patch
@@ -0,0 +1,80 @@
+diff -ur AtomicParsley-source-0.9.0.orig/build AtomicParsley-source-0.9.0/build
+--- AtomicParsley-source-0.9.0.orig/build 2006-09-10 18:02:58.000000000 +0300
++++ AtomicParsley-source-0.9.0/build 2009-07-22 01:19:39.000000000 +0300
+@@ -39,45 +39,45 @@
+
+ echo "Compiling AP_commons.cpp ..."
+
+-g++ -g -O2 -Wall -MT obj_files/AP_commons.o -MD -MP -MF "./obj_files/AP_commons.Tpo" -c -o obj_files/AP_commons.o AP_commons.cpp
++${CXX} ${CXXFLAGS} -Wall -MT obj_files/AP_commons.o -MD -MP -MF "./obj_files/AP_commons.Tpo" -c -o obj_files/AP_commons.o AP_commons.cpp
+
+ echo "Compiling AtomicParsley_genres.cpp ..."
+
+-g++ -g -O2 -Wall -MT obj_files/AtomicParsley_genres.o -MD -MP -MF "./obj_files/AtomicParsley_genres.Tpo" -c -o obj_files/AtomicParsley_genres.o AtomicParsley_genres.cpp
++${CXX} ${CXXFLAGS} -Wall -MT obj_files/AtomicParsley_genres.o -MD -MP -MF "./obj_files/AtomicParsley_genres.Tpo" -c -o obj_files/AtomicParsley_genres.o AtomicParsley_genres.cpp
+
+ echo "Compiling AP_iconv.cpp ..."
+
+-g++ -g -O2 -Wall $EXTRA_CPP_FLAGS -MT AP_iconv.o -MD -MP -MF "./obj_files/AP_iconv.Tpo" -c -o obj_files/AP_iconv.o AP_iconv.cpp
++${CXX} ${CXXFLAGS} -Wall $EXTRA_CPP_FLAGS -MT AP_iconv.o -MD -MP -MF "./obj_files/AP_iconv.Tpo" -c -o obj_files/AP_iconv.o AP_iconv.cpp
+
+ if test $OS = Darwin ; then
+ echo "Compiling AP_NSFile_utils.mm ..."
+
+- g++ -g -O2 -Wall -MT obj_files/AP_NSFile_utils.o -MD -MP -MF "./obj_files/AP_NSFile_utils.Tpo" -c -o obj_files/AP_NSFile_utils.o AP_NSFile_utils.mm
++ ${CXX} ${CXXFLAGS} -Wall -MT obj_files/AP_NSFile_utils.o -MD -MP -MF "./obj_files/AP_NSFile_utils.Tpo" -c -o obj_files/AP_NSFile_utils.o AP_NSFile_utils.mm
+
+ echo "Compiling AP_NSImage.mm ..."
+
+- g++ -g -O2 -Wall -MT obj_files/AP_NSImage.o -MD -MP -MF "./obj_files/AP_NSImage.Tpo" -c -o obj_files/AP_NSImage.o AP_NSImage.mm
++ ${CXX} ${CXXFLAGS} -Wall -MT obj_files/AP_NSImage.o -MD -MP -MF "./obj_files/AP_NSImage.Tpo" -c -o obj_files/AP_NSImage.o AP_NSImage.mm
+ fi
+
+ echo "Compiling AtomicParsley.cpp ..."
+
+-g++ -g -O2 -Wall -Wno-unused $EXTRA_CPP_FLAGS -MT obj_files/AtomicParsley.o -MD -MP -MF "./obj_files/AtomicParsley.Tpo" -c -o obj_files/AtomicParsley.o AtomicParsley.cpp
++${CXX} ${CXXFLAGS} -Wall -Wno-unused $EXTRA_CPP_FLAGS -MT obj_files/AtomicParsley.o -MD -MP -MF "./obj_files/AtomicParsley.Tpo" -c -o obj_files/AtomicParsley.o AtomicParsley.cpp
+
+ echo "Compiling AP_AtomExtracts.cpp ..."
+
+-g++ -g -O2 -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/AP_AtomExtracts.o -MD -MP -MF "./obj_files/AP_AtomExtracts.Tpo" -c -o obj_files/AP_AtomExtracts.o AP_AtomExtracts.cpp
++${CXX} ${CXXFLAGS} -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/AP_AtomExtracts.o -MD -MP -MF "./obj_files/AP_AtomExtracts.Tpo" -c -o obj_files/AP_AtomExtracts.o AP_AtomExtracts.cpp
+
+ echo "Compiling APar_sha1.cpp ..."
+
+-g++ -g -O2 -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/APar_sha1.o -MD -MP -MF "./obj_files/APar_sha1.Tpo" -c -o obj_files/APar_sha1.o APar_sha1.cpp
++${CXX} ${CXXFLAGS} -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/APar_sha1.o -MD -MP -MF "./obj_files/APar_sha1.Tpo" -c -o obj_files/APar_sha1.o APar_sha1.cpp
+
+ echo "Compiling APar_uuid.cpp ..."
+
+-g++ -g -O2 -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/APar_uuid.o -MD -MP -MF "./obj_files/APar_uuid.Tpo" -c -o obj_files/APar_uuid.o APar_uuid.cpp
++${CXX} ${CXXFLAGS} -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/APar_uuid.o -MD -MP -MF "./obj_files/APar_uuid.Tpo" -c -o obj_files/APar_uuid.o APar_uuid.cpp
+
+ echo "Compiling main.cpp ..."
+
+-g++ -g -O2 -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/main.o -MD -MP -MF "./obj_files/main.Tpo" -c -o obj_files/main.o main.cpp
++${CXX} ${CXXFLAGS} -Wall $EXTRA_CPP_FLAGS -I../AtomicParsley -MT obj_files/main.o -MD -MP -MF "./obj_files/main.Tpo" -c -o obj_files/main.o main.cpp
+
+ #---------------------------------------------#
+ # Linking #
+@@ -85,16 +85,16 @@
+ echo "Linking AtomicParsley..."
+
+ if test $OS = Darwin ; then
+- g++ -g -O2 -Wall -framework Cocoa -o AtomicParsley obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_NSFile_utils.o obj_files/AP_NSImage.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
++ ${CXX} ${LDFLAGS} -Wall -framework Cocoa -o AtomicParsley obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_NSFile_utils.o obj_files/AP_NSImage.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
+
+ elif test $OS = Linux ; then
+- g++ -O2 -Wall -o AtomicParsley obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
++ ${CXX} ${LDFLAGS} -Wall -o AtomicParsley obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
+
+ elif test $OS = CYGWIN ; then
+- g++ -g -O2 -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o -lgcc
++ ${CXX} ${LDFLAGS} -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o -lgcc
+
+ else
+- g++ -g -O2 -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
++ ${CXX} ${CXXFLAGS} -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
+ fi
+
+ #---------------------------------------------#
diff --git a/media-video/atomicparsley/files/atomicparsley-0.9.0-glibc-2.10.patch b/media-video/atomicparsley/files/atomicparsley-0.9.0-glibc-2.10.patch
new file mode 100644
index 00000000000..0397a4e42bc
--- /dev/null
+++ b/media-video/atomicparsley/files/atomicparsley-0.9.0-glibc-2.10.patch
@@ -0,0 +1,39 @@
+diff -ur AtomicParsley-source-0.9.0.orig/AtomicParsley.cpp AtomicParsley-source-0.9.0/AtomicParsley.cpp
+--- AtomicParsley-source-0.9.0.orig/AtomicParsley.cpp 2006-09-16 02:22:33.000000000 +0300
++++ AtomicParsley-source-0.9.0/AtomicParsley.cpp 2009-07-22 00:52:48.000000000 +0300
+@@ -1447,7 +1447,7 @@
+ uint32_t atom_offsets = 0;
+ char* uuid_outfile = (char*)calloc(1, sizeof(char)*MAXPATHLEN+1); //malloc a new string because it may be a cli arg for a specific output path
+ if (output_path == NULL) {
+- char* orig_suffix = strrchr(originating_file, '.');
++ const char* orig_suffix = strrchr(originating_file, '.');
+ if (orig_suffix == NULL) {
+ fprintf(stdout, "AP warning: a file extension for the input file was not found.\n\tGlobbing onto original filename...\n");
+ path_len = strlen(originating_file);
+@@ -4462,7 +4462,7 @@
+ #endif
+
+ void APar_DeriveNewPath(const char *filePath, char* temp_path, int output_type, const char* file_kind, char* forced_suffix, bool random_filename = true) {
+- char* suffix = NULL;
++ const char* suffix = NULL;
+ if (forced_suffix == NULL) {
+ suffix = strrchr(filePath, '.');
+ } else {
+@@ -4480,7 +4480,7 @@
+ memcpy(temp_path, filePath, base_len);
+ memcpy(temp_path + base_len, file_kind, strlen(file_kind));
+ #else
+- char* file_name = strrchr(filePath, '/');
++ const char* file_name = strrchr(filePath, '/');
+ size_t file_name_len = strlen(file_name);
+ memcpy(temp_path, filePath, filepath_len-file_name_len+1);
+ memcpy(temp_path + strlen(temp_path), ".", 1);
+@@ -5006,7 +5006,7 @@
+ free_modified_name = true;
+ if (forced_suffix_type == FORCE_M4B_TYPE) { //using --stik Audiobook with --overWrite will change the original file's extension
+ uint16_t filename_len = strlen(m4aFile);
+- char* suffix = strrchr(m4aFile, '.');
++ const char* suffix = strrchr(m4aFile, '.');
+ memcpy(originating_file, m4aFile, filename_len+1 );
+ memcpy(originating_file + (filename_len - strlen(suffix) ), ".m4b", 5 );
+ }
diff --git a/media-video/atomicparsley/metadata.xml b/media-video/atomicparsley/metadata.xml
new file mode 100644
index 00000000000..78fe4c411e5
--- /dev/null
+++ b/media-video/atomicparsley/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">atomicparsley</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/avidemux/Manifest b/media-video/avidemux/Manifest
new file mode 100644
index 00000000000..8c4b4ffa31f
--- /dev/null
+++ b/media-video/avidemux/Manifest
@@ -0,0 +1,7 @@
+DIST avidemux_2.5.6.tar.gz 14914123 SHA256 d6da7f2c4304368bd9c367a74a464b47d42fee9cada2960e70053d61c1ef9b8b SHA512 8a9dcfc61a396fc4f9f0a213269bcb574de0baa442d3165cfab0fe8e86309e7b0dd2ffe3e2d7ff8a8e6e3fd15da28699e8000367d92da0782fec6d5a38c1d77c WHIRLPOOL fecca87889b19a321a9fe13e734ca11a883c88152e5d59926ecd423b178bb26ef611ee00d8b2897f8a4a36a5c159d6c9f32733bc98fccced08532b8f060bd6ac
+DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
+DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf
+DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef
+DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f
+DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553
+DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6
diff --git a/media-video/avidemux/avidemux-2.5.6-r2.ebuild b/media-video/avidemux/avidemux-2.5.6-r2.ebuild
new file mode 100644
index 00000000000..8f92b5ed26a
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.5.6-r2.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit cmake-utils eutils flag-o-matic
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/avidemux"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="amd64 x86"
+IUSE="aac aften alsa amr gtk jack +mp3 nls opengl oss pulseaudio
+ qt4 sdl +truetype vorbis vpx +x264 +xv +xvid"
+
+RDEPEND="
+ dev-libs/libxml2
+ sys-libs/zlib
+ aac? (
+ media-libs/faac
+ media-libs/faad2
+ )
+ aften? ( media-libs/aften[cxx] )
+ alsa? ( media-libs/alsa-lib )
+ amr? ( media-libs/opencore-amr )
+ gtk? ( x11-libs/gtk+:2 )
+ jack? (
+ media-libs/libsamplerate
+ media-sound/jack-audio-connection-kit
+ )
+ mp3? ( media-sound/lame )
+ pulseaudio? ( media-sound/pulseaudio )
+ qt4? (
+ >=dev-qt/qtgui-4.6:4
+ opengl? (
+ virtual/opengl
+ >=dev-qt/qtopengl-4.6:4
+ )
+ )
+ sdl? ( media-libs/libsdl )
+ truetype? (
+ media-libs/freetype:2
+ media-libs/fontconfig
+ )
+ vorbis? ( media-libs/libvorbis )
+ vpx? ( media-libs/libvpx )
+ x264? ( media-libs/x264:= )
+ xv? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXv
+ )
+ xvid? ( media-libs/xvid )
+"
+DEPEND="${RDEPEND}
+ dev-lang/yasm
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+AVIDEMUX_LANGS="bg ca cs de el es fr it ja pt_BR ru sr sr@latin tr zh_TW"
+for lang in ${AVIDEMUX_LANGS}; do
+ IUSE+=" linguas_${lang}"
+done
+unset lang
+
+S=${WORKDIR}/${MY_P}
+BUILD_S=${WORKDIR}/${P}_build
+
+DOCS=( AUTHORS )
+PATCHES=(
+ "${FILESDIR}/${PN}-2.5.4-build-plugins-fix.patch"
+ "${FILESDIR}/${P}-ffmpeg-symbol-visibility.patch"
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ local lingua= po_files= qt_ts_files= avidemux_ts_files=
+ for lingua in ${LINGUAS}; do
+ if has ${lingua} ${AVIDEMUX_LANGS}; then
+ if [[ -e ${S}/po/${lingua}.po ]]; then
+ po_files+=" \${po_subdir}/${lingua}.po"
+ fi
+ if [[ -e ${S}/po/qt_${lingua}.ts ]]; then
+ qt_ts_files+=" \${ts_subdir}/qt_${lingua}.ts"
+ fi
+ if [[ -e ${S}/po/${PN}_${lingua}.ts ]]; then
+ avidemux_ts_files+=" \${ts_subdir}/${PN}_${lingua}.ts"
+ fi
+ fi
+ done
+
+ sed -i -e "s!FILE(GLOB po_files .*)!SET(po_files ${po_files})!" \
+ "${S}/cmake/Po.cmake" || die "sed failed"
+ sed -i -e "s!FILE(GLOB.*qt.*)!SET(ts_files ${qt_ts_files})!" \
+ -e "s!FILE(GLOB.*avidemux.*)!SET(ts_files ${avidemux_ts_files})!" \
+ "${S}/cmake/Ts.cmake" || die "sed failed"
+
+ # fix major issues in desktop files wrt bugs #291453, #316599, #430500
+ sed -i -re '/^(Exec|Path)/ s:\[\$e\]::' avidemux2-gtk.desktop || die
+ sed -i -re '/^Exec/ s:(avidemux2_)gtk:\1qt4:' avidemux2.desktop || die
+
+ # don't install Windows-only files
+ sed -i -e '/addons\/avsfilter/d' CMakeLists.txt || die
+}
+
+src_configure() {
+ # add lax vector typing for PowerPC
+ if use ppc || use ppc64; then
+ append-cflags -flax-vector-conversions
+ fi
+ # bug 432322
+ use x86 && replace-flags -O0 -O1
+
+ local mycmakeargs=(
+ -DAVIDEMUX_SOURCE_DIR="${S}"
+ -DAVIDEMUX_INSTALL_PREFIX="${BUILD_S}"
+ -DAVIDEMUX_CORECONFIG_DIR="${BUILD_S}/config"
+ -DARTS=OFF
+ -DESD=OFF
+ $(cmake-utils_use aac FAAC)
+ $(cmake-utils_use aac FAAD)
+ $(cmake-utils_use aften)
+ $(cmake-utils_use alsa)
+ $(cmake-utils_use amr OPENCORE_AMRNB)
+ $(cmake-utils_use amr OPENCORE_AMRWB)
+ $(cmake-utils_use gtk)
+ $(cmake-utils_use jack)
+ $(cmake-utils_use mp3 LAME)
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use_use opengl)
+ $(cmake-utils_use oss)
+ $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE)
+ $(cmake-utils_use qt4)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use truetype FREETYPE2)
+ $(cmake-utils_use truetype FONTCONFIG)
+ $(cmake-utils_use vorbis)
+ $(cmake-utils_use vorbis LIBVORBIS)
+ $(cmake-utils_use vpx VPXDEC)
+ $(cmake-utils_use x264)
+ $(cmake-utils_use xv XVIDEO)
+ $(cmake-utils_use xvid)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # first build the application
+ cmake-utils_src_compile -j1
+
+ # and then go on with plugins
+ emake -C "${CMAKE_BUILD_DIR}/plugins"
+}
+
+src_install() {
+ # install the application
+ cmake-utils_src_install
+
+ # install plugins
+ emake -C "${CMAKE_BUILD_DIR}/plugins" DESTDIR="${D}" install
+
+ newicon ${PN}_icon.png ${PN}.png
+ use gtk && domenu avidemux2-gtk.desktop
+ use qt4 && domenu avidemux2.desktop
+}
diff --git a/media-video/avidemux/avidemux-2.6.2-r1.ebuild b/media-video/avidemux/avidemux-2.6.2-r1.ebuild
new file mode 100644
index 00000000000..bc2cbd50e07
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.2-r1.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
+
+SLOT="2.6"
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+KEYWORDS="~amd64 ~x86"
+IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls qt4 sdl vorbis truetype xvid x264 xv"
+
+# TODO: Figure out which dependencies can be moved out of avidemux-core into here.
+RDEPEND="=media-libs/avidemux-core-${PV}-r1[aften?,a52?,alsa?,amr?,dts?,fontconfig?,jack?,lame?,libsamplerate?,cpu_flags_x86_mmx?,oss?,nls?,sdl?,vorbis?,truetype?,xvid?,x264?,xv?]
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
+DEPEND="$RDEPEND"
+PDEPEND="=media-libs/avidemux-plugins-${PV}-r2[aften?,a52?,alsa?,amr?,dts?,fontconfig?,jack?,lame?,libsamplerate?,cpu_flags_x86_mmx?,oss?,nls?,sdl?,vorbis?,truetype?,xvid?,x264?,xv?]"
+
+S="${WORKDIR}/${MY_P}"
+
+PROCESSES="buildCli:avidemux/cli"
+
+use qt4 && PROCESSES+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
+}
+
+src_configure() {
+ local x mycmakeargs
+
+ mycmakeargs="
+ $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
+ $(cmake-utils_use amr OPENCORE_AMRWB)
+ $(cmake-utils_use amr OPENCORE_AMRNB)
+ $(cmake-utils_use dts LIBDCA)
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use truetype FREETYPE2)
+ $(cmake-utils_use xv XVIDEO)
+ "
+ use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+ DEST="${PROCESS#*:}"
+
+ mkdir "${S}"/${SOURCE} || die "Can't create build folder."
+ cd "${S}"/${SOURCE} || die "Can't enter build folder."
+
+ cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ ${mycmakeargs} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
+ done
+}
+
+src_compile() {
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+ done
+}
+
+src_install() {
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ emake DESTDIR="${ED}" install
+ done
+
+ cd "${S}" || die "Can't enter source folder."
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+ use qt4 && fperms +x /usr/bin/avidemux3_qt4
+
+ newicon ${PN}_icon.png ${PN}-2.6.png
+ use qt4 && domenu ${PN}-2.6.desktop
+
+ dodoc AUTHORS README
+}
diff --git a/media-video/avidemux/avidemux-2.6.3.ebuild b/media-video/avidemux/avidemux-2.6.3.ebuild
new file mode 100644
index 00000000000..e3e59e0bdf3
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.3.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
+
+SLOT="2.6"
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug opengl nls qt4 sdl vdpau xv"
+
+DEPEND="=media-libs/avidemux-core-${PV}[nls?,sdl?,vdpau?,xv?]
+ opengl? ( virtual/opengl )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
+RDEPEND="$DEPEND"
+PDEPEND="=media-libs/avidemux-plugins-${PV}"
+
+S="${WORKDIR}/${MY_P}"
+
+PROCESSES="buildCli:avidemux/cli"
+
+use qt4 && PROCESSES+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
+}
+
+src_configure() {
+ local x mycmakeargs
+
+ mycmakeargs="
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl SDL)
+ $(cmake-utils_use vdpau VDPAU)
+ $(cmake-utils_use xv XVIDEO)
+ "
+ use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+ DEST="${PROCESS#*:}"
+
+ mkdir "${S}"/${SOURCE} || die "Can't create build folder."
+ cd "${S}"/${SOURCE} || die "Can't enter build folder."
+
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+ ${mycmakeargs} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
+ done
+}
+
+src_compile() {
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+ done
+}
+
+src_install() {
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ emake DESTDIR="${ED}" install
+ done
+
+ cd "${S}" || die "Can't enter source folder."
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+ use qt4 && fperms +x /usr/bin/avidemux3_qt4
+
+ newicon ${PN}_icon.png ${PN}-2.6.png
+ use qt4 && domenu ${PN}-2.6.desktop
+
+ dodoc AUTHORS README
+}
diff --git a/media-video/avidemux/avidemux-2.6.4.ebuild b/media-video/avidemux/avidemux-2.6.4.ebuild
new file mode 100644
index 00000000000..9390c328ffb
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.4.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
+
+SLOT="2.6"
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug opengl nls qt4 sdl vdpau xv"
+
+DEPEND="~media-libs/avidemux-core-${PV}[nls?,sdl?,vdpau?,xv?]
+ opengl? ( virtual/opengl )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ default
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}-2.6.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}-2.6.desktop
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl SDL)
+ $(cmake-utils_use vdpau VDPAU)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+}
+
+src_compile() {
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+
+ for process in ${processes} ; do
+ local source="${process%%:*}"
+
+ cd "${S}/${source}" || die "Can't enter build folder."
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+ done
+}
+
+src_install() {
+ for process in ${processes} ; do
+ local source="${process%%:*}"
+
+ cd "${S}/${source}" || die "Can't enter build folder."
+ emake DESTDIR="${ED}" install
+ done
+
+ cd "${S}" || die "Can't enter source folder."
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+ use qt4 && fperms +x /usr/bin/avidemux3_qt4
+
+ newicon ${PN}_icon.png ${PN}-2.6.png
+ use qt4 && domenu ${PN}-2.6.desktop
+
+ dodoc AUTHORS README
+}
diff --git a/media-video/avidemux/avidemux-2.6.5-r1.ebuild b/media-video/avidemux/avidemux-2.6.5-r1.ebuild
new file mode 100644
index 00000000000..1e8da39bf44
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.5-r1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+
+inherit cmake-utils eutils flag-o-matic l10n
+
+SLOT="2.6"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
+KEYWORDS="~amd64 ~x86"
+
+if [[ ${PV} == *9999* ]] ; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
+
+ inherit git-2
+else
+ MY_P="${PN}_${PV}"
+ SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+DEPEND="
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
+ opengl? ( virtual/opengl:0 )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )
+ vaapi? ( x11-libs/libva:0 )
+ video_cards_fglrx? (
+ || ( >=x11-drivers/ati-drivers-14.12-r3
+ x11-libs/xvba-video:0 )
+ )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
+ sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use vaapi LIBVA)
+ $(cmake-utils_use vdpau)
+ $(cmake-utils_use video_cards_fglrx XVBA)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+}
+
+src_compile() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
+ done
+}
+
+DOCS=( AUTHORS README )
+
+src_install() {
+ for process in ${processes} ; do
+ # cmake-utils_src_install doesn't respect BUILD_DIR
+ # and there sometimes is a preinstall phase present.
+ pushd "${S}/${process%%:*}" > /dev/null || die
+ grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast
+ grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast
+ popd > /dev/null || die
+ done
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+
+ cd "${S}" || die "Can't enter source folder."
+ newicon ${PN}_icon.png ${PN}-2.6.png
+
+ if use qt4 ; then
+ fperms +x /usr/bin/avidemux3_qt4
+ domenu ${PN}-2.6.desktop
+ fi
+}
diff --git a/media-video/avidemux/avidemux-2.6.5.ebuild b/media-video/avidemux/avidemux-2.6.5.ebuild
new file mode 100644
index 00000000000..fa60e2250e6
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.5.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+
+inherit cmake-utils eutils flag-o-matic l10n
+
+SLOT="2.6"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
+KEYWORDS="~amd64 ~x86"
+
+if [[ ${PV} == *9999* ]] ; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
+
+ inherit git-2
+else
+ MY_P="${PN}_${PV}"
+ SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+DEPEND="
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
+ opengl? ( virtual/opengl:0 )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )
+ vaapi? ( x11-libs/libva:0 )
+ video_cards_fglrx? (
+ || ( >=x11-drivers/ati-drivers-14.12-r3
+ x11-libs/xvba-video:0 )
+ )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
+ sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use vaapi LIBVA)
+ $(cmake-utils_use vdpau)
+ $(cmake-utils_use video_cards_fglrx XVBA)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+}
+
+src_compile() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
+ done
+}
+
+DOCS=( AUTHORS README )
+
+src_install() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
+ done
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+
+ cd "${S}" || die "Can't enter source folder."
+ newicon ${PN}_icon.png ${PN}-2.6.png
+
+ if use qt4 ; then
+ fperms +x /usr/bin/avidemux3_qt4
+ domenu ${PN}-2.6.desktop
+ fi
+}
diff --git a/media-video/avidemux/avidemux-2.6.7.ebuild b/media-video/avidemux/avidemux-2.6.7.ebuild
new file mode 100644
index 00000000000..c978ae6479c
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.7.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+
+inherit cmake-utils eutils flag-o-matic l10n
+
+SLOT="2.6"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
+KEYWORDS="~amd64 ~x86"
+
+if [[ ${PV} == *9999* ]] ; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
+
+ inherit git-2
+else
+ MY_P="${PN}_${PV}"
+ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+DEPEND="
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
+ opengl? ( virtual/opengl:0 )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )
+ vaapi? ( x11-libs/libva:0 )
+ video_cards_fglrx? (
+ || ( >=x11-drivers/ati-drivers-14.12-r3
+ x11-libs/xvba-video:0 )
+ )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
+ sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use vaapi LIBVA)
+ $(cmake-utils_use vdpau)
+ $(cmake-utils_use video_cards_fglrx XVBA)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+}
+
+src_compile() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
+ done
+}
+
+DOCS=( AUTHORS README )
+
+src_install() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
+ done
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+
+ cd "${S}" || die "Can't enter source folder."
+ newicon ${PN}_icon.png ${PN}-2.6.png
+
+ if use qt4 ; then
+ fperms +x /usr/bin/avidemux3_qt4
+ domenu ${PN}-2.6.desktop
+ fi
+}
diff --git a/media-video/avidemux/avidemux-2.6.8.ebuild b/media-video/avidemux/avidemux-2.6.8.ebuild
new file mode 100644
index 00000000000..c978ae6479c
--- /dev/null
+++ b/media-video/avidemux/avidemux-2.6.8.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+
+inherit cmake-utils eutils flag-o-matic l10n
+
+SLOT="2.6"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
+KEYWORDS="~amd64 ~x86"
+
+if [[ ${PV} == *9999* ]] ; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
+
+ inherit git-2
+else
+ MY_P="${PN}_${PV}"
+ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+DEPEND="
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
+ opengl? ( virtual/opengl:0 )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )
+ vaapi? ( x11-libs/libva:0 )
+ video_cards_fglrx? (
+ || ( >=x11-drivers/ati-drivers-14.12-r3
+ x11-libs/xvba-video:0 )
+ )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
+ sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use vaapi LIBVA)
+ $(cmake-utils_use vdpau)
+ $(cmake-utils_use video_cards_fglrx XVBA)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+}
+
+src_compile() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
+ done
+}
+
+DOCS=( AUTHORS README )
+
+src_install() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
+ done
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+
+ cd "${S}" || die "Can't enter source folder."
+ newicon ${PN}_icon.png ${PN}-2.6.png
+
+ if use qt4 ; then
+ fperms +x /usr/bin/avidemux3_qt4
+ domenu ${PN}-2.6.desktop
+ fi
+}
diff --git a/media-video/avidemux/avidemux-9999.ebuild b/media-video/avidemux/avidemux-9999.ebuild
new file mode 100644
index 00000000000..c978ae6479c
--- /dev/null
+++ b/media-video/avidemux/avidemux-9999.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+
+inherit cmake-utils eutils flag-o-matic l10n
+
+SLOT="2.6"
+
+DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
+HOMEPAGE="http://fixounet.free.fr/${PN}"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv"
+KEYWORDS="~amd64 ~x86"
+
+if [[ ${PV} == *9999* ]] ; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git"
+
+ inherit git-2
+else
+ MY_P="${PN}_${PV}"
+ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+DEPEND="
+ ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?]
+ opengl? ( virtual/opengl:0 )
+ qt4? ( >=dev-qt/qtgui-4.8.3:4 )
+ vaapi? ( x11-libs/libva:0 )
+ video_cards_fglrx? (
+ || ( >=x11-drivers/ati-drivers-14.12-r3
+ x11-libs/xvba-video:0 )
+ )"
+RDEPEND="$DEPEND"
+PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]"
+
+S="${WORKDIR}/${MY_P}"
+
+processes="buildCli:avidemux/cli"
+use qt4 && processes+=" buildQt4:avidemux/qt4"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix icon name -> avidemux-2.6.png
+ sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed."
+
+ # The desktop file is broken. It uses avidemux2 instead of avidemux3
+ # so it will actually launch avidemux-2.5 if it is installed.
+ sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed."
+ sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Fix QA warnings that complain a trailing ; is missing and Application is deprecated.
+ sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed."
+
+ # Now rename the desktop file to not collide with 2.5.
+ mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed."
+
+ # Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628)
+ sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog."
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DAVIDEMUX_SOURCE_DIR='${S}'
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use sdl)
+ $(cmake-utils_use vaapi LIBVA)
+ $(cmake-utils_use vdpau)
+ $(cmake-utils_use video_cards_fglrx XVBA)
+ $(cmake-utils_use xv XVIDEO)
+ "
+
+ if use debug ; then
+ mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1"
+ fi
+
+ for process in ${processes} ; do
+ local build="${process%%:*}"
+
+ mkdir "${S}"/${build} || die "Can't create build folder."
+ cd "${S}"/${build} || die "Can't enter build folder."
+ CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure
+ done
+
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+}
+
+src_compile() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile
+ done
+}
+
+DOCS=( AUTHORS README )
+
+src_install() {
+ for process in ${processes} ; do
+ BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install
+ done
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
+ fperms +x /usr/bin/avidemux3_cli
+ fi
+
+ if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
+ fperms +x /usr/bin/avidemux3_jobs
+ fi
+
+ cd "${S}" || die "Can't enter source folder."
+ newicon ${PN}_icon.png ${PN}-2.6.png
+
+ if use qt4 ; then
+ fperms +x /usr/bin/avidemux3_qt4
+ domenu ${PN}-2.6.desktop
+ fi
+}
diff --git a/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch b/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch
new file mode 100644
index 00000000000..66b44ad6986
--- /dev/null
+++ b/media-video/avidemux/files/avidemux-2.5.4-build-plugins-fix.patch
@@ -0,0 +1,13 @@
+Index: avidemux_2.5.4/CMakeLists.txt
+===================================================================
+--- avidemux_2.5.4.orig/CMakeLists.txt
++++ avidemux_2.5.4/CMakeLists.txt
+@@ -205,7 +205,7 @@ ADD_SUBDIRECTORY(avidemux)
+ ADD_SUBDIRECTORY(po)
+ ADD_SUBDIRECTORY(scripts)
+ # MEANX : DOES NOT WORK ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
+-
++ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
+ ########################################
+ # Config Summary
+ ########################################
diff --git a/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch b/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch
new file mode 100644
index 00000000000..3251209800a
--- /dev/null
+++ b/media-video/avidemux/files/avidemux-2.5.6-ffmpeg-symbol-visibility.patch
@@ -0,0 +1,20 @@
+--- branches/avidemux_2.5_branch_gruntster/cmake/patches/libavcodec_libavcodec.v.patch 2011/12/15 11:09:11 7699
++++ branches/avidemux_2.5_branch_gruntster/cmake/patches/libavcodec_libavcodec.v.patch 2012/03/15 07:19:34 7750
+@@ -1,11 +1,12 @@
+---- ../ffmpeg-0.9/libavcodec/libavcodec.v 2011-12-14 15:00:29 +0000
+-+++ libavcodec/libavcodec.v 2011-12-14 15:00:28 +0000
+-@@ -25,5 +25,8 @@
++--- libavcodec/libavcodec.v.old 2012-03-04 08:36:22.038330656 +0100
+++++ libavcodec/libavcodec.v 2012-03-04 08:36:44.128330633 +0100
++@@ -25,5 +25,9 @@
+ ff_mmxext_idct;
+ ff_idct_xvid*;
+ ff_jpeg_fdct*;
+ + ff_h264_info;
+-+ ff_golomb_vlc_len;
+-+ ff_ue_golomb_vlc_code;
+++ ff_golomb_vlc_len;
+++ ff_ue_golomb_vlc_code;
+++ ff_se_golomb_vlc_code;
+ local: *;
+ };
diff --git a/media-video/avidemux/metadata.xml b/media-video/avidemux/metadata.xml
new file mode 100644
index 00000000000..3f82cb4412c
--- /dev/null
+++ b/media-video/avidemux/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <use>
+ <flag name="aften">Enable A/52 (AC-3) audio encoder support.</flag>
+ <flag name="amr">Enable Adaptive Multi-Rate format support via <pkg>media-libs/opencore-amr</pkg>.</flag>
+ <flag name="vpx">Enable VP8 codec support via <pkg>media-libs/libvpx</pkg>.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">avidemux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/avinfo/Manifest b/media-video/avinfo/Manifest
new file mode 100644
index 00000000000..6bc8dbef9f3
--- /dev/null
+++ b/media-video/avinfo/Manifest
@@ -0,0 +1,3 @@
+DIST avinfo-1.0.a15unix-patch1.tar.gz 5665 RMD160 df4ce2cb51a9c57845345bf5602db17dc3831c23 SHA1 9d2033388f07e703aa07db0c4e057d5a6e06ea23 SHA256 b239c7a414dc92e4a6d3881801e981e71f66242d0e38ffae774a3a0f8c8bdf81
+DIST avinfo-1.0.a15unix.tar.gz 105743 RMD160 8a8082b90b05a1371087aa5ac74197fc6332e5c9 SHA1 2744b9112c3f6ed0a3ec5b32e0db67fb403943c8 SHA256 3e3404a76e6057c1703e0c49b63910a8ffcb5ea15ae7b2d0a7d2ede4b4c19887
+DIST avinfo-1.0a15.zip 140885 RMD160 9358cd885b904df4e15587ac77aa85f92f5739c9 SHA1 a93baef29b222aded6c88339bb2ea3fb29d27fd6 SHA256 f0c5e165091c170fd45f3a398b0ae59522da8a885ea96291cd134365194ef8df
diff --git a/media-video/avinfo/avinfo-1.0_alpha15.ebuild b/media-video/avinfo/avinfo-1.0_alpha15.ebuild
new file mode 100644
index 00000000000..5fcfb99306d
--- /dev/null
+++ b/media-video/avinfo/avinfo-1.0_alpha15.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+MY_P="${PN}-1.0a15"
+DESCRIPTION="Utility for displaying AVI information"
+HOMEPAGE="http://shounen.ru/soft/avinfo/english.shtml"
+SRC_URI="http://shounen.ru/soft/avinfo/${MY_P}.zip"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+
+IUSE=""
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_compile() {
+ cd src
+ emake CFLAGS="${CFLAGS}" OUTPUTNAME=avinfo || die
+}
+
+src_install() {
+ dobin src/avinfo
+ dodoc CHANGELOG README
+ dodoc doc/*
+}
diff --git a/media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild b/media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild
new file mode 100644
index 00000000000..40a44c7d877
--- /dev/null
+++ b/media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}-1.0.a15unix
+
+DESCRIPTION="Utility for displaying AVI information"
+HOMEPAGE="http://shounen.ru/soft/avinfo/english.shtml"
+SRC_URI="http://shounen.ru/soft/${PN}/${MY_P}.tar.gz
+ http://shounen.ru/soft/${PN}/${MY_P}-patch1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+S="${WORKDIR}"/${PN}-1.0.a15
+
+src_prepare() {
+ epatch "${WORKDIR}"/${MY_P}-patch1/${MY_P}-patch1.diff
+ sed -i -e 's/$(CC) $(OBJ)/$(CC) $(LDFLAGS) $(OBJ)/' src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin src/avinfo
+ doman src/avinfo.1
+ dodoc CHANGELOG README "${WORKDIR}"/${MY_P}-patch1/FIXES
+ dodoc doc/*
+}
diff --git a/media-video/avinfo/metadata.xml b/media-video/avinfo/metadata.xml
new file mode 100644
index 00000000000..edccfe5754d
--- /dev/null
+++ b/media-video/avinfo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+<email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/baka-mplayer/Manifest b/media-video/baka-mplayer/Manifest
new file mode 100644
index 00000000000..0cd28638cf6
--- /dev/null
+++ b/media-video/baka-mplayer/Manifest
@@ -0,0 +1,2 @@
+DIST baka-mplayer-2.0.2.tar.gz 462702 SHA256 01f1cf3b369940deec5ee1ecfa1b39cac2ff7aaa17d2456976808ceea6d60a31 SHA512 3a134b60eca00ebe53223d6d2a12b7fa09902615d0a71522f2bb2bc6d818539ab93a46744de9fc554a4ee8b0918378cf28cd1f096136dffef37547d2fae67259 WHIRLPOOL dd65cd801f030895bcdc6c25301fa7813b6fb920c47af49e34d789140e16eb9dfc276d12ff6d7f27edcd2fb417fe7c638bff696317458eda084d1e01929903b1
+DIST baka-mplayer-2.0.3.tar.gz 568077 SHA256 d325d5b50d96952c1d216ffe3050bd6a009fc076fd37a4fe2d3f370658cdb5b9 SHA512 af2e79a318c8a119ef20c8721e42fa3a6c4900b5baf50613ba9de7c64cdaabbb08f0a31fc589460b544a8b67d662088cac2cdf3cc808ae128948a84882df13ab WHIRLPOOL d3f438768238787c2cf03b640641168b17e66dd570158b29076faffee25f0b0bfbe3667b6c270420bb8aef7c6325a8ba388ead67142e68f9163c9272919a439b
diff --git a/media-video/baka-mplayer/baka-mplayer-2.0.2.ebuild b/media-video/baka-mplayer/baka-mplayer-2.0.2.ebuild
new file mode 100644
index 00000000000..fbc8e1b7a56
--- /dev/null
+++ b/media-video/baka-mplayer/baka-mplayer-2.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit qmake-utils
+
+DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design"
+HOMEPAGE="http://bakamplayer.u8sand.net/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-video/mpv[libmpv]
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/Baka-MPlayer-${PV}"
+
+src_prepare() {
+ # no need to install license
+ sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
+ # put manual in our docdir
+ sed -e '/^manual.path/s:yer:yer-'${PV}':' -i src/Baka-MPlayer.pro || die
+}
+
+src_configure() {
+ eqmake5 INSTROOT="${D}" CONFIG+=install_translations src/Baka-MPlayer.pro
+}
diff --git a/media-video/baka-mplayer/baka-mplayer-2.0.3.ebuild b/media-video/baka-mplayer/baka-mplayer-2.0.3.ebuild
new file mode 100644
index 00000000000..ab14dbf26b3
--- /dev/null
+++ b/media-video/baka-mplayer/baka-mplayer-2.0.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit qmake-utils
+
+DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design"
+HOMEPAGE="http://bakamplayer.u8sand.net/"
+SRC_URI="https://github.com/u8sand/Baka-MPlayer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-video/mpv[libmpv]
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/Baka-MPlayer-${PV}"
+
+src_prepare() {
+ # no need to install license
+ sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
+ # put manual in our docdir
+ sed -e '/^manual.path/s:yer:yer-'${PV}':' -i src/Baka-MPlayer.pro || die
+}
+
+src_configure() {
+ eqmake5 INSTROOT="${D}" CONFIG+=install_translations src/Baka-MPlayer.pro
+}
diff --git a/media-video/baka-mplayer/metadata.xml b/media-video/baka-mplayer/metadata.xml
new file mode 100644
index 00000000000..3dd50468e98
--- /dev/null
+++ b/media-video/baka-mplayer/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <herd>video</herd>
+</pkgmetadata>
diff --git a/media-video/bangarang/Manifest b/media-video/bangarang/Manifest
new file mode 100644
index 00000000000..bbe45b00854
--- /dev/null
+++ b/media-video/bangarang/Manifest
@@ -0,0 +1 @@
+DIST bangarang-2.1.tar.gz 698339 SHA256 c15366ac014e0da84432f0ee050bb3c1d2aee3c69d0c7f41c40aa399ce5597bc SHA512 849716a8897efd9fbb6e69a9ebcc85a3e3809ebef5e7f080fbd410634f1de592eca7d7d6e37db0c7d3ec5941783b974f17131ad9f3653e7878d2d60ea2e77e27 WHIRLPOOL 73151686a2e85bce185391c60f3f9ecb1b5162ae9516a225da274c70f6d27cd390689888591a9331f42c18538bbfc5e180a8b86a13798d4e215c793b0766ade3
diff --git a/media-video/bangarang/bangarang-2.1-r2.ebuild b/media-video/bangarang/bangarang-2.1-r2.ebuild
new file mode 100644
index 00000000000..15f4da9efbf
--- /dev/null
+++ b/media-video/bangarang/bangarang-2.1-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="cs da de el es fi fr hu it lt nl pl pt pt_BR ru uk zh_CN"
+KDE_SCM="git"
+KDE_MINIMAL="4.13.1"
+inherit kde4-base
+
+DESCRIPTION="Media player for KDE utilizing Nepomuk for tagging"
+HOMEPAGE="http://bangarangkde.wordpress.com"
+[[ ${PV} == 9999 ]] || SRC_URI="http://bangarangissuetracking.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="amd64 x86"
+SLOT="4"
+IUSE="debug"
+
+RDEPEND="
+ dev-libs/soprano
+ $(add_kdebase_dep kdelibs 'nepomuk')
+ $(add_kdeapps_dep nepomuk)
+ $(add_kdeapps_dep audiocd-kio)
+ media-libs/taglib
+ media-libs/phonon[qt4]
+ dev-qt/qtscript:4
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" )
+
+S=${WORKDIR}/bangarang-bangarang
diff --git a/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch b/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch
new file mode 100644
index 00000000000..d4f650b9caf
--- /dev/null
+++ b/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch
@@ -0,0 +1,45 @@
+commit b893fcdb7ddfc8c59fd29a29b7265a713c3dbab1
+Author: Alex Fiestas <afiestas@kde.org>
+Date: Thu Mar 29 10:09:22 2012 +0200
+
+ Build fix: Add unistd.h include since sleep is defined there
+
+diff --git a/src/platform/infofetchers/lastfminfofetcher.cpp b/src/platform/infofetchers/lastfminfofetcher.cpp
+index 0c49d69..fcc4cd3 100644
+--- a/src/platform/infofetchers/lastfminfofetcher.cpp
++++ b/src/platform/infofetchers/lastfminfofetcher.cpp
+@@ -32,6 +32,8 @@
+ #include <QFile>
+ #include <QTextEdit>
+
++#include <unistd.h>
++
+ LastfmInfoFetcher::LastfmInfoFetcher(QObject *parent) :
+ InfoFetcher(parent)
+ {
+diff --git a/src/platform/infofetchers/tmdbinfofetcher.cpp b/src/platform/infofetchers/tmdbinfofetcher.cpp
+index 7801644..3c01960 100644
+--- a/src/platform/infofetchers/tmdbinfofetcher.cpp
++++ b/src/platform/infofetchers/tmdbinfofetcher.cpp
+@@ -30,6 +30,8 @@
+ #include <QDomDocument>
+ #include <QFile>
+
++#include <unistd.h>
++
+ TMDBInfoFetcher::TMDBInfoFetcher(QObject *parent) :
+ InfoFetcher(parent)
+ {
+diff --git a/src/platform/infofetchers/tvdbinfofetcher.cpp b/src/platform/infofetchers/tvdbinfofetcher.cpp
+index ff351b0..670ed18 100644
+--- a/src/platform/infofetchers/tvdbinfofetcher.cpp
++++ b/src/platform/infofetchers/tvdbinfofetcher.cpp
+@@ -30,6 +30,8 @@
+ #include <QDomDocument>
+ #include <QFile>
+
++#include <unistd.h>
++
+ TVDBInfoFetcher::TVDBInfoFetcher(QObject *parent) :
+ InfoFetcher(parent)
+ {
diff --git a/media-video/bangarang/metadata.xml b/media-video/bangarang/metadata.xml
new file mode 100644
index 00000000000..28122f21bec
--- /dev/null
+++ b/media-video/bangarang/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <upstream>
+ <remote-id type="google-code">bangarangissuetracking</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/bashnapi/Manifest b/media-video/bashnapi/Manifest
new file mode 100644
index 00000000000..5d8e70316fe
--- /dev/null
+++ b/media-video/bashnapi/Manifest
@@ -0,0 +1 @@
+DIST napi_v1.1.5_subotage_0.15.tgz 38080 SHA256 7748a94bcefcbf840f4a7a13fcda2df6442de049f453baa8ff4d4158e21a47d3 SHA512 a8f2b79a3d0767c99af448e7ec9fb8d9b2048876f966ab7ef07c17b7935066387dd20e9535f43947266810d66d28e5e2d02cffc5f033c65112c10744506e86f5 WHIRLPOOL 9dd9c62dfcae68df02d022ce264030290b8d2097fbab7600770e1288c3c44321c65a54ea60e45ad8c30ce0afb8ec4b02fc8cbfdef4a62847fd821ceebf001b02
diff --git a/media-video/bashnapi/bashnapi-1.1.5.ebuild b/media-video/bashnapi/bashnapi-1.1.5.ebuild
new file mode 100644
index 00000000000..11dac0894ad
--- /dev/null
+++ b/media-video/bashnapi/bashnapi-1.1.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+SUB_VER=0.15
+MY_TAR=napi_v${PV}_subotage_${SUB_VER}
+
+DESCRIPTION="Napiprojekt.pl subtitle downloader in bash"
+HOMEPAGE="http://sourceforge.net/projects/bashnapi/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_TAR}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/napi
+
+src_install() {
+ default # for docs
+
+ dobin napi.sh
+}
+
+pkg_postinst() {
+ elog "Optional runtime dependencies:"
+ elog
+ elog " \033[1mmedia-video/subotage\033[0m for subtitle format conversion"
+ elog
+ elog " \033[1mmedia-video/mediainfo\033[0m"
+ elog "or \033[1mmedia-video/mplayer\033[0m for FPS detection (for conversion)"
+}
diff --git a/media-video/bashnapi/metadata.xml b/media-video/bashnapi/metadata.xml
new file mode 100644
index 00000000000..e110571d2fb
--- /dev/null
+++ b/media-video/bashnapi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">bashnapi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/bbtools/Manifest b/media-video/bbtools/Manifest
new file mode 100644
index 00000000000..a89c1e17731
--- /dev/null
+++ b/media-video/bbtools/Manifest
@@ -0,0 +1 @@
+DIST bbtool19_src.zip 68080 RMD160 2b155ba8f3b0e78a4398802f624e91898fc4903f SHA1 f82c4a1529117794991258f54f6016e728cadf89 SHA256 69e0b0b2b2f3b1e60f7b5391df3e41b0355612243c2591916fd510d9813a3b2d
diff --git a/media-video/bbtools/bbtools-1.9.ebuild b/media-video/bbtools/bbtools-1.9.ebuild
new file mode 100644
index 00000000000..d7a261741f7
--- /dev/null
+++ b/media-video/bbtools/bbtools-1.9.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="bbdmux, bbinfo, bbvinfo and bbainfo from Brent Beyeler"
+HOMEPAGE="http://members.cox.net/beyeler/bbmpeg.html"
+SRC_URI="http://files.digital-digest.com/downloads/files/encode/bbtool${PV/./}_src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+ mv BBINFO.cpp bbinfo.cpp || die
+ mv BITS.CPP bits.cpp || die
+ mv BITS.H bits.h || die
+ mv bbdmux.CPP bbdmux.cpp || die
+ rm *.ide
+ edos2unix *.cpp *.h
+
+ epatch "${FILESDIR}"/bbtools-${PV}-gentoo.patch
+
+ append-lfs-flags
+ tc-export CXX
+}
+
+src_install() {
+ dobin bbainfo bbdmux bbinfo bbvinfo
+}
diff --git a/media-video/bbtools/files/bbtools-1.9-gentoo.patch b/media-video/bbtools/files/bbtools-1.9-gentoo.patch
new file mode 100644
index 00000000000..7f9ff7ab627
--- /dev/null
+++ b/media-video/bbtools/files/bbtools-1.9-gentoo.patch
@@ -0,0 +1,78 @@
+--- bits.h
++++ bits.h 2003-10-20 22:04:30.000000000 +0000
+@@ -15,4 +15,4 @@
+ int seek_sync(unsigned int sync, int N);
+ unsigned int look_ahead(int N);
+
+-
++#define strlwr(x)
+--- bbainfo.cpp
++++ bbainfo.cpp 2003-10-20 22:19:15.000000000 +0000
+@@ -97,8 +97,8 @@
+ {
+ int i, framesize, skip;
+
+- framesize = bitrate_index[3 - layer][bit_rate] /
+- frequency[freq] * slots[3 - layer];
++ framesize = (int) (bitrate_index[3 - layer][bit_rate] /
++ frequency[freq] * slots[3 - layer]);
+
+ if (padding_bit)
+ framesize++;
+--- bbinfo.cpp
++++ bbinfo.cpp 2003-10-20 22:16:43.000000000 +0000
+@@ -984,7 +984,7 @@
+ bit_rate = (k & 0xF0) >> 4;
+ freq = (k & 0x0C) >> 2;
+ padding_bit = (k & 0x02) >> 1;
+- audio_sync[i] = ((bitrate_index[3 - layer][bit_rate] /
++ audio_sync[i] = (int) ((bitrate_index[3 - layer][bit_rate] /
+ frequency[freq]) * slots[3 - layer]) - 4;
+ if (padding_bit)
+ audio_sync[i] += 1;
+@@ -1274,7 +1274,7 @@
+ bit_rate = (k & 0xF0) >> 4;
+ freq = (k & 0x0C) >> 2;
+ padding_bit = (k & 0x02) >> 1;
+- audio_sync[i] = ((bitrate_index[3 - layer][bit_rate] /
++ audio_sync[i] = (int) ((bitrate_index[3 - layer][bit_rate] /
+ frequency[freq]) * slots[3 - layer]) - 4;
+
+ if (padding_bit)
+@@ -2198,7 +2198,7 @@
+ bit_rate = (k & 0xF0) >> 4;
+ freq = (k & 0x0C) >> 2;
+ padding_bit = (k & 0x02) >> 1;
+- streams[PID]->audio_sync = ((bitrate_index[3 - layer][bit_rate] /
++ streams[PID]->audio_sync = (int) ((bitrate_index[3 - layer][bit_rate] /
+ frequency[freq]) * slots[3 - layer]) - 4;
+ if (padding_bit)
+ streams[PID]->audio_sync += 1;
+--- Makefile
++++ Makefile 2003-10-20 22:26:07.000000000 +0000
+@@ -0,0 +1,25 @@
++all: bbainfo bbdmux bbinfo bbvinfo
++
++bbdmux: bits.o bbdmux.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -lm -o $@
++
++bbinfo: bits.o bbinfo.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -lm -o $@
++
++bbvinfo: bits.o bbvinfo.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -lm -o $@
++
++bbainfo: bits.o bbainfo.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -lm -o $@
++
++%.o: %.c
++ $(CXX) $(CXXFLAGS) -c -o $@ $<
++
++clean:
++ rm -f bbainfo bbdmux bbinfo bbvinfo core *.o
++
++bbainfo.o: bbainfo.cpp bits.h
++bbdmux.o: bbdmux.cpp bits.h
++bbinfo.o: bbinfo.cpp bits.h
++bbvinfo.o: bbvinfo.cpp bits.h
++bits.o: bits.cpp bits.h
diff --git a/media-video/bbtools/metadata.xml b/media-video/bbtools/metadata.xml
new file mode 100644
index 00000000000..421b9241a8c
--- /dev/null
+++ b/media-video/bbtools/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+bbtools is a package of 4 small tools written by Brent Beyeler.
+
+bbdmux: an MPEG-1 or MPEG-2 program/transport stream de-multiplexer
+bbinfo: an MPEG-1 or MPEG-2 program/transport stream analyzer
+bbvinfo: an MPEG-1 or MPEG-2 video stream analyzer
+bbainfo: an MPEG-1 audio stream analyzer
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-video/bdsup2sub/Manifest b/media-video/bdsup2sub/Manifest
new file mode 100644
index 00000000000..ed4509dc5ad
--- /dev/null
+++ b/media-video/bdsup2sub/Manifest
@@ -0,0 +1,2 @@
+DIST bdsup2sub-4.0.0.tar.xz 199796 SHA256 72d06f013ab13a89e213ada48e0b43dc8abee87e8eb16ba2d07b5d1a96f69569
+DIST xdg-20100731.java.xz 648 SHA256 b6a189323fcc25ae5bebc006d870b4191a3bec34c80de7e337e5ed8a39f332c6
diff --git a/media-video/bdsup2sub/bdsup2sub-4.0.0-r1.ebuild b/media-video/bdsup2sub/bdsup2sub-4.0.0-r1.ebuild
new file mode 100644
index 00000000000..d03e9ede7d1
--- /dev/null
+++ b/media-video/bdsup2sub/bdsup2sub-4.0.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+XDG_P="xdg-20100731"
+
+DESCRIPTION="A tool to convert and tweak bitmap based subtitle streams"
+HOMEPAGE="http://bdsup2sub.javaforge.com/help.htm"
+SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz
+ http://sbriesen.de/gentoo/distfiles/${XDG_P}.java.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/xz-utils"
+
+S="${WORKDIR}/${PN}/${PV}"
+
+java_prepare() {
+ # apply XDG patch
+ cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java"
+ epatch "${FILESDIR}/${P}-xdg.patch"
+
+ # copy build.xml
+ cp -f "${FILESDIR}/build-${PV}.xml" build.xml || die
+}
+
+src_compile() {
+ eant build $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar dist/BDSup2Sub.jar
+ java-pkg_dolauncher BDSup2Sub --main BDSup2Sub --java_args -Xmx256m
+ newicon bin_copy/icon_32.png BDSup2Sub.png
+ make_desktop_entry BDSup2Sub BDSup2Sub BDSup2Sub
+ use doc && java-pkg_dojavadoc apidocs
+ use source && java-pkg_dosrc src
+}
diff --git a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
new file mode 100644
index 00000000000..4a045d31b19
--- /dev/null
+++ b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
@@ -0,0 +1,37 @@
+diff -Naur src.orig/deadbeef/SupTools/Core.java src/deadbeef/SupTools/Core.java
+--- src.orig/deadbeef/SupTools/Core.java 2010-07-28 22:56:08.319223422 +0200
++++ src/deadbeef/SupTools/Core.java 2010-07-28 22:56:08.890223411 +0200
+@@ -22,6 +22,8 @@
+ import deadbeef.Tools.Props;
+ import deadbeef.Tools.ToolBox;
+
++import java.io.File;
++
+ /*
+ * Copyright 2009 Volker Oth (0xdeadbeef)
+ *
+@@ -768,6 +770,11 @@
+ }
+ fnameProps += Core.iniName;
+
++ // use XDG spec
++ fnameProps = System.getenv("XDG_CONFIG_HOME");
++ if (fnameProps == null) fnameProps = System.getProperty("user.home") + "/.config";
++ fnameProps += "/" + Core.iniName;
++
+ // read properties from ini file
+ props = new Props();
+ props.setHeader(Core.progNameVer+" settings - don't modify manually");
+@@ -905,8 +912,11 @@
+ * Write properties
+ */
+ public static void storeProps() {
+- if (props != null)
++ if (props != null) {
++ File path = new File(ToolBox.getPathName(fnameProps));
++ path.mkdirs();
+ props.save(fnameProps);
++ }
+ }
+
+ /**
diff --git a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.patch b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.patch
new file mode 100644
index 00000000000..a590ae98320
--- /dev/null
+++ b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.patch
@@ -0,0 +1,40 @@
+--- src/deadbeef/SupTools/Core.java 2010-07-29 13:01:48.000000000 +0200
++++ src/deadbeef/SupTools/Core.java 2010-08-01 02:19:25.215473885 +0200
+@@ -22,6 +22,8 @@
+ import deadbeef.Tools.Props;
+ import deadbeef.Tools.ToolBox;
+
++import xdg.*;
++
+ /*
+ * Copyright 2009 Volker Oth (0xdeadbeef)
+ *
+@@ -750,6 +752,7 @@
+ cliMode = false;
+ String s = c.getClass().getName().replace('.','/') + ".class";
+ URL url = c.getClass().getClassLoader().getResource(s);
++ /*
+ int pos;
+ try {
+ fnameProps = URLDecoder.decode(url.getPath(),"UTF-8");
+@@ -767,6 +770,8 @@
+ fnameProps = fnameProps.substring(0,pos+1);
+ }
+ fnameProps += Core.iniName;
++ */
++ fnameProps = xdg.config_home() + "/" + Core.iniName;
+
+ // read properties from ini file
+ props = new Props();
+@@ -905,8 +910,10 @@
+ * Write properties
+ */
+ public static void storeProps() {
+- if (props != null)
++ if (props != null) {
++ xdg.mkdirs_file(fnameProps);
+ props.save(fnameProps);
++ }
+ }
+
+ /**
diff --git a/media-video/bdsup2sub/files/build-4.0.0.xml b/media-video/bdsup2sub/files/build-4.0.0.xml
new file mode 100644
index 00000000000..9aab31c3a5e
--- /dev/null
+++ b/media-video/bdsup2sub/files/build-4.0.0.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<project name="BDSup2Sub" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="apidocs" />
+ <property name="dist.dir" value="dist" />
+ <property name="resources.dir" value="bin_copy" />
+ <property name="project.jar" value="${dist.dir}/${ant.project.name}.jar" />
+ <property name="target.jdk" value="1.6" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${docs.dir}" />
+ <mkdir dir="${build.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ encoding="ISO-8859-1"/>
+ <copy todir="${build.dir}">
+ <fileset dir="${resources.dir}" />
+ </copy>
+ </target>
+
+ <!-- build the jar files -->
+ <target name="build" depends="compile">
+ <jar jarfile="${project.jar}" basedir="${build.dir}">
+ <manifest>
+ <attribute name="Main-Class" value="${ant.project.name}" />
+ </manifest>
+ </jar>
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="javadoc" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames="*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ charset="UTF-8"
+ encoding="ISO-8859-1"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/media-video/bdsup2sub/metadata.xml b/media-video/bdsup2sub/metadata.xml
new file mode 100644
index 00000000000..93f8bf687fd
--- /dev/null
+++ b/media-video/bdsup2sub/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <longdescription lang="en">
+ BDSup2Sub - A tool to convert and tweak bitmap based subtitle streams.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-video/binkplayer/Manifest b/media-video/binkplayer/Manifest
new file mode 100644
index 00000000000..44da2a35298
--- /dev/null
+++ b/media-video/binkplayer/Manifest
@@ -0,0 +1 @@
+DIST binkplayer-1.99w.zip 100620 SHA256 cfcfdd8f3b8d9087ca237cdf0a9a361d807e4a9fa0bba60e84f966e85a4d5caf SHA512 2f6e58780098e19cd446e7876de8187e585c1be13cf53f1311975e107644c08d25703b93ceacc596b787a351bc104bde5aaf9f2da8338fcdc7a2795bf49936ce WHIRLPOOL 70e46654399a3bab1aa032adca87f3c7c3ce76cd75584ab91b363eebf0030218c79b4f9e3265f4109731fead89578e7acd37f14df3221f34248a232da090f494
diff --git a/media-video/binkplayer/binkplayer-1.99w.ebuild b/media-video/binkplayer/binkplayer-1.99w.ebuild
new file mode 100644
index 00000000000..7e0bbfe7d9b
--- /dev/null
+++ b/media-video/binkplayer/binkplayer-1.99w.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+DESCRIPTION="Bink Video! Player"
+HOMEPAGE="http://www.radgametools.com/default.htm"
+# No version on the archives and upstream has said they are not
+# interested in providing versioned archives.
+SRC_URI="mirror://gentoo/${P}.zip"
+
+# distributable per http://www.radgametools.com/binkfaq.htm
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="
+ >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
+ >=media-libs/openal-1.15.1-r1[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+QA_PREBUILT="opt/bin/BinkPlayer"
+
+src_install() {
+ into /opt
+ dobin BinkPlayer
+}
diff --git a/media-video/binkplayer/metadata.xml b/media-video/binkplayer/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/media-video/binkplayer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
new file mode 100644
index 00000000000..a9bde4593ed
--- /dev/null
+++ b/media-video/bino/Manifest
@@ -0,0 +1,4 @@
+DIST bino-1.3.0.tar.xz 737544 SHA256 aaae2d8eb41f43f61bdac2f40e012a6eaa2ac2a1f6b37fd153dc90021b46cea8 SHA512 c19569827b335f8c09833c1c2c94f40a4b3fa661014926940ba8ecbfe0168ede68e83a2e2c6480949162211fbe73855c65d89afdf6e3cb0ba3145b63f33c1960 WHIRLPOOL 9cec7c9ee4d4191f6be500d984dfd5a059f8e487d1b585d1e205c27e4ff532563c0a557eb900b90c01052efff4924c7a1a844b57ee5e441050d1afec6c1ab97d
+DIST bino-1.4.2.tar.xz 794272 SHA256 6cd88eb16ffee30a3cbb9b5d313feb61b91068387ae846ff96d9e99dcb5c88b6 SHA512 5be3416fcd89410cc4892614f8322425de8896763f84102ed728dbc141deea7d74156c23b04df7633d05543e1da3dabc09eb57917cfa0913df8900d421d61100 WHIRLPOOL f9f575c9bcd1abc46d6f15bd8f11c589bc2de9ebbdc58e6602c17e0ae4048755a0f23c5c0c339b7730d20f175e0166cb24f497aeeb5290055a53d0289c80e8d4
+DIST bino-1.4.4.tar.xz 808536 SHA256 c3d9d9fdacdca2df628d0b70ac69f29a4abc0f17882621e377430d25d3d5be8f SHA512 6bd8351889b920cff1c23b7287a1055705ac038bfadd1678d111980a586de25b7388f2316c721dfb68da64397842bb53201fa2af14f53b83ed23e0b16ce62249 WHIRLPOOL bcd0b78aea3caeb8bb97ff3ec010e365f1ea4347a145d7ab2696d5c5e3497013b9dc5f67aeffd990e1dd50de5e759a858be703cbd9d140b84d23cd4bca487784
+DIST bino-1.6.1.tar.xz 814212 SHA256 f6e4b07a8e9ff6c929da6200d4ddd1482c46d4aa8516b18ff1c3c193edecc937 SHA512 5c0951f17cf9db37a4bd759aacbd4f3ef1a865499c893ca9c4c3a3775193560234aff9a5b12bc6fc012b987d3bd73264c5a5dcead562a6719f6a1019650e19af WHIRLPOOL 15b0219480d56f00fbaefe4b0935e7783929a3955d6a5632dc49b6681992e720857f09cf9c5d3ea8dd38bb7dbd56a492cbeda6af55c42f27172cb5a28c1bc176
diff --git a/media-video/bino/bino-1.3.0.ebuild b/media-video/bino/bino-1.3.0.ebuild
new file mode 100644
index 00000000000..ddbedb08c42
--- /dev/null
+++ b/media-video/bino/bino-1.3.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+inherit eutils
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="http://bino3d.org/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lirc"
+
+RDEPEND=">=media-libs/glew-1.5.0
+ media-libs/openal
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ dev-qt/qtopengl:4
+ >=media-libs/libass-0.9.9
+ >=virtual/ffmpeg-0.6.90
+ lirc? ( app-misc/lirc )"
+
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ if use lirc; then
+ export liblircclient_CFLAGS="-I/usr/include/lirc" liblircclient_LIBS="-llirc_client"
+ fi
+
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # remove installed doc
+ rm -rf "${D}/usr/share/doc/bino"
+
+ # documentation
+ dodoc AUTHORS ChangeLog INSTALL NEWS README doc/*.png doc/*.jpg
+ dohtml doc/bino.html
+ doman doc/bino.1
+ doinfo doc/bino.info
+}
diff --git a/media-video/bino/bino-1.4.2-r1.ebuild b/media-video/bino/bino-1.4.2-r1.ebuild
new file mode 100644
index 00000000000..a0434bde32c
--- /dev/null
+++ b/media-video/bino/bino-1.4.2-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+
+inherit autotools-utils flag-o-matic
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="http://bino3d.org/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc lirc"
+
+IUSE_VIDEO_CARDS="
+ video_cards_nvidia"
+IUSE+="${IUSE_VIDEO_CARDS}"
+
+LANGS="en bg de fr ru"
+for X in ${LANGS} ; do
+ IUSE+=" linguas_${X}"
+done
+
+RDEPEND=">=media-libs/glew-1.6.0
+ >=media-libs/openal-1.15.1
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ dev-qt/qtopengl:4
+ >=media-libs/libass-0.9.9
+ >=virtual/ffmpeg-0.6.90
+ lirc? ( app-misc/lirc )
+ video_cards_nvidia? ( media-video/nvidia-settings )
+ virtual/libintl"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README README.Linux )
+
+PATCHES=(
+ "${FILESDIR}/${P}-lirc-detect.patch" # detect lirc
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with video_cards_nvidia xnvctrl)
+ $(use_with lirc liblircclient)
+ --without-equalizer
+ --htmldir=/usr/share/doc/${PF}/html
+ )
+ use video_cards_nvidia && append-cppflags "-I/usr/include/NVCtrl" && append-ldflags "-I/usr/$(get_libdir)"
+ use lirc && append-cppflags "-I/usr/include/lirc" && append-libs "lirc_client"
+
+ # Fix a compilation error because of a multiple definitions in glew
+ append-ldflags "-zmuldefs"
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ use doc || ( rm -rf "${D}"/usr/share/doc/${PF}/html && dohtml "${FILESDIR}/${PN}.html" )
+}
diff --git a/media-video/bino/bino-1.4.4.ebuild b/media-video/bino/bino-1.4.4.ebuild
new file mode 100644
index 00000000000..6f92eff4877
--- /dev/null
+++ b/media-video/bino/bino-1.4.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+
+inherit autotools-utils flag-o-matic
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="http://bino3d.org/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc lirc"
+
+IUSE_VIDEO_CARDS="
+ video_cards_nvidia"
+IUSE+="${IUSE_VIDEO_CARDS}"
+
+LANGS="en bg de fr ru zh_CN"
+for X in ${LANGS} ; do
+ IUSE+=" linguas_${X}"
+done
+
+RDEPEND=">=media-libs/glew-1.6.0
+ >=media-libs/openal-1.15.1
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ dev-qt/qtopengl:4
+ >=media-libs/libass-0.9.9
+ >=virtual/ffmpeg-0.6.90
+ lirc? ( app-misc/lirc )
+ video_cards_nvidia? ( media-video/nvidia-settings )
+ virtual/libintl"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README README.Linux )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.2-lirc-detect.patch" # detect lirc
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with video_cards_nvidia xnvctrl)
+ $(use_with lirc liblircclient)
+ --without-equalizer
+ --htmldir=/usr/share/doc/${PF}/html
+ )
+ use video_cards_nvidia && append-cppflags "-I/usr/include/NVCtrl" && append-ldflags "-I/usr/$(get_libdir)" && append-libs "Xext"
+ use lirc && append-cppflags "-I/usr/include/lirc" && append-libs "lirc_client"
+
+ # Fix a compilation error because of a multiple definitions in glew
+ append-ldflags "-zmuldefs"
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ use doc || ( rm -rf "${D}"/usr/share/doc/${PF}/html && dohtml "${FILESDIR}/${PN}.html" )
+}
diff --git a/media-video/bino/bino-1.6.1.ebuild b/media-video/bino/bino-1.6.1.ebuild
new file mode 100644
index 00000000000..6fa1c251537
--- /dev/null
+++ b/media-video/bino/bino-1.6.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+
+inherit autotools-utils flag-o-matic
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="http://bino3d.org/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc libav lirc"
+
+IUSE_VIDEO_CARDS="
+ video_cards_nvidia"
+IUSE+="${IUSE_VIDEO_CARDS}"
+
+LANGS="en bg de fr ru zh_CN"
+for X in ${LANGS} ; do
+ IUSE+=" linguas_${X}"
+done
+
+RDEPEND=">=media-libs/glew-1.6.0
+ >=media-libs/openal-1.15.1
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ dev-qt/qtopengl:4
+ >=media-libs/libass-0.9.9
+ libav? ( >=media-video/libav-0.7:0= )
+ !libav? ( >=media-video/ffmpeg-0.7:0= )
+ lirc? ( app-misc/lirc )
+ video_cards_nvidia? ( media-video/nvidia-settings )
+ virtual/libintl"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README README.Linux )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.2-lirc-detect.patch" # detect lirc
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with video_cards_nvidia xnvctrl)
+ $(use_with lirc liblircclient)
+ --without-equalizer
+ --htmldir=/usr/share/doc/${PF}/html
+ )
+ use video_cards_nvidia && append-cppflags "-I/usr/include/NVCtrl" && append-ldflags "-I/usr/$(get_libdir)" && append-libs "Xext"
+ use lirc && append-cppflags "-I/usr/include/lirc" && append-libs "lirc_client"
+
+ # Fix a compilation error because of a multiple definitions in glew
+ append-ldflags "-zmuldefs"
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ use doc || ( rm -rf "${D}"/usr/share/doc/${PF}/html && dohtml "${FILESDIR}/${PN}.html" )
+}
diff --git a/media-video/bino/files/bino-1.4.2-lirc-detect.patch b/media-video/bino/files/bino-1.4.2-lirc-detect.patch
new file mode 100644
index 00000000000..7e476e5d46d
--- /dev/null
+++ b/media-video/bino/files/bino-1.4.2-lirc-detect.patch
@@ -0,0 +1,35 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -284,14 +284,30 @@
+ [AS_HELP_STRING([--without-liblircclient], [Disable remote control support via liblircclient (enabled by default)])],
+ [if test "$withval" = "yes"; then lirc="yes"; else lirc="no"; fi], [lirc="yes"])
+ if test "$lirc" = "yes"; then
+- PKG_CHECK_MODULES([liblircclient], [liblircclient0 >= 0.0], [HAVE_LIBLIRCCLIENT=1], [HAVE_LIBLIRCCLIENT=0])
++ CPPFLAGS_BAK="$CPPFLAGS"
++ CPPFLAGS="$CPPFLAGS $xliblircclient_CFLAGS"
++ AC_SUBST([liblircclient_CFLAGS])
++ AC_CHECK_HEADERS([lirc_client.h],
++ [HAVE_LIBLIRCCLIENT=1],
++ [HAVE_LIBLIRCCLIENT=0])
++ if test "HAVE_LIBLIRCCLIENT" = "1"; then
++ LDFLAGS_BAK="$LDFLAGS"
++ LDFLAGS="$LDFLAGS $xliblircclient_LDFLAGS"
++ AC_SUBST([liblircclient_LDFLAGS])
++ AC_CHECK_LIB([lirc_client],
++ [lirc_deinit],
++ [HAVE_LIBLIRCCLIENT=1],
++ [HAVE_LIBLIRCCLIENT=0])
++ LDFLAGS="$LDFLAGS_BAK"
++ fi
++ CPPFLAGS="$CPPFLAGS_BAK"
+ if test "$HAVE_LIBLIRCCLIENT" != "1"; then
+ AC_MSG_WARN([optional library liblircclient not found:])
+ AC_MSG_WARN([$liblircclient_PKG_ERRORS])
+ AC_MSG_WARN([liblircclient is provided by LIRC; Debian package: liblircclient-dev])
+ lirc="no"
+ else
+- LIBLIRCCLIENT_PKGCONFIG_VERSION="\"`$PKG_CONFIG --modversion liblircclient0`\""
++ LIBLIRCCLIENT_PKGCONFIG_VERSION="\"system\""
+ fi
+ else
+ HAVE_LIBLIRCCLIENT=0
diff --git a/media-video/bino/files/bino.html b/media-video/bino/files/bino.html
new file mode 100644
index 00000000000..28a6982c169
--- /dev/null
+++ b/media-video/bino/files/bino.html
@@ -0,0 +1,24 @@
+<html lang="en">
+<head>
+<title>Bino</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="description" content="Bino">
+<meta http-equiv="Content-Style-Type" content="text/css">
+</head>
+
+<body>
+<h1 class="settitle">Bino</h1>
+<div class="node">
+<p><hr>
+Up:&nbsp;<a rel="up" accesskey="u" href="../">(dir)</a>
+</div>
+
+<h2 class="unnumbered">Warning</h2>
+
+<p>You have chosen not to install the documentation of Bino.
+<p>If you want to have the documentation installed, please enable the <b>doc</b> use flag of <i>media-video/bino</i>.
+<p>Alternatively you may do a:
+<pre>
+USE="doc" emerge media-video/bino
+</pre>
+</body></html>
diff --git a/media-video/bino/metadata.xml b/media-video/bino/metadata.xml
new file mode 100644
index 00000000000..2b9b03c8c6d
--- /dev/null
+++ b/media-video/bino/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>cuchac@email.cz</email>
+ <name>Jožka Kejzlar (cuchac)</name>
+ <description>Maintainer. Assign bugs on him</description>
+ </maintainer>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-video/blinkensim/Manifest b/media-video/blinkensim/Manifest
new file mode 100644
index 00000000000..e9c2d25fc64
--- /dev/null
+++ b/media-video/blinkensim/Manifest
@@ -0,0 +1 @@
+DIST blinkensim-2.7.tar.gz 88416 RMD160 ed3aa61ddd8eb1daabb94721bdd5d3a37f1b5531 SHA1 a9c23ce8cc94f5c76d07ea616549cdb2f76778cd SHA256 5fe4a0675e5dd06661ec3c3dfddda1dee511f3d6f1093d5517bcd1621a2890bc
diff --git a/media-video/blinkensim/blinkensim-2.7.ebuild b/media-video/blinkensim/blinkensim-2.7.ebuild
new file mode 100644
index 00000000000..1ee49c59158
--- /dev/null
+++ b/media-video/blinkensim/blinkensim-2.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Graphical Blinkenlights simulator with networking support"
+
+HOMEPAGE="http://www.blinkenlights.net/project/developer-tools"
+SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="aalib gtk directfb"
+
+# if the config script finds any of the optional library it will try to
+# compile against it
+DEPEND=">=media-libs/blib-1.1.4
+ virtual/pkgconfig
+ aalib? ( >=media-libs/aalib-1.4_rc4-r2 )
+ gtk? ( >=x11-libs/gtk+-2.4.4 )
+ directfb? ( >=dev-libs/DirectFB-0.9.20-r1 )"
+RDEPEND="media-video/blinkenthemes"
+
+src_install() {
+ make DESTDIR="${D}" \
+ install || die "install failed"
+}
diff --git a/media-video/blinkensim/metadata.xml b/media-video/blinkensim/metadata.xml
new file mode 100644
index 00000000000..284559a05f2
--- /dev/null
+++ b/media-video/blinkensim/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Counterpart for the blinkentools and viewing the Blinkenlight-movies in
+ blm-format.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-video/blinkenthemes/Manifest b/media-video/blinkenthemes/Manifest
new file mode 100644
index 00000000000..fb3b161036b
--- /dev/null
+++ b/media-video/blinkenthemes/Manifest
@@ -0,0 +1 @@
+DIST blinkenthemes-0.10.tar.gz 4059605 RMD160 dd1872dc11f1d29383743e5d065748a8dcf72e03 SHA1 e4f4784798289ef1da6d0f964807ae051e9b1bd2 SHA256 be5853aeefe2f60cb549b8a94787ba707f032da27d2071812320fd956518bff9
diff --git a/media-video/blinkenthemes/blinkenthemes-0.10.ebuild b/media-video/blinkenthemes/blinkenthemes-0.10.ebuild
new file mode 100644
index 00000000000..d2909187f9f
--- /dev/null
+++ b/media-video/blinkenthemes/blinkenthemes-0.10.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Themes for blinkensim"
+HOMEPAGE="http://www.blinkenlights.net/project/developer-tools"
+SRC_URI="http://www.blinkenlights.de/dist/blinkenthemes-0.10.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/blib
+ virtual/pkgconfig"
+RDEPEND=""
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ install || die "install failed"
+}
diff --git a/media-video/blinkenthemes/metadata.xml b/media-video/blinkenthemes/metadata.xml
new file mode 100644
index 00000000000..950e903bf98
--- /dev/null
+++ b/media-video/blinkenthemes/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Some nice themes for blinkensim. Included are themes of the "Haus des
+ Lehrers" at Alexanderplatz n Berlin. This is the place where the
+ original Blinkenlights installation where set up. Then there are themes
+ of the "Bibliothèque nationale de France" in Paris where the second
+ installation called "Arcade" took place. Furthermore you can find some
+ experimental themes for LED-clones.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-video/blinkentools/Manifest b/media-video/blinkentools/Manifest
new file mode 100644
index 00000000000..67eca0c5ba0
--- /dev/null
+++ b/media-video/blinkentools/Manifest
@@ -0,0 +1 @@
+DIST blinkentools-2.9.tar.gz 560904 SHA256 1fa92c4b3a679085464edc6a194b80b3feea9ccea7e82cdbcdab9ec29aba5920
diff --git a/media-video/blinkentools/blinkentools-2.9.ebuild b/media-video/blinkentools/blinkentools-2.9.ebuild
new file mode 100644
index 00000000000..d3f698f4382
--- /dev/null
+++ b/media-video/blinkentools/blinkentools-2.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="blinkentools is a set of commandline utilities related to Blinkenlights"
+HOMEPAGE="http://www.blinkenlights.net/project/developer-tools"
+SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/blib
+ media-libs/libmng
+ virtual/pkgconfig"
+RDEPEND=""
+
+src_compile() {
+ econf
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+}
diff --git a/media-video/blinkentools/metadata.xml b/media-video/blinkentools/metadata.xml
new file mode 100644
index 00000000000..ac44c06197c
--- /dev/null
+++ b/media-video/blinkentools/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ The blinkentools bring you scripts for handling and playing the beloved
+ videos from Blinkenlights and Arcade, recorded in blm-format, on your
+ local computer, an attached mini-Blinkenlights, or whatever you intend
+ to use them for.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-video/bombono-dvd/Manifest b/media-video/bombono-dvd/Manifest
new file mode 100644
index 00000000000..f167ac5b3b5
--- /dev/null
+++ b/media-video/bombono-dvd/Manifest
@@ -0,0 +1 @@
+DIST bombono-dvd-1.2.2.tar.bz2 4406764 SHA256 3ffaadc803dc2526d2805629ee928800ce150cb2e6a40b6724d898c76366f68b SHA512 66982f014b6d45a9fa5a8a748dc3ed0ad79ae2d1c9e5afdf22d8db89e0f91c29fcd5639ca27ac50e50916ad37a80e536ea186e079d07efca7547fe49ab8f7d6b WHIRLPOOL 797c495a480c7b12f112809bc73e2032e846dbb57db8f3d2989d7063aa6686c3cdc8f07813bb34f0d076c6e53188931fe4b01e461d5c76bcb95557783c21cfe4
diff --git a/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild b/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild
new file mode 100644
index 00000000000..cadc0804308
--- /dev/null
+++ b/media-video/bombono-dvd/bombono-dvd-1.2.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+SCONS_MIN_VERSION="0.96.1"
+
+inherit base scons-utils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="GUI DVD authoring program"
+HOMEPAGE="http://www.bombono.org/"
+SRC_URI="mirror://sourceforge/bombono/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="amd64 x86"
+
+IUSE="gnome"
+
+COMMONDEPEND="
+ app-i18n/enca
+ app-cdr/dvd+rw-tools
+ dev-cpp/gtkmm:2.4
+ dev-cpp/libxmlpp:2.6
+ >=dev-libs/boost-1.51
+ media-libs/libdvdread
+ media-sound/twolame
+ media-video/dvdauthor
+ virtual/cdrtools
+ >=virtual/ffmpeg-9
+ >=media-video/mjpegtools-1.8.0
+ x11-libs/gtk+:2
+"
+RDEPEND="${COMMONDEPEND}
+ gnome? ( gnome-base/gvfs )
+"
+DEPEND="${COMMONDEPEND}
+ virtual/pkgconfig
+"
+
+RESTRICT=test
+# bug 419655
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.1-cflags.patch"
+ "${FILESDIR}/${PN}-1.2.0-cdrtools.patch"
+ "${FILESDIR}/${PN}-1.2.2-ffmpeg2.patch"
+ "${FILESDIR}/${PN}-1.2.2-ffmpeg26.patch"
+)
+
+src_configure() {
+ append-cppflags -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_FILESYSTEM_VERSION=3
+ myesconsargs=(
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CFLAGS="${CFLAGS}"
+ CXXFLAGS="${CXXFLAGS}"
+ DESTDIR="${D}"
+ LDFLAGS="${LDFLAGS}"
+ USE_EXT_BOOST=1
+ PREFIX="${EPREFIX}/usr"
+ )
+}
+
+src_compile() {
+ nonfatal escons \
+ || die "Please add ${S}/config.opts when filing bugs reports!"
+}
+
+src_test() {
+ VIRTUALX_COMMAND="escons TEST=1" virtualmake
+}
+
+src_install() {
+ nonfatal escons install || die "Please add ${S}/config.opts when filing bugs reports!"
+}
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.0.1-cflags.patch b/media-video/bombono-dvd/files/bombono-dvd-1.0.1-cflags.patch
new file mode 100644
index 00000000000..adea485ff40
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.0.1-cflags.patch
@@ -0,0 +1,12 @@
+diff -ruN bombono-dvd-1.0.1.orig/SConstruct bombono-dvd-1.0.1/SConstruct
+--- bombono-dvd-1.0.1.orig/SConstruct 2011-02-12 14:47:56.000000000 +0100
++++ bombono-dvd-1.0.1/SConstruct 2011-04-24 16:59:04.149229947 +0200
+@@ -56,7 +56,7 @@
+ common_warn_flags = []
+ cxx_warn_flags = []
+ debug_flags = ['-g', '-O0']
+-release_flags = ['-O2']
++release_flags = []
+ defines = []
+
+ def CalcCommonFlags():
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.2.0-cdrtools.patch b/media-video/bombono-dvd/files/bombono-dvd-1.2.0-cdrtools.patch
new file mode 100644
index 00000000000..10ab179ffe8
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.2.0-cdrtools.patch
@@ -0,0 +1,21 @@
+diff --git a/src/mgui/author/script.h b/src/mgui/author/script.h
+index fe80307..a96fb54 100644
+--- a/src/mgui/author/script.h
++++ b/src/mgui/author/script.h
+@@ -115,9 +115,14 @@ ExitData AsyncOFCall(const std::string& cmd, const std::string& out_dir, OutputF
+ // POSIX-народ бесповоротно ушел на cdrkit (genisoimage), но с Win32
+ // у cdrkit хреново (только cygwin, нет собранного с growisofs с cdrkit под Win32) => потому - "вилка"
+ #ifdef _WIN32
+-#define MK_ISO_CMD "mkisofs"
++ #define MK_ISO_CMD "mkisofs"
+ #else
+-#define MK_ISO_CMD "genisoimage"
++ #define USE_CDRTOOLS
++ #ifdef USE_CDRTOOLS
++ #define MK_ISO_CMD "mkisofs"
++ #else // !USE_CDRTOOLS
++ #define MK_ISO_CMD "genisoimage"
++ #endif // !USE_CDRTOOLS
+ #endif
+
+ #endif // #ifndef __MGUI_AUTHOR_SCRIPT_H__
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.2.1-glib.patch b/media-video/bombono-dvd/files/bombono-dvd-1.2.1-glib.patch
new file mode 100644
index 00000000000..9627bfd6605
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.2.1-glib.patch
@@ -0,0 +1,13 @@
+diff -aur src/mgui/author/gb_devices.c src/mgui/author/gb_devices.c
+--- src/mgui/author/gb_devices.c 2012-02-08 13:19:21.000000000 +0100
++++ src/mgui/author/gb_devices.c 2012-04-26 14:32:30.059001909 +0200
+@@ -28,9 +28,6 @@
+
+ #include "gb_devices.h"
+
+-#include <glib/gthread.h>
+-#include <glib/gmessages.h>
+-#include <glib/ghash.h>
+ /*
+ #include <glib/gfileutils.h>
+ */
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.2.1-libav9.patch b/media-video/bombono-dvd/files/bombono-dvd-1.2.1-libav9.patch
new file mode 100644
index 00000000000..2c8f4a3c48e
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.2.1-libav9.patch
@@ -0,0 +1,44 @@
+--- src/mgui/ffviewer.cpp.ORIG 2012-02-08 13:19:21.000000000 +0100
++++ src/mgui/ffviewer.cpp 2013-02-24 18:11:07.565711375 +0100
+@@ -36,7 +36,13 @@
+ #define AVFORMAT_54
+ #endif
+
+-#ifdef AVFORMAT_54
++// разрабы libav считают себя самыми умными и потому решили
++// закрыть простым смертным доступ к ffurl_register_protocol()
++// (бывшая av_register_protocol2()),- https://bugzilla.libav.org/show_bug.cgi?id=224
++//
++// Поэтому: пользователи Linux остаются без предпросмотра содержимого DVD,
++// пользователи же Windows не страдают из-за подобного политгемора
++#if defined(AVFORMAT_54) && defined(_WIN32)
+ C_LINKAGE_BEGIN
+ #include <libavformat/url.h> // ffurl_register_protocol()
+ C_LINKAGE_END
+@@ -1125,6 +1131,8 @@
+
+ namespace DVD {
+
++#if !defined(AVFORMAT_54) || defined(_WIN32)
++
+ struct VobCtx
+ {
+ int64_t curPos;
+@@ -1266,6 +1274,17 @@
+ BmdDVD = 0;
+ return res;
+ }
++
++#else
++
++bool OpenVob(FFViewer&, VobPtr, dvd_reader_t*, std::string& err_str)
++{
++ err_str = "Libav: no soup for Linux users^W^W^W^W^W see https://bugzilla.libav.org/show_bug.cgi?id=224";
++ return false;
++}
++
++#endif
++
+
+ } // namespace DVD
+
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg2.patch b/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg2.patch
new file mode 100644
index 00000000000..245b93705b4
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg2.patch
@@ -0,0 +1,46 @@
+--- src/mgui/ffviewer.cpp.ORIG 2013-08-01 11:05:12.962407787 +0200
++++ src/mgui/ffviewer.cpp 2013-08-01 11:08:26.907409685 +0200
+@@ -62,7 +62,7 @@
+
+ typedef struct AVCodecTag {
+ #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,39,00)
+- enum CodecID id;
++ enum AVCodecID id;
+ #else
+ int id;
+ #endif
+@@ -70,14 +70,14 @@
+ } AVCodecTag;
+
+ #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,34,00)
+-static uint FFCodecID2Tag(CodecID codec_id)
++static uint FFCodecID2Tag(AVCodecID codec_id)
+ {
+ unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id);
+ extern const AVCodecTag ff_codec_bmp_tags[];
+ return ff_codec_get_tag(ff_codec_bmp_tags, codec_id);
+ }
+ #else
+-static uint FFCodecID2Tag(CodecID codec_id)
++static uint FFCodecID2Tag(AVCodecID codec_id)
+ {
+ unsigned int codec_get_tag(const AVCodecTag *tags, int id);
+ extern const AVCodecTag codec_bmp_tags[];
+@@ -388,7 +388,7 @@
+ return (tag>>bit_begin) & 0xFF;
+ }
+
+-static std::string CodecID2Str(CodecID codec_id)
++static std::string CodecID2Str(AVCodecID codec_id)
+ {
+ #ifdef _MSC_VER
+ std::string tag_str = boost::format("%1%") % codec_id % bf::stop;
+@@ -406,7 +406,7 @@
+
+ #else // CALC_FF_TAG
+
+-static std::string CodecID2Str(CodecID codec_id)
++static std::string CodecID2Str(AVCodecID codec_id)
+ {
+ return Int2Str(codec_id);
+ }
diff --git a/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg26.patch b/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg26.patch
new file mode 100644
index 00000000000..b511a9d4ebd
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-1.2.2-ffmpeg26.patch
@@ -0,0 +1,13 @@
+Index: bombono-dvd-1.2.2/src/mgui/ffviewer.cpp
+===================================================================
+--- bombono-dvd-1.2.2.orig/src/mgui/ffviewer.cpp
++++ bombono-dvd-1.2.2/src/mgui/ffviewer.cpp
+@@ -1120,7 +1120,7 @@ static bool SeekSetTime(FFViewer& ffv, d
+ bool seek_ok = TimeSeek(ffv, start_time, time);
+ if( !seek_ok && CanByteSeek(ffv.iCtx) )
+ // тогда переходим в начало файла
+- seek_ok = DoSeek(ffv, ffv.iCtx->data_offset, true);
++ seek_ok = DoSeek(ffv, 0, true);
+
+ // некоторое видео глючит в начале (Hellboy), из-за чего
+ // последовательный доступ выполняется с перескоками -
diff --git a/media-video/bombono-dvd/files/bombono-dvd-boost-1.51.0-fix.patch b/media-video/bombono-dvd/files/bombono-dvd-boost-1.51.0-fix.patch
new file mode 100644
index 00000000000..8d5020df345
--- /dev/null
+++ b/media-video/bombono-dvd/files/bombono-dvd-boost-1.51.0-fix.patch
@@ -0,0 +1,537 @@
+From a144c07915e82607bbc76791251e8e576e17149e Mon Sep 17 00:00:00 2001
+From: Slava Dubrovskiy <dubrsl@altlinux.ru>
+Date: Thu, 6 Sep 2012 20:18:45 +0300
+Subject: [PATCH 2/2] Fix build with boost 1.51.0
+
+---
+ libs/boost-lib/boost/filesystem/v2/fstream.hpp | 26 +++++++++++-----------
+ libs/boost-lib/boost/filesystem/v2/operations.hpp | 2 +-
+ libs/boost-lib/boost/filesystem/v2/path.hpp | 24 ++++++++++----------
+ libs/boost-lib/boost/filesystem/v3/path.hpp | 6 ++---
+ libs/boost-lib/libs/filesystem/v2/src/v2_path.cpp | 4 ++--
+ .../boost/logging/writer/on_dedicated_thread.hpp | 2 +-
+ .../samples/scenarios/ded_loger_one_filter.cpp | 2 +-
+ .../samples/scenarios/ts_loger_one_filter.cpp | 2 +-
+ .../logging/samples/scenarios/your_scenario.cpp | 2 +-
+ .../tests/test_simple_tss/test_simple_tss.cpp | 2 +-
+ .../test_ts_resource.cpp | 4 ++--
+ .../logging/tests/test_tss/test_tss_objects.cpp | 2 +-
+ src/mbase/project/table.cpp | 2 +-
+ src/mgui/author/script.cpp | 2 +-
+ src/mgui/editor/toolbar.cpp | 2 +-
+ src/mgui/mux.cpp | 2 +-
+ src/mgui/project/add.cpp | 6 ++---
+ src/mgui/project/mconstructor.cpp | 2 +-
+ src/mgui/project/serialize.cpp | 2 +-
+ src/mgui/win_utils.cpp | 2 +-
+ src/mlib/filesystem.cpp | 15 ++-----------
+ 21 files changed, 51 insertions(+), 62 deletions(-)
+
+diff --git a/libs/boost-lib/boost/filesystem/v2/fstream.hpp b/libs/boost-lib/boost/filesystem/v2/fstream.hpp
+index bdcd485..101ed30 100644
+--- a/libs/boost-lib/boost/filesystem/v2/fstream.hpp
++++ b/libs/boost-lib/boost/filesystem/v2/fstream.hpp
+@@ -488,27 +488,27 @@ namespace boost
+ std::ios_base::openmode mode )
+ {
+ return std::basic_filebuf<charT,traits>::open(
+- file_ph.file_string().c_str(), mode ) == 0 ? 0 : this;
++ file_ph.string().c_str(), mode ) == 0 ? 0 : this;
+ }
+ # endif
+
+ template <class charT, class traits>
+ basic_ifstream<charT,traits>::basic_ifstream( const path & file_ph )
+ : std::basic_ifstream<charT,traits>(
+- file_ph.file_string().c_str(), std::ios_base::in ) {}
++ file_ph.string().c_str(), std::ios_base::in ) {}
+
+ template <class charT, class traits>
+ basic_ifstream<charT,traits>::basic_ifstream( const path & file_ph,
+ std::ios_base::openmode mode )
+ : std::basic_ifstream<charT,traits>(
+- file_ph.file_string().c_str(), mode ) {}
++ file_ph.string().c_str(), mode ) {}
+
+ # if !BOOST_WORKAROUND( BOOST_MSVC, <= 1200 ) // VC++ 6.0 can't handle this
+ template <class charT, class traits>
+ void basic_ifstream<charT,traits>::open( const path & file_ph )
+ {
+ std::basic_ifstream<charT,traits>::open(
+- file_ph.file_string().c_str(), std::ios_base::in );
++ file_ph.string().c_str(), std::ios_base::in );
+ }
+
+ template <class charT, class traits>
+@@ -516,27 +516,27 @@ namespace boost
+ std::ios_base::openmode mode )
+ {
+ std::basic_ifstream<charT,traits>::open(
+- file_ph.file_string().c_str(), mode );
++ file_ph.string().c_str(), mode );
+ }
+ # endif
+
+ template <class charT, class traits>
+ basic_ofstream<charT,traits>::basic_ofstream( const path & file_ph )
+ : std::basic_ofstream<charT,traits>(
+- file_ph.file_string().c_str(), std::ios_base::out ) {}
++ file_ph.string().c_str(), std::ios_base::out ) {}
+
+ template <class charT, class traits>
+ basic_ofstream<charT,traits>::basic_ofstream( const path & file_ph,
+ std::ios_base::openmode mode )
+ : std::basic_ofstream<charT,traits>(
+- file_ph.file_string().c_str(), mode ) {}
++ file_ph.string().c_str(), mode ) {}
+
+ # if !BOOST_WORKAROUND( BOOST_MSVC, <= 1200 ) // VC++ 6.0 can't handle this
+ template <class charT, class traits>
+ void basic_ofstream<charT,traits>::open( const path & file_ph )
+ {
+ std::basic_ofstream<charT,traits>::open(
+- file_ph.file_string().c_str(), std::ios_base::out );
++ file_ph.string().c_str(), std::ios_base::out );
+ }
+
+ template <class charT, class traits>
+@@ -544,14 +544,14 @@ namespace boost
+ std::ios_base::openmode mode )
+ {
+ std::basic_ofstream<charT,traits>::open(
+- file_ph.file_string().c_str(), mode );
++ file_ph.string().c_str(), mode );
+ }
+ # endif
+
+ template <class charT, class traits>
+ basic_fstream<charT,traits>::basic_fstream( const path & file_ph )
+ : std::basic_fstream<charT,traits>(
+- file_ph.file_string().c_str(),
++ file_ph.string().c_str(),
+ std::ios_base::in|std::ios_base::out ) {}
+
+
+@@ -559,14 +559,14 @@ namespace boost
+ basic_fstream<charT,traits>::basic_fstream( const path & file_ph,
+ std::ios_base::openmode mode )
+ : std::basic_fstream<charT,traits>(
+- file_ph.file_string().c_str(), mode ) {}
++ file_ph.string().c_str(), mode ) {}
+
+ # if !BOOST_WORKAROUND( BOOST_MSVC, <= 1200 ) // VC++ 6.0 can't handle this
+ template <class charT, class traits>
+ void basic_fstream<charT,traits>::open( const path & file_ph )
+ {
+ std::basic_fstream<charT,traits>::open(
+- file_ph.file_string().c_str(), std::ios_base::in|std::ios_base::out );
++ file_ph.string().c_str(), std::ios_base::in|std::ios_base::out );
+ }
+
+ template <class charT, class traits>
+@@ -574,7 +574,7 @@ namespace boost
+ std::ios_base::openmode mode )
+ {
+ std::basic_fstream<charT,traits>::open(
+- file_ph.file_string().c_str(), mode );
++ file_ph.string().c_str(), mode );
+ }
+ # endif
+ } // namespace filesystem2
+diff --git a/libs/boost-lib/boost/filesystem/v2/operations.hpp b/libs/boost-lib/boost/filesystem/v2/operations.hpp
+index 9bd35cd..ad08cc3 100644
+--- a/libs/boost-lib/boost/filesystem/v2/operations.hpp
++++ b/libs/boost-lib/boost/filesystem/v2/operations.hpp
+@@ -1081,7 +1081,7 @@ namespace boost
+ {
+ return path().filename();
+ }
+- typename Path::string_type leaf() const
++ typename Path::string_type filename().string() const
+ {
+ return path().filename();
+ }
+diff --git a/libs/boost-lib/boost/filesystem/v2/path.hpp b/libs/boost-lib/boost/filesystem/v2/path.hpp
+index d159c37..580b635 100644
+--- a/libs/boost-lib/boost/filesystem/v2/path.hpp
++++ b/libs/boost-lib/boost/filesystem/v2/path.hpp
+@@ -232,11 +232,11 @@ namespace boost
+
+ // observers
+ const string_type & string() const { return m_path; }
+- const string_type file_string() const;
+- const string_type directory_string() const { return file_string(); }
++ const string_type string() const;
++ const string_type string() const { return string(); }
+
+- const external_string_type external_file_string() const { return Traits::to_external( *this, file_string() ); }
+- const external_string_type external_directory_string() const { return Traits::to_external( *this, directory_string() ); }
++ const external_string_type external_file_string() const { return Traits::to_external( *this, string() ); }
++ const external_string_type external_directory_string() const { return Traits::to_external( *this, string() ); }
+
+ basic_path root_path() const;
+ string_type root_name() const;
+@@ -248,7 +248,7 @@ namespace boost
+ string_type extension() const;
+
+ # ifndef BOOST_FILESYSTEM_NO_DEPRECATED
+- string_type leaf() const { return filename(); }
++ string_type filename().string() const { return filename(); }
+ basic_path branch_path() const { return parent_path(); }
+ bool has_leaf() const { return !m_path.empty(); }
+ bool has_branch_path() const { return !parent_path().empty(); }
+@@ -309,8 +309,8 @@ namespace boost
+ // are only minor differences between generic and native path grammars.
+ // Private members might be quite different in other implementations,
+ // particularly where there were wide differences between portable and
+- // native path formats, or between file_string() and
+- // directory_string() formats, or simply that the implementation
++ // native path formats, or between string() and
++ // string() formats, or simply that the implementation
+ // was willing expend additional memory to achieve greater speed for
+ // some operations at the expense of other operations.
+
+@@ -338,8 +338,8 @@ namespace boost
+ basic_path( const string_type & str, name_check ) { operator/=( str ); }
+ basic_path( const typename string_type::value_type * s, name_check )
+ { operator/=( s );}
+- string_type native_file_string() const { return file_string(); }
+- string_type native_directory_string() const { return directory_string(); }
++ string_type native_file_string() const { return string(); }
++ string_type native_directory_string() const { return string(); }
+ static bool default_name_check_writable() { return false; }
+ static void default_name_check( name_check ) {}
+ static name_check default_name_check() { return 0; }
+@@ -647,13 +647,13 @@ namespace boost
+ if ( !path1_arg.empty() )
+ {
+ target += ": \"";
+- target += path1_arg.file_string();
++ target += path1_arg.string();
+ target += "\"";
+ }
+ if ( !path2_arg.empty() )
+ {
+ target += ", \"";
+- target += path2_arg.file_string();
++ target += path2_arg.string();
+ target += "\"";
+ }
+ }
+@@ -1294,7 +1294,7 @@ namespace boost
+
+ template<class String, class Traits>
+ const String
+- basic_path<String, Traits>::file_string() const
++ basic_path<String, Traits>::string() const
+ {
+ # ifdef BOOST_WINDOWS_PATH
+ // for Windows, use the alternate separator, and bypass extra
+diff --git a/libs/boost-lib/boost/filesystem/v3/path.hpp b/libs/boost-lib/boost/filesystem/v3/path.hpp
+index 0caa19f..fe3c975 100644
+--- a/libs/boost-lib/boost/filesystem/v3/path.hpp
++++ b/libs/boost-lib/boost/filesystem/v3/path.hpp
+@@ -389,7 +389,7 @@ namespace filesystem3
+ // recently deprecated functions supplied by default
+ path& normalize() { return m_normalize(); }
+ path& remove_leaf() { return remove_filename(); }
+- path leaf() const { return filename(); }
++ path filename().string() const { return filename(); }
+ path branch_path() const { return parent_path(); }
+ bool has_leaf() const { return !m_pathname.empty(); }
+ bool has_branch_path() const { return !parent_path().empty(); }
+@@ -399,8 +399,8 @@ namespace filesystem3
+ # if defined(BOOST_FILESYSTEM_DEPRECATED)
+ // deprecated functions with enough signature or semantic changes that they are
+ // not supplied by default
+- const std::string file_string() const { return string(); }
+- const std::string directory_string() const { return string(); }
++ const std::string string() const { return string(); }
++ const std::string string() const { return string(); }
+ const std::string native_file_string() const { return string(); }
+ const std::string native_directory_string() const { return string(); }
+ const string_type external_file_string() const { return native(); }
+diff --git a/libs/boost-lib/libs/filesystem/v2/src/v2_path.cpp b/libs/boost-lib/libs/filesystem/v2/src/v2_path.cpp
+index 7adeaff..4fc0343 100644
+--- a/libs/boost-lib/libs/filesystem/v2/src/v2_path.cpp
++++ b/libs/boost-lib/libs/filesystem/v2/src/v2_path.cpp
+@@ -107,13 +107,13 @@ namespace boost
+ // if ( !path1.empty() )
+ // {
+ // target += ": \"";
+- // target += path1.file_string();
++ // target += path1.string();
+ // target += "\"";
+ // }
+ // if ( !path2.empty() )
+ // {
+ // target += ", \"";
+- // target += path2.file_string();
++ // target += path2.string();
+ // target += "\"";
+ // }
+ // }
+diff --git a/libs/boost-logging/boost/logging/writer/on_dedicated_thread.hpp b/libs/boost-logging/boost/logging/writer/on_dedicated_thread.hpp
+index 7b0aa71..a4a6f28 100644
+--- a/libs/boost-logging/boost/logging/writer/on_dedicated_thread.hpp
++++ b/libs/boost-logging/boost/logging/writer/on_dedicated_thread.hpp
+@@ -166,7 +166,7 @@ private:
+ }
+
+ boost::xtime to_wait;
+- xtime_get(&to_wait, boost::TIME_UTC);
++ xtime_get(&to_wait, boost::TIME_UTC_);
+ to_wait.sec += sleep_ms / 1000;
+ to_wait.nsec += (sleep_ms % 1000) * (NANOSECONDS_PER_SECOND / 1000);
+ to_wait.sec += to_wait.nsec / NANOSECONDS_PER_SECOND ;
+diff --git a/libs/boost-logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp b/libs/boost-logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp
+index 1d934da..d45beb4 100644
+--- a/libs/boost-logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp
++++ b/libs/boost-logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp
+@@ -103,7 +103,7 @@ BOOST_DEFINE_LOG(g_l, log_type)
+ void do_sleep(int ms) {
+ using namespace boost;
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+diff --git a/libs/boost-logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp b/libs/boost-logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp
+index 9746319..4b9f845 100644
+--- a/libs/boost-logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp
++++ b/libs/boost-logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp
+@@ -95,7 +95,7 @@ BOOST_DEFINE_LOG(g_l, log_type)
+ void do_sleep(int ms) {
+ using namespace boost;
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+diff --git a/libs/boost-logging/lib/logging/samples/scenarios/your_scenario.cpp b/libs/boost-logging/lib/logging/samples/scenarios/your_scenario.cpp
+index d447f24..f5ad955 100644
+--- a/libs/boost-logging/lib/logging/samples/scenarios/your_scenario.cpp
++++ b/libs/boost-logging/lib/logging/samples/scenarios/your_scenario.cpp
+@@ -124,7 +124,7 @@ BOOST_DEFINE_LOG(g_log_dbg, finder::logger )
+ void do_sleep(int ms) {
+ using namespace boost;
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+diff --git a/libs/boost-logging/lib/logging/tests/test_simple_tss/test_simple_tss.cpp b/libs/boost-logging/lib/logging/tests/test_simple_tss/test_simple_tss.cpp
+index 627618e..205d07a 100644
+--- a/libs/boost-logging/lib/logging/tests/test_simple_tss/test_simple_tss.cpp
++++ b/libs/boost-logging/lib/logging/tests/test_simple_tss/test_simple_tss.cpp
+@@ -75,7 +75,7 @@ using namespace logging;
+
+ void do_sleep(int ms) {
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+diff --git a/libs/boost-logging/lib/logging/tests/test_ts_resouce_with_cache/test_ts_resource.cpp b/libs/boost-logging/lib/logging/tests/test_ts_resouce_with_cache/test_ts_resource.cpp
+index 0bee896..2217c12 100644
+--- a/libs/boost-logging/lib/logging/tests/test_ts_resouce_with_cache/test_ts_resource.cpp
++++ b/libs/boost-logging/lib/logging/tests/test_ts_resouce_with_cache/test_ts_resource.cpp
+@@ -167,7 +167,7 @@ void test_resource(int idx) {
+
+ void do_sleep(int ms) {
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+@@ -262,7 +262,7 @@ int g_run_period_secs = 200;
+
+ int main()
+ {
+- xtime_get( &g_start, TIME_UTC);
++ xtime_get( &g_start, TIME_UTC_);
+
+ for ( int i = 0; i < g_update_thread_count; ++i)
+ thread t(&update_thread);
+diff --git a/libs/boost-logging/lib/logging/tests/test_tss/test_tss_objects.cpp b/libs/boost-logging/lib/logging/tests/test_tss/test_tss_objects.cpp
+index b8e1ba6..14c8281 100644
+--- a/libs/boost-logging/lib/logging/tests/test_tss/test_tss_objects.cpp
++++ b/libs/boost-logging/lib/logging/tests/test_tss/test_tss_objects.cpp
+@@ -98,7 +98,7 @@ private:
+
+ void do_sleep(int ms) {
+ xtime next;
+- xtime_get( &next, TIME_UTC);
++ xtime_get( &next, TIME_UTC_);
+ next.nsec += (ms % 1000) * 1000000;
+
+ int nano_per_sec = 1000000000;
+diff --git a/src/mbase/project/table.cpp b/src/mbase/project/table.cpp
+index 33ee15a..feb851a 100644
+--- a/src/mbase/project/table.cpp
++++ b/src/mbase/project/table.cpp
+@@ -427,7 +427,7 @@ void GetThemeList(Str::List& t_lst)
+ {
+ for( fs::directory_iterator itr(dir), end; itr != end; ++itr )
+ if( IsFrameDir(*itr) )
+- t_lst.push_back(itr->leaf());
++ t_lst.push_back(itr->path().filename().string());
+ }
+ }
+
+diff --git a/src/mgui/author/script.cpp b/src/mgui/author/script.cpp
+index aa2b494..0c34a08 100644
+--- a/src/mgui/author/script.cpp
++++ b/src/mgui/author/script.cpp
+@@ -370,7 +370,7 @@ static std::string SrcFilename(VideoItem vi)
+ static std::string PrefixCnvPath(VideoItem vi, const std::string& out_dir)
+ {
+ std::string dst_fname = boost::format("%1%.%2%") % GetAuthorNumber(vi)
+- % fs::path(SrcFilename(vi)).leaf() % bf::stop;
++ % fs::path(SrcFilename(vi)).filename().string() % bf::stop;
+ return AppendPath(out_dir, dst_fname);
+ }
+
+diff --git a/src/mgui/editor/toolbar.cpp b/src/mgui/editor/toolbar.cpp
+index e549490..c6f15b3 100644
+--- a/src/mgui/editor/toolbar.cpp
++++ b/src/mgui/editor/toolbar.cpp
+@@ -287,7 +287,7 @@ Toolbar::Toolbar(): selTool(MakeSelectionToolImage()), txtTool(MakeTextToolLabel
+ if( fs::is_directory(dir) )
+ {
+ boost_foreach( const fs::path& pth, dir_range(dir) )
+- o_lst.push_back(pth.filename());
++ o_lst.push_back(pth.filename().string());
+ }
+ }
+ std::sort(o_lst.begin(), o_lst.end(), &ByExtName);
+diff --git a/src/mgui/mux.cpp b/src/mgui/mux.cpp
+index 4b4a5fa..0864bc2 100644
+--- a/src/mgui/mux.cpp
++++ b/src/mgui/mux.cpp
+@@ -72,7 +72,7 @@ void SetDialogStrict(Gtk::Dialog& dlg, int min_wdh, int min_hgt, bool set_resiza
+
+ static bool RunMuxing(const std::string& dest_path, const std::string& args)
+ {
+- Gtk::Dialog dlg(BF_("Muxing \"%1%\"") % fs::path(dest_path).leaf() % bf::stop);
++ Gtk::Dialog dlg(BF_("Muxing \"%1%\"") % fs::path(dest_path).filename().string() % bf::stop);
+ SetDialogStrict(dlg, 400, -1);
+
+ Gtk::TextView& txt_view = NewManaged<Gtk::TextView>();
+diff --git a/src/mgui/project/add.cpp b/src/mgui/project/add.cpp
+index db4df17..0425a9b 100644
+--- a/src/mgui/project/add.cpp
++++ b/src/mgui/project/add.cpp
+@@ -420,7 +420,7 @@ void TryAddMediaQuiet(const std::string& fname, const std::string& desc)
+ static std::string StandFNameOut(const fs::path& pth)
+ {
+ return "<span style=\"italic\" underline=\"low\">" +
+- pth.leaf() + "</span>";
++ pth.filename().string() + "</span>";
+ }
+
+ #if GTK_CHECK_VERSION(2,18,0)
+@@ -454,7 +454,7 @@ StorageItem CheckExists(const fs::path& pth, RefPtr<MediaStore> ms)
+
+ void OneMediaError(const fs::path& err_pth, const std::string& desc)
+ {
+- AddMediaError(BF_("Can't add file \"%1%\".") % err_pth.leaf() % bf::stop, desc);
++ AddMediaError(BF_("Can't add file \"%1%\".") % err_pth.filename().string() % bf::stop, desc);
+ }
+
+ void TryAddMedias(const Str::List& paths, MediaBrowser& brw,
+@@ -465,7 +465,7 @@ void TryAddMedias(const Str::List& paths, MediaBrowser& brw,
+ {
+ const std::string fname = paths[0];
+ fs::path pth(fname);
+- std::string leaf = pth.leaf();
++ std::string leaf = pth.filename().string();
+ {
+ static re::pattern dvd_video_vob("(VIDEO_TS|VTS_[0-9][0-9]_[0-9]).VOB",
+ re::pattern::perl|re::pattern::icase);
+diff --git a/src/mgui/project/mconstructor.cpp b/src/mgui/project/mconstructor.cpp
+index 12e2f49..7ad2546 100644
+--- a/src/mgui/project/mconstructor.cpp
++++ b/src/mgui/project/mconstructor.cpp
+@@ -961,7 +961,7 @@ void RunConstructor(const std::string& prj_file_name, bool ask_save_on_exit)
+ static const fs::directory_iterator end_itr;
+ for( fs::directory_iterator itr(DataDirPath("bmd-icons"));
+ itr != end_itr; ++itr )
+- pix_lst.push_back(Gdk::Pixbuf::create_from_file(itr->string()));
++ pix_lst.push_back(Gdk::Pixbuf::create_from_file(itr->path().string()));
+ Gtk::Window::set_default_icon_list(pix_lst);
+
+ ActionFunctor after_fnr = BuildConstructor(app, prj_file_name);
+diff --git a/src/mgui/project/serialize.cpp b/src/mgui/project/serialize.cpp
+index 12b3c3a..2340b0b 100644
+--- a/src/mgui/project/serialize.cpp
++++ b/src/mgui/project/serialize.cpp
+@@ -71,7 +71,7 @@ static std::string MakeProjectTitle(bool with_path_breakdown = false)
+ return "untitled.bmd";
+
+ fs::path full_path(db.GetProjectFName());
+- std::string res_str = full_path.leaf();
++ std::string res_str = full_path.filename().string();
+ if( with_path_breakdown )
+ res_str += " (" + full_path.branch_path().string() + ")";
+ return res_str;
+diff --git a/src/mgui/win_utils.cpp b/src/mgui/win_utils.cpp
+index 28ad9dd..175e241 100644
+--- a/src/mgui/win_utils.cpp
++++ b/src/mgui/win_utils.cpp
+@@ -418,7 +418,7 @@ bool CheckKeepOrigin(const std::string& fname)
+ bool res = false;
+ if( fs::exists(fname) &&
+ (Gtk::RESPONSE_OK != MessageBox(BF_("A file named \"%1%\" already exists. Do you want to replace it?")
+- % fs::path(fname).leaf() % bf::stop,
++ % fs::path(fname).filename().string() % bf::stop,
+ Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_OK_CANCEL,
+ _("Replacing the file overwrite its contents."),
+ true)) )
+diff --git a/src/mlib/filesystem.cpp b/src/mlib/filesystem.cpp
+index bb84860..5d4f39c 100644
+--- a/src/mlib/filesystem.cpp
++++ b/src/mlib/filesystem.cpp
+@@ -47,7 +47,7 @@ const char* FindExtDot(const char* name)
+
+ std::string get_basename(const fs::path& pth)
+ {
+- std::string name_s = pth.leaf();
++ std::string name_s = pth.filename().string();
+ const char* name = name_s.c_str();
+
+ //if( const char* dot = strstr(name, ".") )
+@@ -58,24 +58,13 @@ std::string get_basename(const fs::path& pth)
+
+ std::string get_extension(const fs::path& pth)
+ {
+- std::string name_s = pth.leaf();
++ std::string name_s = pth.filename().string();
+
+ if( const char* dot = FindExtDot(name_s.c_str()) )
+ return std::string(dot+1);
+ return std::string();
+ }
+
+-// глобальная установка проверки имен файлов
+-class tune_boost_filesystem
+-{
+- public:
+- tune_boost_filesystem()
+- {
+- // чтоб любые символы в именах файлов позволялись, для utf8
+- fs::path::default_name_check(fs::native);
+- }
+-} tune_boost_filesystem_obj;
+-
+ namespace Project
+ {
+
+--
+1.7.11.7
+
diff --git a/media-video/bombono-dvd/metadata.xml b/media-video/bombono-dvd/metadata.xml
new file mode 100644
index 00000000000..87ec310b168
--- /dev/null
+++ b/media-video/bombono-dvd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="gnome">Use GVFS for desktop integration</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">bombono</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/camorama/Manifest b/media-video/camorama/Manifest
new file mode 100644
index 00000000000..d77774dab80
--- /dev/null
+++ b/media-video/camorama/Manifest
@@ -0,0 +1 @@
+DIST camorama-0.19.tar.bz2 277169 SHA256 948c24f96c77f550881102c2c6ca818ba00ffb7a48216ae21ae75eb55d351970 SHA512 efdbe3cdf90a4f4a39b02f141395431c24ac2a7a56ef7faa75b38ae145cdc33f3748daca6bf33a4fa21549b7fef0e7e26d135fd265906e0531e2638739492689 WHIRLPOOL 1f3cb71abac84536736c8e6a3ef141897107b3be1ca2d0ab070faa33bf7db012442e4f704a74937b730d709e56f360ced84d44a726af7e2376d1953d99e59f23
diff --git a/media-video/camorama/camorama-0.19-r2.ebuild b/media-video/camorama/camorama-0.19-r2.ebuild
new file mode 100644
index 00000000000..45d27053247
--- /dev/null
+++ b/media-video/camorama/camorama-0.19-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit eutils gnome2
+
+DESCRIPTION="A webcam application featuring various image filters"
+HOMEPAGE="http://git.gnome.org/browse/camorama/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="
+ >=gnome-base/gconf-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnome-2
+ gnome-base/libgnome-keyring
+ >=gnome-base/libgnomeui-2
+ media-libs/libv4l
+ x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gconf.patch \
+ "${FILESDIR}"/${P}-fixes.patch \
+ "${FILESDIR}"/${P}-libv4l.patch \
+ "${FILESDIR}"/${P}-no-more-videodev_h.patch \
+ "${FILESDIR}"/${P}-glib-232.patch
+
+ gnome2_src_prepare
+}
diff --git a/media-video/camorama/files/camorama-0.19-fixes.patch b/media-video/camorama/files/camorama-0.19-fixes.patch
new file mode 100644
index 00000000000..949c19d6674
--- /dev/null
+++ b/media-video/camorama/files/camorama-0.19-fixes.patch
@@ -0,0 +1,107 @@
+http://cvs.fedoraproject.org/viewvc/rpms/camorama/devel/
+
+--- camorama-0.19/src/callbacks.c 2007-09-16 15:36:55.000000000 +0200
++++ camorama-0.19.new/src/callbacks.c 2008-06-29 22:22:44.000000000 +0200
+@@ -387,9 +387,6 @@
+ }
+ }
+
+- cam->pixmap = gdk_pixmap_new (NULL, cam->x, cam->y, cam->desk_depth);
+- gtk_widget_set_size_request (glade_xml_get_widget (cam->xml, "da"),
+- cam->x, cam->y);
+
+ /*
+ * if(cam->read == FALSE) {
+@@ -441,6 +438,11 @@
+ * * }
+ */
+ get_win_info (cam);
++
++ cam->pixmap = gdk_pixmap_new (NULL, cam->x, cam->y, cam->desk_depth);
++ gtk_widget_set_size_request (glade_xml_get_widget (cam->xml, "da"),
++ cam->x, cam->y);
++
+ frame = 0;
+ gtk_window_resize (GTK_WINDOW
+ (glade_xml_get_widget (cam->xml, "main_window")), 320,
+@@ -520,8 +522,14 @@
+ gtk_widget_show (about);
+ }
+
++void
++camorama_filter_color_filter(void* filter, guchar *image, int x, int y, int depth);
++
+ static void
+ apply_filters(cam* cam) {
++ /* v4l has reverse rgb order from what camora expect so call the color
++ filter to fix things up before running the user selected filters */
++ camorama_filter_color_filter(NULL, cam->pic_buf, cam->x, cam->y, cam->depth);
+ camorama_filter_chain_apply(cam->filter_chain, cam->pic_buf, cam->x, cam->y, cam->depth);
+ #warning "FIXME: enable the threshold channel filter"
+ // if((effect_mask & CAMORAMA_FILTER_THRESHOLD_CHANNEL) != 0)
+--- camorama-0.19/src/filter.c 2007-09-16 14:48:50.000000000 +0200
++++ camorama-0.19.new/src/filter.c 2008-06-29 22:11:42.000000000 +0200
+@@ -151,12 +151,12 @@
+ static void
+ camorama_filter_color_init(CamoramaFilterColor* self) {}
+
+-static void
++void
+ camorama_filter_color_filter(CamoramaFilterColor* filter, guchar *image, int x, int y, int depth) {
+ int i;
+ char tmp;
+ i = x * y;
+- while (--i) {
++ while (i--) {
+ tmp = image[0];
+ image[0] = image[2];
+ image[2] = tmp;
+--- camorama-0.19/src/main.c 2007-09-16 15:36:55.000000000 +0200
++++ camorama-0.19.new/src/main.c 2008-06-29 22:20:04.000000000 +0200
+@@ -224,8 +224,7 @@
+
+ /* get picture attributes */
+ get_pic_info (cam);
+-// set_pic_info(cam);
+- /* set_pic_info(cam); */
++ set_pic_info (cam);
+ cam->contrast = cam->vid_pic.contrast;
+ cam->brightness = cam->vid_pic.brightness;
+ cam->colour = cam->vid_pic.colour;
+--- camorama-0.19/src/v4l.c 2007-09-16 14:48:05.000000000 +0200
++++ camorama-0.19.new/src/v4l.c 2008-06-29 22:20:23.000000000 +0200
+@@ -158,8 +158,8 @@
+ if(cam->debug) {
+ g_message("SET PIC");
+ }
+- //cam->vid_pic.palette = VIDEO_PALETTE_RGB24;
+- //cam->vid_pic.depth = 24;
++ cam->vid_pic.palette = VIDEO_PALETTE_RGB24;
++ cam->vid_pic.depth = 24;
+ //cam->vid_pic.palette = VIDEO_PALETTE_YUV420P;
+ if(ioctl(cam->dev, VIDIOCSPICT, &cam->vid_pic) == -1) {
+ if(cam->debug) {
+@@ -232,6 +232,8 @@
+ exit(0);
+ }
+
++ cam->x = cam->vid_win.width;
++ cam->y = cam->vid_win.height;
+ }
+
+ void set_buffer(cam * cam)
+--- camorama-0.19/src/camorama-window.c~ 2007-09-16 15:36:55.000000000 +0200
++++ camorama-0.19/src/camorama-window.c 2009-06-23 20:19:16.000000000 +0200
+@@ -209,11 +209,7 @@ load_interface(cam* cam) {
+
+ logo = gtk_icon_theme_load_icon(gtk_icon_theme_get_for_screen(gtk_widget_get_screen(glade_xml_get_widget(cam->xml, "main_window"))), CAMORAMA_STOCK_WEBCAM, 24, 0, NULL);
+ gtk_window_set_default_icon(logo);
+- logo = (GdkPixbuf *) create_pixbuf (PACKAGE_DATA_DIR "/pixmaps/camorama.png");
+- if (logo == NULL) {
+- printf ("\n\nLOGO NO GO\n\n");
+- }
+-
++ logo = gtk_icon_theme_load_icon(gtk_icon_theme_get_for_screen(gtk_widget_get_screen(glade_xml_get_widget(cam->xml, "main_window"))), "camorama", 48, 0, NULL);
+ if (cam->show_adjustments == FALSE) {
+ gtk_widget_hide (glade_xml_get_widget
+ (cam->xml, "adjustments_table"));
diff --git a/media-video/camorama/files/camorama-0.19-gconf.patch b/media-video/camorama/files/camorama-0.19-gconf.patch
new file mode 100644
index 00000000000..5a1a19e9b57
--- /dev/null
+++ b/media-video/camorama/files/camorama-0.19-gconf.patch
@@ -0,0 +1,40 @@
+# Make camorama respect --disable-schemas-install configure switch
+# https://bugs.gentoo.org/show_bug.cgi?id=243274
+#
+# Makefile.am | 4 ++++
+# Makefile.in | 7 ++++---
+# 2 files changed, 8 insertions(+), 3 deletions(-)
+#
+#
+--- a/data/Makefile.am 2008-11-30 12:39:56.000000000 +0100
++++ b/data/Makefile.am 2008-11-30 12:41:33.000000000 +0100
+@@ -24,9 +24,13 @@
+ cp $(app_DATA) ~/.gnome/application-registry
+ cp $(keys_DATA) ~/.gnome/mime-info/
+
++if GCONF_SCHEMAS_INSTALL
+ install-data-local:
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
+ $(GCONFTOOL) --shutdown
++else
++install-data-local:
++endif
+
+ EXTRA_DIST = $(glade_DATA) $(schema_in_files) $(stuff_DATA)
+
+--- a/data/Makefile.in 2008-11-30 12:41:10.000000000 +0100
++++ b/data/Makefile.in 2008-11-30 12:42:24.000000000 +0100
+@@ -448,9 +437,10 @@
+ cp $(app_DATA) ~/.gnome/application-registry
+ cp $(keys_DATA) ~/.gnome/mime-info/
+
+-install-data-local:
+- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
+- $(GCONFTOOL) --shutdown
++@GCONF_SCHEMAS_INSTALL_TRUE@install-data-local:
++@GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
++@GCONF_SCHEMAS_INSTALL_TRUE@ $(GCONFTOOL) --shutdown
++@GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/media-video/camorama/files/camorama-0.19-glib-232.patch b/media-video/camorama/files/camorama-0.19-glib-232.patch
new file mode 100644
index 00000000000..d6a76b8e45c
--- /dev/null
+++ b/media-video/camorama/files/camorama-0.19-glib-232.patch
@@ -0,0 +1,24 @@
+diff -Nu a/src/camorama-stock-items.h b/src/camorama-stock-items.h
+--- a/src/camorama-stock-items.h 2007-06-14 16:05:33.000000000 +0200
++++ b/src/camorama-stock-items.h 2012-05-02 22:40:21.000000000 +0200
+@@ -1,7 +1,7 @@
+ #ifndef CAMORAMA_STOCK_ITEMS_H
+ #define CAMORAMA_STOCK_ITEMS_H
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+diff -Nu a/src/glib-helpers.h b/src/glib-helpers.h
+--- a/src/glib-helpers.h 2007-06-14 16:05:33.000000000 +0200
++++ b/src/glib-helpers.h 2012-05-02 22:46:06.000000000 +0200
+@@ -24,7 +24,7 @@
+ #ifndef GLIB_HELPERS_H
+ #define GLIB_HELPERS_H
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
diff --git a/media-video/camorama/files/camorama-0.19-libv4l.patch b/media-video/camorama/files/camorama-0.19-libv4l.patch
new file mode 100644
index 00000000000..ada58fe7dd2
--- /dev/null
+++ b/media-video/camorama/files/camorama-0.19-libv4l.patch
@@ -0,0 +1,198 @@
+http://cvs.fedoraproject.org/viewvc/rpms/camorama/devel/
+
+--- camorama-0.19/src/Makefile.am 2007-09-16 14:48:05.000000000 +0200
++++ camorama-0.19.new/src/Makefile.am 2009-06-24 15:01:37.000000000 +0200
+@@ -36,7 +36,7 @@
+ filter.h \
+ $(BUILT_SOURCES)\
+ $(NULL)
+-camorama_LDADD = $(PACKAGE_LIBS)
++camorama_LDADD = $(PACKAGE_LIBS) -lv4l1
+
+ DISTCLEANFILES=$(BUILT_SOURCES)
+
+--- camorama-0.19/src/Makefile.in 2007-10-06 21:06:28.000000000 +0200
++++ camorama-0.19.new/src/Makefile.in 2009-06-24 15:01:50.000000000 +0200
+@@ -248,7 +248,7 @@
+ $(BUILT_SOURCES)\
+ $(NULL)
+
+-camorama_LDADD = $(PACKAGE_LIBS)
++camorama_LDADD = $(PACKAGE_LIBS) -lv4l1
+ DISTCLEANFILES = $(BUILT_SOURCES)
+ all: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+--- camorama-0.19/src/callbacks.c 2009-06-24 15:01:55.000000000 +0200
++++ camorama-0.19.new/src/callbacks.c 2009-06-24 14:55:42.000000000 +0200
+@@ -9,6 +9,7 @@
+ #include <libgnomeui/gnome-propertybox.h>
+ #include <libgnomeui/gnome-window-icon.h>
+ #include <pthread.h>
++#include <libv4l1.h>
+
+ extern GtkWidget *main_window, *prefswindow;
+ //extern state func_state;
+@@ -390,7 +391,7 @@
+
+ /*
+ * if(cam->read == FALSE) {
+- * cam->pic = mmap(0, cam->vid_buf.size, PROT_READ | PROT_WRITE, MAP_SHARED, cam->dev, 0);
++ * cam->pic = v4l1_mmap(0, cam->vid_buf.size, PROT_READ | PROT_WRITE, MAP_SHARED, cam->dev, 0);
+ *
+ * if((unsigned char *) -1 == (unsigned char *) cam->pic) {
+ * if(cam->debug == TRUE) {
+@@ -401,7 +402,7 @@
+ * }
+ * }else{
+ * cam->pic_buf = malloc(cam->x * cam->y * cam->depth);
+- * read(cam->dev,cam->pic,(cam->x * cam->y * 3));
++ * v4l1_read(cam->dev,cam->pic,(cam->x * cam->y * 3));
+ * }
+ */
+
+@@ -427,7 +428,7 @@
+ * if(cam->read == FALSE) {
+ * * for(frame = 0; frame < cam->vid_buf.frames; frame++) {
+ * * cam->vid_map.frame = frame;
+- * * if(ioctl(cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
++ * * if(v4l1_ioctl(cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
+ * * if(cam->debug == TRUE) {
+ * * fprintf(stderr, "Unable to capture image (VIDIOCMCAPTURE) during resize.\n");
+ * * }
+@@ -547,7 +548,7 @@
+ int i, count = 0;
+ GdkGC *gc;
+
+- read (cam->dev, cam->pic, (cam->x * cam->y * 3));
++ v4l1_read (cam->dev, cam->pic, (cam->x * cam->y * 3));
+ frames2++;
+ /*
+ * update_rec.x = 0;
+@@ -588,7 +589,7 @@
+
+ i = -1;
+ while (i < 0) {
+- i = ioctl (cam->dev, VIDIOCSYNC, &frame);
++ i = v4l1_ioctl (cam->dev, VIDIOCSYNC, &frame);
+
+ if (i < 0 && errno == EINTR) {
+ if (cam->debug == TRUE) {
+@@ -630,7 +631,7 @@
+ 0, cam->x, cam->y);
+
+ cam->vid_map.frame = frame;
+- if (ioctl (cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
++ if (v4l1_ioctl (cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
+ if (cam->debug == TRUE) {
+ fprintf (stderr, "Unable to capture image (VIDIOCMCAPTURE)\n");
+ }
+@@ -677,7 +678,7 @@
+ void init_cam (GtkWidget * capture, cam * cam)
+ {
+ cam->pic =
+- mmap (0, cam->vid_buf.size, PROT_READ | PROT_WRITE,
++ v4l1_mmap (0, cam->vid_buf.size, PROT_READ | PROT_WRITE,
+ MAP_SHARED, cam->dev, 0);
+
+ if ((unsigned char *) -1 == (unsigned char *) cam->pic) {
+@@ -692,7 +693,7 @@
+ cam->vid_map.format = cam->vid_pic.palette;
+ for (frame = 0; frame < cam->vid_buf.frames; frame++) {
+ cam->vid_map.frame = frame;
+- if (ioctl (cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
++ if (v4l1_ioctl (cam->dev, VIDIOCMCAPTURE, &cam->vid_map) < 0) {
+ if (cam->debug == TRUE) {
+ fprintf (stderr,
+ "Unable to capture image (VIDIOCMCAPTURE).\n");
+--- camorama-0.19/src/main.c 2009-06-24 15:01:55.000000000 +0200
++++ camorama-0.19.new/src/main.c 2009-06-24 14:59:35.000000000 +0200
+@@ -9,6 +9,7 @@
+ #include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
+ #include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h>
+ #include <locale.h>
++#include <libv4l1.h>
+
+ #include "camorama-display.h"
+ #include "camorama-stock-items.h"
+@@ -206,7 +207,7 @@
+ gdk_pixbuf_xlib_init (display, 0);
+ cam->desk_depth = xlib_rgb_get_depth ();
+
+- cam->dev = open (cam->video_dev, O_RDWR);
++ cam->dev = v4l1_open (cam->video_dev, O_RDWR);
+
+ camera_cap (cam);
+ get_win_info (cam);
+@@ -284,5 +285,8 @@
+
+ gtk_timeout_add (2000, (GSourceFunc) fps, cam->status);
+ gtk_main ();
++ v4l1_munmap(cam->pic, cam->vid_buf.size);
++ v4l1_close(cam->dev);
++
+ return 0;
+ }
+--- camorama-0.19/src/v4l.c 2009-06-24 15:01:55.000000000 +0200
++++ camorama-0.19.new/src/v4l.c 2009-06-24 14:54:09.000000000 +0200
+@@ -2,6 +2,7 @@
+ #include<time.h>
+ #include<errno.h>
+ #include<gnome.h>
++#include <libv4l1.h>
+ #include "support.h"
+
+ extern int frame_number;
+@@ -87,7 +88,7 @@
+ void camera_cap(cam * cam)
+ {
+ char *msg;
+- if(ioctl(cam->dev, VIDIOCGCAP, &cam->vid_cap) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCGCAP, &cam->vid_cap) == -1) {
+ if(cam->debug == TRUE) {
+ fprintf(stderr, "VIDIOCGCAP -- could not get camera capabilities, exiting.....\n");
+ }
+@@ -161,7 +162,7 @@
+ cam->vid_pic.palette = VIDEO_PALETTE_RGB24;
+ cam->vid_pic.depth = 24;
+ //cam->vid_pic.palette = VIDEO_PALETTE_YUV420P;
+- if(ioctl(cam->dev, VIDIOCSPICT, &cam->vid_pic) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCSPICT, &cam->vid_pic) == -1) {
+ if(cam->debug) {
+ g_message("VIDIOCSPICT -- could not set picture info, exiting....");
+ }
+@@ -176,7 +177,7 @@
+ //set_pic_info(cam);
+ char *msg;
+
+- if(ioctl(cam->dev, VIDIOCGPICT, &cam->vid_pic) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCGPICT, &cam->vid_pic) == -1) {
+ msg = g_strdup_printf(_("Could not connect to video device (%s).\nPlease check connection."), cam->video_dev);
+ error_dialog(msg);
+ if(cam->debug == TRUE) {
+@@ -201,7 +202,7 @@
+ void get_win_info(cam * cam)
+ {
+ gchar *msg;
+- if(ioctl(cam->dev, VIDIOCGWIN, &cam->vid_win) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCGWIN, &cam->vid_win) == -1) {
+ msg = g_strdup_printf(_("Could not connect to video device (%s).\nPlease check connection."), cam->video_dev);
+ error_dialog(msg);
+ if(cam->debug == TRUE) {
+@@ -222,7 +223,7 @@
+ void set_win_info(cam * cam)
+ {
+ gchar *msg;
+- if(ioctl(cam->dev, VIDIOCSWIN, &cam->vid_win) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCSWIN, &cam->vid_win) == -1) {
+ msg = g_strdup_printf(_("Could not connect to video device (%s).\nPlease check connection."), cam->video_dev);
+ error_dialog(msg);
+ if(cam->debug == TRUE) {
+@@ -239,7 +240,7 @@
+ void set_buffer(cam * cam)
+ {
+ char *msg;
+- if(ioctl(cam->dev, VIDIOCGMBUF, &cam->vid_buf) == -1) {
++ if(v4l1_ioctl(cam->dev, VIDIOCGMBUF, &cam->vid_buf) == -1) {
+ msg = g_strdup_printf(_("Could not connect to video device (%s).\nPlease check connection."), cam->video_dev);
+ error_dialog(msg);
+ if(cam->debug == TRUE) {
diff --git a/media-video/camorama/files/camorama-0.19-no-more-videodev_h.patch b/media-video/camorama/files/camorama-0.19-no-more-videodev_h.patch
new file mode 100644
index 00000000000..84c8f68ba72
--- /dev/null
+++ b/media-video/camorama/files/camorama-0.19-no-more-videodev_h.patch
@@ -0,0 +1,14 @@
+http://pkgs.fedoraproject.org/gitweb/?p=camorama.git;a=blob_plain;f=camorama-0.19-no-more-videodev_h.patch;hb=HEAD
+
+--- src/v4l.h
++++ src/v4l.h
+@@ -12,8 +12,7 @@
+ #include <sys/mman.h>
+ #include <fcntl.h>
+ #include <gtk/gtk.h>
+-#include <linux/types.h>
+-#include <linux/videodev.h>
++#include <libv4l1.h>
+ #include <signal.h>
+ #include <png.h>
+ #include <glade/glade.h>
diff --git a/media-video/camorama/metadata.xml b/media-video/camorama/metadata.xml
new file mode 100644
index 00000000000..2c5e0491711
--- /dev/null
+++ b/media-video/camorama/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/ccextractor/Manifest b/media-video/ccextractor/Manifest
new file mode 100644
index 00000000000..02e77b93c0a
--- /dev/null
+++ b/media-video/ccextractor/Manifest
@@ -0,0 +1,3 @@
+DIST ccextractor-0.59-src.zip 168198 SHA256 13ca427527661e99f156c72ebd09b5bb4eb735904a83c2b3eb3f8aec66425ecb
+DIST ccextractor.src.0.68.zip 927590 SHA256 b4d711b88995bbf4e22b70076b802b162fcaca3eff95263e01ed502edc7dbd00 SHA512 c73eb007db7058cf17a818cd5bdf20dfb6f6f3585f55d9f7f1b894aaedcc6b74ac0c2b34b517b44491cdefe2fe7b1fc0035802326b61f7f6330acdb854b8c2ad WHIRLPOOL 4d6b245212f37d79076fc6afe6bdd4bc754c6ffb5c94559aea1f1428270de395daf7720e8cf7d346681975cb68d8357ef2aaed326a59d9a37eea7d7ddc157f3b
+DIST ccextractor.src.0.69.zip 940531 SHA256 bfb6d1174e7a440a624f39ade3c9b9ccbdebb9111ec308578d68aba89a8ec50a SHA512 51c3218a9a8e88aa86acfdd0cbd51bc52a734bde77dbea32c7e2a0f63835b25e0e86ea4b228564e5e996a5a19c74d5513d057bf510c324280f0c155a96b77775 WHIRLPOOL f27c377ab7f535900f858f138867cc8d12b76b05bc2eabbd0309c4ffcd7cd19865f419d4f0fe2b8bd1b480a6594f4a8a0104212fba6923da126b56ed31425c96
diff --git a/media-video/ccextractor/ccextractor-0.59.ebuild b/media-video/ccextractor/ccextractor-0.59.ebuild
new file mode 100644
index 00000000000..bc594baafec
--- /dev/null
+++ b/media-video/ccextractor/ccextractor-0.59.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Extract closed captioning subtitles from video to SRT"
+HOMEPAGE="http://ccextractor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ccextractor/${P}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ cd src
+ $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o ccextractor *.cpp || die
+}
+
+src_install() {
+ dobin src/ccextractor
+ dodoc docs/*.TXT
+}
diff --git a/media-video/ccextractor/ccextractor-0.68.ebuild b/media-video/ccextractor/ccextractor-0.68.ebuild
new file mode 100644
index 00000000000..c5abf7af288
--- /dev/null
+++ b/media-video/ccextractor/ccextractor-0.68.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Extract closed captioning subtitles from video to SRT"
+HOMEPAGE="http://ccextractor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ccextractor/${PN}.src.${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ media-libs/libpng
+ sys-libs/zlib"
+
+S="${WORKDIR}/${PN}.${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-libpng.patch" || die
+ rm -r src/libpng src/zlib || die
+}
+
+src_compile() {
+ cd src
+ $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -DHAVE_LIBPNG -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -Igpacmp4/ -o ccextractor $(find . -name '*.cpp') $(find . -name '*.c') -lpng || die
+}
+
+src_install() {
+ dobin src/ccextractor
+ dodoc docs/*.TXT
+}
diff --git a/media-video/ccextractor/ccextractor-0.69.ebuild b/media-video/ccextractor/ccextractor-0.69.ebuild
new file mode 100644
index 00000000000..26e2145ebb9
--- /dev/null
+++ b/media-video/ccextractor/ccextractor-0.69.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Extract closed captioning subtitles from video to SRT"
+HOMEPAGE="http://ccextractor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ccextractor/${PN}.src.${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ media-libs/libpng
+ sys-libs/zlib"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ rm -r src/libpng src/zlib || die
+}
+
+src_compile() {
+ cd src
+ $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -DHAVE_LIBPNG -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -Igpacmp4/ -o ccextractor $(find . -name '*.cpp') $(find . -name '*.c') -lpng || die
+}
+
+src_install() {
+ dobin src/ccextractor
+ dodoc docs/*.TXT
+}
diff --git a/media-video/ccextractor/files/ccextractor-0.68-libpng.patch b/media-video/ccextractor/files/ccextractor-0.68-libpng.patch
new file mode 100644
index 00000000000..518d434df36
--- /dev/null
+++ b/media-video/ccextractor/files/ccextractor-0.68-libpng.patch
@@ -0,0 +1,11 @@
+--- src/608_spupng.cpp.orig 2014-03-19 10:32:47.578960867 -0600
++++ src/608_spupng.cpp 2014-03-19 10:33:00.692179157 -0600
+@@ -490,7 +490,7 @@
+ {
+ unsigned int i;
+
+- if (setjmp (png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ return 0;
+
+ png_init_io (png_ptr, fppng); \ No newline at end of file
diff --git a/media-video/ccextractor/metadata.xml b/media-video/ccextractor/metadata.xml
new file mode 100644
index 00000000000..76d8e402b9f
--- /dev/null
+++ b/media-video/ccextractor/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <longdescription lang="en">
+A tool that analyzes video files and produces independent subtitle files from the closed captions data. Exports to SRT subtitle format.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">ccextractor</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/cclive/Manifest b/media-video/cclive/Manifest
new file mode 100644
index 00000000000..1bdf4cee125
--- /dev/null
+++ b/media-video/cclive/Manifest
@@ -0,0 +1 @@
+DIST cclive-0.9.3.tar.xz 296720 SHA256 2edeaf5d76455723577e0b593f0322a97f1e0c8b0cffcc70eca8b5d17374a495 SHA512 0d8f6f870e24e2906542c1e02745009597fca2e879261bef7a81e07f8dec016ee200d8a4b37dd0f20b3ad27c12e2445fed1f6a9dc262a6c27e40222048bb5438 WHIRLPOOL 441a3ef5e7c7633c91b4761a1f728998997648ebb6a7984e6a1dafea418a8863be76ffff7dc3e3727ddff81d4ed5f16d5454fb0e0b84c3dcea7e8214f27f8d35
diff --git a/media-video/cclive/cclive-0.9.3-r1.ebuild b/media-video/cclive/cclive-0.9.3-r1.ebuild
new file mode 100644
index 00000000000..e911be3df68
--- /dev/null
+++ b/media-video/cclive/cclive-0.9.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Command line tool for extracting videos from various websites"
+HOMEPAGE="http://cclive.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+
+RDEPEND=">=media-libs/libquvi-0.4.0
+ >=dev-cpp/glibmm-2.24:2
+ >=dev-libs/boost-1.49
+ >=dev-libs/glib-2.24:2
+ >=net-misc/curl-7.20
+ >=dev-libs/libpcre-8.02[cxx]"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-iostream.patch #527658
+}
+
+src_configure() {
+ econf --disable-ccl
+}
diff --git a/media-video/cclive/files/cclive-0.9.3-iostream.patch b/media-video/cclive/files/cclive-0.9.3-iostream.patch
new file mode 100644
index 00000000000..f7bfd074919
--- /dev/null
+++ b/media-video/cclive/files/cclive-0.9.3-iostream.patch
@@ -0,0 +1,80 @@
+https://github.com/legatvs/cclive/pull/2
+
+From dcaed542d002cbf857e0bca1fa12f8ab501c419a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Fri, 26 Dec 2014 13:49:36 -0500
+Subject: [PATCH] Add explicit <iostream> includes, fixes build with Boost 1.56
+
+See https://bugs.gentoo.org/show_bug.cgi?id=527658 and
+https://bugs.gentoo.org/show_bug.cgi?id=533506
+---
+ src/cc/error.h | 1 +
+ src/cc/input.h | 1 +
+ src/cc/log.h | 1 +
+ src/cc/options.h | 1 +
+ src/cc/sig.h | 1 +
+ 5 files changed, 5 insertions(+)
+
+diff --git a/src/cc/error.h b/src/cc/error.h
+index c1d80ab..f6a3e6d 100644
+--- a/src/cc/error.h
++++ b/src/cc/error.h
+@@ -28,6 +28,7 @@
+ #include <boost/exception/get_error_info.hpp>
+ #include <boost/exception/errinfo_errno.hpp>
+ #include <boost/tuple/tuple.hpp>
++#include <iostream>
+ #include <cerrno>
+
+ namespace cc
+diff --git a/src/cc/input.h b/src/cc/input.h
+index 98c334b..523e9fe 100644
+--- a/src/cc/input.h
++++ b/src/cc/input.h
+@@ -23,6 +23,7 @@
+
+ #include <ccinternal>
+
++#include <iostream>
+ #include <istream>
+ #include <sstream>
+
+diff --git a/src/cc/log.h b/src/cc/log.h
+index 2b2c986..aaf3b32 100644
+--- a/src/cc/log.h
++++ b/src/cc/log.h
+@@ -25,6 +25,7 @@
+
+ #include <boost/iostreams/filtering_stream.hpp>
+ #include <boost/filesystem.hpp>
++#include <iostream>
+ #include <fstream>
+
+ #include <ccerror>
+diff --git a/src/cc/options.h b/src/cc/options.h
+index 6c45ce8..6a7e40c 100644
+--- a/src/cc/options.h
++++ b/src/cc/options.h
+@@ -37,6 +37,7 @@
+ #include <boost/filesystem.hpp>
+ #include <boost/foreach.hpp>
+ #include <boost/format.hpp>
++#include <iostream>
+ #include <fstream>
+
+ #include <ccerror>
+diff --git a/src/cc/sig.h b/src/cc/sig.h
+index 56de768..cca23ad 100644
+--- a/src/cc/sig.h
++++ b/src/cc/sig.h
+@@ -26,6 +26,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <iostream>
+ #include <csignal>
+ #include <cstdio>
+
+--
+2.2.1
+
diff --git a/media-video/cclive/metadata.xml b/media-video/cclive/metadata.xml
new file mode 100644
index 00000000000..318029858c4
--- /dev/null
+++ b/media-video/cclive/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <longdescription lang="en">
+ Command line tool for extracting videos from Youtube, Google Video,
+ Dailymotion, Guba (free) and Stage6 websites
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">cclive</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/chaplin/Manifest b/media-video/chaplin/Manifest
new file mode 100644
index 00000000000..e68e2e5cc17
--- /dev/null
+++ b/media-video/chaplin/Manifest
@@ -0,0 +1 @@
+DIST chaplin-1.10.tgz 23843 RMD160 2a24075486edd52b5ed24254b5ff9a8d845bf4fc SHA1 864fe0942998f79044f3cb3ce8decc8831edbcfe SHA256 064d3226d003477ae81273cee3870b5797f647623f67eb05e5c1e2e910d89228
diff --git a/media-video/chaplin/chaplin-1.10-r1.ebuild b/media-video/chaplin/chaplin-1.10-r1.ebuild
new file mode 100644
index 00000000000..fed2d9681c7
--- /dev/null
+++ b/media-video/chaplin/chaplin-1.10-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="This is a program to raw copy chapters from a dvd using libdvdread"
+HOMEPAGE="http://www.lallafa.de/bp/chaplin.html"
+SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="transcode vcd"
+
+DEPEND=">=media-libs/libdvdread-0.9.4"
+RDEPEND="${DEPEND}
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ media-video/mjpegtools
+ transcode? ( >=media-video/transcode-0.6.2 )
+ vcd? ( >=media-video/vcdimager-0.7.2 )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libdvdread-0.9.6.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin chaplin chaplin-genmenu
+}
diff --git a/media-video/chaplin/files/chaplin-1.10-asneeded.patch b/media-video/chaplin/files/chaplin-1.10-asneeded.patch
new file mode 100644
index 00000000000..f7cb499407a
--- /dev/null
+++ b/media-video/chaplin/files/chaplin-1.10-asneeded.patch
@@ -0,0 +1,15 @@
+--- chaplin.orig/Makefile 2004-03-21 18:44:18.000000000 +0100
++++ chaplin/Makefile 2009-10-25 18:34:26.082229887 +0100
+@@ -6,10 +6,10 @@
+ all: build
+
+ build:
+- gcc -DNDEBUG -Wall -I$(LIBDVDREAD)/include -L$(LIBDVDREAD)/lib -ldvdread -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -lm
++ $(CC) $(CFLAGS) $(LDFLAGS) -DNDEBUG -Wall -I$(LIBDVDREAD)/include -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -L$(LIBDVDREAD)/lib -ldvdread -lm
+
+ debug:
+- gcc -Wall -I$(LIBDVDREAD)/include -L$(LIBDVDREAD)/lib -ldvdread -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -lm
++ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -I$(LIBDVDREAD)/include -Wl,-rpath,$(LIBDVDREAD)/lib -o chaplin chaplin.c -L$(LIBDVDREAD)/lib -ldvdread -lm
+
+ dist:
+ cd .. ; tar cvfz chaplin.tgz chaplin/Makefile chaplin/chaplin.c chaplin/chaplin-genmenu chaplin/chaplin
diff --git a/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch b/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch
new file mode 100644
index 00000000000..7e68dd67a69
--- /dev/null
+++ b/media-video/chaplin/files/chaplin-1.10-libdvdread-0.9.6.patch
@@ -0,0 +1,11 @@
+diff -N -u -r chaplin/chaplin.c chaplin-new/chaplin.c
+--- chaplin/chaplin.c 2004-03-21 18:45:44.000000000 +0100
++++ chaplin-new/chaplin.c 2006-06-29 22:36:54.457745979 +0200
+@@ -18,6 +18,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <math.h>
++#include <inttypes.h>
+
+ /* libdvdread stuff */
+ #include <dvdread/dvd_reader.h>
diff --git a/media-video/chaplin/metadata.xml b/media-video/chaplin/metadata.xml
new file mode 100644
index 00000000000..6cd19734868
--- /dev/null
+++ b/media-video/chaplin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="transcode">Enable DVD ripping and transcoding</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/cheese/Manifest b/media-video/cheese/Manifest
new file mode 100644
index 00000000000..dee6b3f268a
--- /dev/null
+++ b/media-video/cheese/Manifest
@@ -0,0 +1,3 @@
+DIST cheese-3.12.2.tar.xz 1777924 SHA256 a7b45369e75e222e3bd5e9a4408a0e6c230be0c49d359a387d36a42e17e3bc64 SHA512 4548ac903cc435f8ab5e55fbf684239d9a8da2413448506a1bfd6a387348e9b8b08dc3f292e8eff5bab3491ff079cadcb901f82fd42dadd75b801e154a15cdf3 WHIRLPOOL a8312e428771059cbdc982e458bb119af507e2a667f2af9743cdfe2ed6a25829432e7ea7a5dca27932999b7f3ab1cf16f99a0b31cec8f9094fd9941b85b57dfb
+DIST cheese-3.14.2.tar.xz 1804900 SHA256 3074a567e0080d7b8fc0512bf3b08c3397e38083cce1767104624288f033a517 SHA512 cf89baab6858bd2fa100e4dec24067d0bcc49f27632331b99a4f442f235ffca14630af2bf11317cbdc3850202c71bab1920101b9190091c2f0ff9bd4274c0753 WHIRLPOOL 7c909d3d991d97b674a0edd48e639e11d1c81eb9b938861c6f5555f722785f1f9c5b6a74ca79820d6c7bb24ba159154fc402a19248dcadcc1e3aea444b11bc4e
+DIST cheese-3.16.1.tar.xz 1823864 SHA256 44622f6ad6d8703b22c6d40219ae317959495ccc9994b563b324592933ff90a0 SHA512 c5af1fb76b53e8f1331f5e30052c05f5555eb6baf1c6e0a3b63c962e99507c83240175b5e1d84817425a34f0f1ebd3c51ea126799873390685f61ae4a7add043 WHIRLPOOL 901cd41f7923d456f7f7f78ac248014e9223eba41e3560e3198c160250b9c148bb1c35dd2c22df6560b97c30a2ba278c54dbc626b752100de473561bd1e77785
diff --git a/media-video/cheese/cheese-3.12.2-r1.ebuild b/media-video/cheese/cheese-3.12.2-r1.ebuild
new file mode 100644
index 00000000000..379a9859f9f
--- /dev/null
+++ b/media-video/cheese/cheese-3.12.2-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.24"
+
+inherit gnome2 vala virtualx
+
+DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
+HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
+
+LICENSE="GPL-2+"
+SLOT="0/7" # subslot = libcheese soname version
+IUSE="+introspection test"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+# using clutter-gst-2.0.0 results in GLSL errors; bug #478702
+COMMON_DEPEND="
+ >=dev-libs/glib-2.39.90:2
+ >=x11-libs/gtk+-3.10:3[introspection?]
+ >=x11-libs/cairo-1.10:=
+ >=x11-libs/pango-1.28.0
+ >=gnome-base/gnome-desktop-2.91.6:3=
+ >=gnome-base/librsvg-2.32.0:2
+ >=media-libs/libcanberra-0.26[gtk3]
+ >=media-libs/clutter-1.13.2:1.0[introspection?]
+ >=media-libs/clutter-gtk-0.91.8:1.0
+ >=media-libs/clutter-gst-2.0.6:2.0
+ media-libs/cogl:1.0=[introspection?]
+
+ media-video/gnome-video-effects
+ x11-libs/gdk-pixbuf:2[jpeg,introspection?]
+ x11-libs/libX11
+ x11-libs/libXtst
+
+ media-libs/gstreamer:1.0[introspection?]
+ media-libs/gst-plugins-base:1.0[introspection?,ogg,pango,theora,vorbis,X]
+
+ virtual/libgudev:=
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+"
+RDEPEND="${COMMON_DEPEND}
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-good:1.0
+
+ media-plugins/gst-plugins-jpeg:1.0
+ media-plugins/gst-plugins-v4l2:1.0
+ media-plugins/gst-plugins-vpx:1.0
+"
+DEPEND="${COMMON_DEPEND}
+ $(vala_depend)
+ app-text/docbook-xml-dtd:4.3
+ app-text/yelp-tools
+ dev-libs/libxml2:2
+ >=dev-util/gtk-doc-am-1.14
+ >=dev-util/intltool-0.50
+ virtual/pkgconfig
+ x11-proto/xf86vidmodeproto
+ test? ( dev-libs/glib:2[utils] )
+"
+
+src_prepare() {
+ # FIXME: looks like a regression from an underlying library
+ sed -e 's|\(g_test_add_func.*photo_path.*;\)|/*\1*/|' \
+ -e 's|\(g_test_add_func.*video_path.*;\)|/*\1*/|' \
+ -i "${S}"/tests/test-libcheese.c || die
+
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ GST_INSPECT=$(type -P true) \
+ $(use_enable introspection) \
+ --disable-lcov \
+ --disable-static \
+ ITSTOOL=$(type -P true)
+}
+
+src_compile() {
+ # Clutter-related sandbox violations when USE="doc introspection" and
+ # FEATURES="-userpriv" (see bug #385917).
+ unset DISPLAY
+ gnome2_src_compile
+}
+
+src_test() {
+ Xemake check
+}
diff --git a/media-video/cheese/cheese-3.14.2.ebuild b/media-video/cheese/cheese-3.14.2.ebuild
new file mode 100644
index 00000000000..027a716dc2d
--- /dev/null
+++ b/media-video/cheese/cheese-3.14.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.26"
+
+inherit gnome2 vala virtualx
+
+DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
+HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
+
+LICENSE="GPL-2+"
+SLOT="0/7" # subslot = libcheese soname version
+IUSE="+introspection test"
+KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86"
+
+# using clutter-gst-2.0.0 results in GLSL errors; bug #478702
+COMMON_DEPEND="
+ >=dev-libs/glib-2.39.90:2
+ >=x11-libs/gtk+-3.13.4:3[introspection?]
+ >=gnome-base/gnome-desktop-2.91.6:3=
+ >=media-libs/libcanberra-0.26[gtk3]
+ >=media-libs/clutter-1.13.2:1.0[introspection?]
+ >=media-libs/clutter-gtk-0.91.8:1.0
+ >=media-libs/clutter-gst-2.0.6:2.0
+ media-libs/cogl:1.0=[introspection?]
+
+ media-video/gnome-video-effects
+ x11-libs/gdk-pixbuf:2[jpeg,introspection?]
+ x11-libs/libX11
+ x11-libs/libXtst
+
+ media-libs/gstreamer:1.0[introspection?]
+ media-libs/gst-plugins-base:1.0[introspection?,ogg,pango,theora,vorbis,X]
+
+ virtual/libgudev:=
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+"
+RDEPEND="${COMMON_DEPEND}
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-good:1.0
+
+ media-plugins/gst-plugins-jpeg:1.0
+ media-plugins/gst-plugins-v4l2:1.0
+ media-plugins/gst-plugins-vpx:1.0
+"
+DEPEND="${COMMON_DEPEND}
+ $(vala_depend)
+ app-text/docbook-xml-dtd:4.3
+ app-text/yelp-tools
+ dev-libs/appstream-glib
+ dev-libs/libxml2:2
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.14
+ >=dev-util/intltool-0.50
+ virtual/pkgconfig
+ x11-proto/xf86vidmodeproto
+ test? ( dev-libs/glib:2[utils] )
+"
+
+src_prepare() {
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ GST_INSPECT=$(type -P true) \
+ $(use_enable introspection) \
+ --disable-lcov \
+ --disable-static \
+ ITSTOOL=$(type -P true)
+}
+
+src_compile() {
+ # Clutter-related sandbox violations when USE="doc introspection" and
+ # FEATURES="-userpriv" (see bug #385917).
+ unset DISPLAY
+ gnome2_src_compile
+}
+
+src_test() {
+ Xemake check
+}
diff --git a/media-video/cheese/cheese-3.16.1.ebuild b/media-video/cheese/cheese-3.16.1.ebuild
new file mode 100644
index 00000000000..3eff6f955dd
--- /dev/null
+++ b/media-video/cheese/cheese-3.16.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.26"
+
+inherit gnome2 vala virtualx
+
+DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
+HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
+
+LICENSE="GPL-2+"
+SLOT="0/7" # subslot = libcheese soname version
+IUSE="+introspection test"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+
+# using clutter-gst-2.0.0 results in GLSL errors; bug #478702
+COMMON_DEPEND="
+ >=dev-libs/glib-2.39.90:2
+ >=x11-libs/gtk+-3.13.4:3[introspection?]
+ >=gnome-base/gnome-desktop-2.91.6:3=
+ >=media-libs/libcanberra-0.26[gtk3]
+ >=media-libs/clutter-1.13.2:1.0[introspection?]
+ >=media-libs/clutter-gtk-0.91.8:1.0
+ >=media-libs/clutter-gst-2.0.6:2.0
+ media-libs/cogl:1.0=[introspection?]
+
+ media-video/gnome-video-effects
+ x11-libs/gdk-pixbuf:2[jpeg,introspection?]
+ x11-libs/libX11
+ x11-libs/libXtst
+
+ media-libs/gstreamer:1.0[introspection?]
+ media-libs/gst-plugins-base:1.0[introspection?,ogg,pango,theora,vorbis,X]
+
+ virtual/libgudev:=
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+"
+RDEPEND="${COMMON_DEPEND}
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-good:1.0
+
+ media-plugins/gst-plugins-jpeg:1.0
+ media-plugins/gst-plugins-v4l2:1.0
+ media-plugins/gst-plugins-vpx:1.0
+"
+DEPEND="${COMMON_DEPEND}
+ $(vala_depend)
+ app-text/docbook-xml-dtd:4.3
+ app-text/yelp-tools
+ dev-libs/appstream-glib
+ dev-libs/libxml2:2
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.14
+ >=dev-util/intltool-0.50
+ virtual/pkgconfig
+ x11-proto/xf86vidmodeproto
+ test? ( dev-libs/glib:2[utils] )
+"
+
+src_prepare() {
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ GST_INSPECT=$(type -P true) \
+ $(use_enable introspection) \
+ --disable-lcov \
+ --disable-static \
+ ITSTOOL=$(type -P true)
+}
+
+src_compile() {
+ # Clutter-related sandbox violations when USE="doc introspection" and
+ # FEATURES="-userpriv" (see bug #385917).
+ unset DISPLAY
+ gnome2_src_compile
+}
+
+src_test() {
+ Xemake check
+}
diff --git a/media-video/cheese/metadata.xml b/media-video/cheese/metadata.xml
new file mode 100644
index 00000000000..d9b68e42d73
--- /dev/null
+++ b/media-video/cheese/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <longdescription lang="en">
+ Cheese uses your webcam to take photos and videos, applies fancy special
+ effects, and lets you share the fun with others.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/media-video/cinelerra/Manifest b/media-video/cinelerra/Manifest
new file mode 100644
index 00000000000..29c9ef5ad5e
--- /dev/null
+++ b/media-video/cinelerra/Manifest
@@ -0,0 +1,2 @@
+DIST cinelerra-20120707.tar.xz 22542220 SHA256 b909531fd1f5a11b85463ea06a62f703f2be67cbe79cd90c035d569a3019f5ad SHA512 af5ed92c223c1e0658ea3320aeefb568b94299ec14947e422f845b72bb271e7592142ac3d119daa9ce2a1b15e708d5ae2214a051f6d4ba67bd3ec733fc607171 WHIRLPOOL add200da410aafb3ad8bd6113061ba055a57978b4f9b717275b0c22375968e7aaa6c5c5a1d0f1ce2c4da3a630b9218fe2e5ae795b30bdfbfb532a3d793fd6065
+DIST cinelerra-20140710.tar.xz 24843336 SHA256 3a7c72e68c7fa8d20f0186bd9460453973e2ffdccc9e0fff1fd9114610361ff2 SHA512 ede8e3888c24022802b45909b8977ec449262f17bd488bf1fab9885b3cb76fa0a66f82e780e204bde2cd3e1da2952aec927d733f21b9883601f128478eeb81db WHIRLPOOL cf56e7f3531ff4f6e2d350bb5fc247f71106f60f016dc20fc7e73556cd05dd97c812b61709109210f76e30c67552e03f9927a52e92f6ce6d83227438cdc4314b
diff --git a/media-video/cinelerra/cinelerra-20120707.ebuild b/media-video/cinelerra/cinelerra-20120707.ebuild
new file mode 100644
index 00000000000..eaee626918c
--- /dev/null
+++ b/media-video/cinelerra/cinelerra-20120707.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils multilib flag-o-matic
+
+DESCRIPTION="The most advanced non-linear video editor and compositor"
+HOMEPAGE="http://www.cinelerra.org/"
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="cpu_flags_x86_3dnow alsa altivec css ieee1394 cpu_flags_x86_mmx opengl oss"
+
+RDEPEND="media-libs/a52dec:=
+ media-libs/faac:=
+ media-libs/faad2:=
+ >=media-libs/freetype-2
+ media-libs/libdv:=
+ >=media-libs/libogg-1.2:=
+ media-libs/libpng:0=
+ media-libs/libsndfile:=
+ >=media-libs/libtheora-1.1:=
+ >=media-libs/libvorbis-1.3:=
+ >=media-libs/openexr-1.5:=
+ media-libs/tiff:0=
+ media-libs/x264:=
+ media-sound/lame:=
+ >=media-video/mjpegtools-2
+ >=sci-libs/fftw-3
+ x11-libs/libX11:=
+ x11-libs/libXext:=
+ x11-libs/libXft:=
+ x11-libs/libXv:=
+ x11-libs/libXvMC:=
+ x11-libs/libXxf86vm:=
+ virtual/ffmpeg
+ || ( media-video/ffmpeg:0 media-libs/libpostproc )
+ virtual/jpeg:0
+ alsa? ( media-libs/alsa-lib:= )
+ ieee1394? (
+ media-libs/libiec61883:=
+ >=sys-libs/libraw1394-1.2.0:=
+ >=sys-libs/libavc1394-0.5.0:=
+ )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ cpu_flags_x86_mmx? ( dev-lang/nasm )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-entry.patch \
+ "${FILESDIR}"/${PN}-ffmpeg.patch \
+ "${FILESDIR}"/${PN}-underlinking.patch \
+ "${FILESDIR}"/${PN}-ffmpeg-0.11.patch \
+ "${FILESDIR}"/${PN}-std_and_str_h.patch \
+ "${FILESDIR}"/${PN}-libav9.patch
+
+ if has_version '>=media-video/ffmpeg-2' ; then
+ epatch "${FILESDIR}"/${PN}-ffmpeg2.patch
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -D__STDC_CONSTANT_MACROS #321945
+ append-ldflags -Wl,-z,noexecstack #212959
+
+ econf \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ --disable-esd \
+ $(use_enable ieee1394 firewire) \
+ $(use_enable css) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable cpu_flags_x86_3dnow 3dnow) \
+ $(use_enable altivec) \
+ $(use_enable opengl) \
+ --with-plugindir=/usr/$(get_libdir)/${PN} \
+ --with-buildinfo=cust/"Gentoo - ${PV}" \
+ --with-external-ffmpeg
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dohtml -a png,html,texi,sdw -r doc/*
+
+ rm -rf "${D}"/usr/include
+ mv -vf "${D}"/usr/bin/mpeg3cat{,.hv} || die
+ mv -vf "${D}"/usr/bin/mpeg3dump{,.hv} || die
+ mv -vf "${D}"/usr/bin/mpeg3toc{,.hv} || die
+ dosym /usr/bin/mpeg2enc /usr/$(get_libdir)/${PN}/mpeg2enc.plugin
+
+ prune_libtool_files --all
+}
diff --git a/media-video/cinelerra/cinelerra-20140710.ebuild b/media-video/cinelerra/cinelerra-20140710.ebuild
new file mode 100644
index 00000000000..6574dea8929
--- /dev/null
+++ b/media-video/cinelerra/cinelerra-20140710.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils multilib flag-o-matic
+
+DESCRIPTION="The most advanced non-linear video editor and compositor"
+HOMEPAGE="http://www.cinelerra.org/"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cpu_flags_x86_3dnow alsa altivec css debug ieee1394 cpu_flags_x86_mmx opengl oss"
+
+RDEPEND="media-libs/a52dec:=
+ media-libs/faac:=
+ media-libs/faad2:=
+ >=media-libs/freetype-2
+ media-libs/libdv:=
+ >=media-libs/libogg-1.2:=
+ media-libs/libpng:0=
+ media-libs/libsndfile:=
+ >=media-libs/libtheora-1.1:=
+ >=media-libs/libvorbis-1.3:=
+ >=media-libs/openexr-1.5:=
+ media-libs/tiff:0=
+ media-libs/x264:=
+ media-sound/lame:=
+ >=media-video/mjpegtools-2
+ >=sci-libs/fftw-3
+ x11-libs/libX11:=
+ x11-libs/libXext:=
+ x11-libs/libXft:=
+ x11-libs/libXv:=
+ x11-libs/libXvMC:=
+ x11-libs/libXxf86vm:=
+ virtual/ffmpeg
+ || ( media-video/ffmpeg:0 media-libs/libpostproc )
+ virtual/jpeg:0
+ alsa? ( media-libs/alsa-lib:= )
+ ieee1394? (
+ media-libs/libiec61883:=
+ >=sys-libs/libraw1394-1.2.0:=
+ >=sys-libs/libavc1394-0.5.0:=
+ )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ cpu_flags_x86_mmx? ( dev-lang/nasm )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-validate_desktop_entry.patch \
+ "${FILESDIR}"/${PN}-ffmpeg.patch \
+ "${FILESDIR}"/${P}-underlinking.patch \
+ "${FILESDIR}"/${P}-ffmpeg-0.11.patch \
+ "${FILESDIR}"/${PN}-libav9.patch \
+ "${FILESDIR}"/${PN}-pngtoh.patch \
+ "${FILESDIR}"/${PN}-nofindobject.patch
+
+ if has_version '>=media-video/ffmpeg-2' ; then
+ epatch "${FILESDIR}"/${PN}-ffmpeg2.patch
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -D__STDC_CONSTANT_MACROS #321945
+ append-ldflags -Wl,-z,noexecstack #212959
+
+ local myconf
+ use debug && myconf='--enable-x-error-output'
+
+ econf \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ --disable-esd \
+ $(use_enable ieee1394 firewire) \
+ $(use_enable css) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable cpu_flags_x86_3dnow 3dnow) \
+ $(use_enable altivec) \
+ $(use_enable opengl) \
+ --with-plugindir=/usr/$(get_libdir)/${PN} \
+ --with-buildinfo=cust/"Gentoo - ${PV}" \
+ --with-external-ffmpeg \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dohtml -a png,html,texi,sdw -r doc/*
+
+ rm -rf "${D}"/usr/include
+ mv -vf "${D}"/usr/bin/mpeg3cat{,.hv} || die
+ mv -vf "${D}"/usr/bin/mpeg3dump{,.hv} || die
+ mv -vf "${D}"/usr/bin/mpeg3toc{,.hv} || die
+ dosym /usr/bin/mpeg2enc /usr/$(get_libdir)/${PN}/mpeg2enc.plugin
+
+ prune_libtool_files --all
+}
diff --git a/media-video/cinelerra/files/cinelerra-20140710-ffmpeg-0.11.patch b/media-video/cinelerra/files/cinelerra-20140710-ffmpeg-0.11.patch
new file mode 100644
index 00000000000..2aebd7008c3
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-20140710-ffmpeg-0.11.patch
@@ -0,0 +1,134 @@
+--- cinelerra/ffmpeg.C
++++ cinelerra/ffmpeg.C
+@@ -23,7 +23,6 @@
+
+ int FFMPEG::init(char *codec_string) {
+
+- avcodec_init();
+ avcodec_register_all();
+
+ CodecID id = codec_id(codec_string);
+--- cinelerra/fileac3.C
++++ cinelerra/fileac3.C
+@@ -84,7 +84,6 @@
+
+ if(wr)
+ {
+- avcodec_init();
+ avcodec_register_all();
+ codec = avcodec_find_encoder(CODEC_ID_AC3);
+ if(!codec)
+--- configure.ac
++++ configure.ac
+@@ -497,7 +497,7 @@
+ AC_ARG_WITH([external-ffmpeg], AC_HELP_STRING([--with-external-ffmpeg], [use external ffmpeg library]))
+
+ if test "x$with_external_ffmpeg" = "xyes"; then
+- PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc libavutil])
+ FFMPEG_FOLDER=""
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+
+@@ -515,10 +515,10 @@
+ AC_MSG_RESULT($enable_ffmpeg_swscale)
+ if test x"$enable_ffmpeg_swscale" = xyes; then
+ dnl AC_DEFINE(HAVE_SWSCALER)
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale libavutil])
+ FFMPEG_CFLAGS="$FFMPEG_CFLAGS -I/usr/include/libavcodec -I/usr/include/libswscale -DHAVE_SWSCALER"
+ else
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libavutil])
+ fi
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+ else
+--- quicktime/mpeg4.c
++++ quicktime/mpeg4.c
+@@ -624,12 +624,12 @@
+ else
+ // ffmpeg section
+ {
++ AVDictionary ** opts = NULL;
+ static char *video_rc_eq="tex^qComp";
+ codec->encode_initialized[current_field] = 1;
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
+@@ -673,8 +673,10 @@
+ context->b_quant_offset = 1.25;
+ #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
+ context->error_resilience = FF_ER_CAREFUL;
+-#else
++#elif LIBAVCODEC_VERSION_INT < ((54<<16)+(0<<8)+0)
+ context->error_recognition = FF_ER_CAREFUL;
++#else
++ context->err_recognition |= AV_EF_CAREFUL;
+ #endif
+ context->error_concealment = 3;
+ context->frame_skip_cmp = FF_CMP_DCTMAX;
+@@ -699,7 +701,7 @@
+ context->profile= FF_PROFILE_UNKNOWN;
+ context->rc_buffer_aggressivity = 1.0;
+ context->level= FF_LEVEL_UNKNOWN;
+- context->flags |= CODEC_FLAG_H263P_UMV;
++ av_dict_set(opts, "umv", "1", 0);
+ context->flags |= CODEC_FLAG_AC_PRED;
+
+ // All the forbidden settings can be extracted from libavcodec/mpegvideo.c of ffmpeg...
+@@ -717,10 +719,8 @@
+ (codec->ffmpeg_id == CODEC_ID_MPEG4 ||
+ codec->ffmpeg_id == CODEC_ID_MPEG1VIDEO ||
+ codec->ffmpeg_id == CODEC_ID_MPEG2VIDEO ||
+- codec->ffmpeg_id == CODEC_ID_H263P ||
+- codec->ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT))
++ codec->ffmpeg_id == CODEC_ID_H263P ))
+ {
+- avcodec_thread_init(context, file->cpus);
+ context->thread_count = file->cpus;
+ }
+
+@@ -740,7 +740,7 @@
+ * codec->fix_bitrate,
+ * codec->quantizer);
+ */
+- avcodec_open(context, codec->encoder[current_field]);
++ avcodec_open2(context, codec->encoder[current_field], opts);
+
+ avcodec_get_frame_defaults(&codec->picture[current_field]);
+
+--- quicktime/qtffmpeg.c
++++ quicktime/qtffmpeg.c
+@@ -54,7 +54,6 @@
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
+@@ -90,10 +89,8 @@
+ (ffmpeg_id == CODEC_ID_MPEG4 ||
+ ffmpeg_id == CODEC_ID_MPEG1VIDEO ||
+ ffmpeg_id == CODEC_ID_MPEG2VIDEO ||
+- ffmpeg_id == CODEC_ID_H263P ||
+- ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT))
++ ffmpeg_id == CODEC_ID_H263P ))
+ {
+- avcodec_thread_init(context, cpus);
+ context->thread_count = cpus;
+ }
+ if(avcodec_open(context,
+--- quicktime/wma.c
++++ quicktime/wma.c
+@@ -67,7 +67,6 @@
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
diff --git a/media-video/cinelerra/files/cinelerra-20140710-underlinking.patch b/media-video/cinelerra/files/cinelerra-20140710-underlinking.patch
new file mode 100644
index 00000000000..a7dc74f2d44
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-20140710-underlinking.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/367509
+
+pluginserver.C is using dlsym, dlopen, dlclose and dlerror
+
+--- cinelerra/Makefile.am
++++ cinelerra/Makefile.am
+@@ -692,7 +692,8 @@
+ $(LIBDV_LIBS) \
+ -luuid \
+ $(MJPEG_LIBS) \
+- -lstdc++
++ -lstdc++ \
++ -ldl
+
+ EXTRA_DIST = gen-feather-h
+
diff --git a/media-video/cinelerra/files/cinelerra-20140710-validate_desktop_entry.patch b/media-video/cinelerra/files/cinelerra-20140710-validate_desktop_entry.patch
new file mode 100644
index 00000000000..00621758663
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-20140710-validate_desktop_entry.patch
@@ -0,0 +1,14 @@
+--- image/cinelerra-cv.desktop
++++ image/cinelerra-cv.desktop
+@@ -5,9 +5,8 @@
+ Name[fr]=Cinelerra-CV
+ Name[es]=Cinelerra-CV
+ Comment=Video Editor
+-Categories=Application;AudioVideo;Multimedia;VideoEditing;
+-Encoding=UTF-8
++Categories=AudioVideo;
+ Exec=cinelerra
+-Icon=cinelerra-cv.xpm
++Icon=cinelerra-cv
+ Terminal=false
+ Type=Application
diff --git a/media-video/cinelerra/files/cinelerra-entry.patch b/media-video/cinelerra/files/cinelerra-entry.patch
new file mode 100644
index 00000000000..22987d895a6
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-entry.patch
@@ -0,0 +1,14 @@
+--- image/cinelerra.desktop
++++ image/cinelerra.desktop
+@@ -5,9 +5,8 @@
+ Name[fr]=Cinelerra
+ Name[es]=Cinelerra
+ Comment=Video Editor
+-Categories=Application;AudioVideo;Multimedia;
+-Encoding=UTF-8
++Categories=AudioVideo;
+ Exec=cinelerra
+-Icon=cinelerra.xpm
++Icon=cinelerra
+ Terminal=false
+ Type=Application
diff --git a/media-video/cinelerra/files/cinelerra-ffmpeg-0.11.patch b/media-video/cinelerra/files/cinelerra-ffmpeg-0.11.patch
new file mode 100644
index 00000000000..6d59cc8408e
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-ffmpeg-0.11.patch
@@ -0,0 +1,156 @@
+Let it build with ffmpeg-0.11
+
+Index: cinelerra-20111223/cinelerra/ffmpeg.C
+===================================================================
+--- cinelerra-20111223.orig/cinelerra/ffmpeg.C
++++ cinelerra-20111223/cinelerra/ffmpeg.C
+@@ -23,7 +23,6 @@ FFMPEG::FFMPEG(Asset *asset) {
+
+ int FFMPEG::init(char *codec_string) {
+
+- avcodec_init();
+ avcodec_register_all();
+
+ CodecID id = codec_id(codec_string);
+Index: cinelerra-20111223/cinelerra/fileac3.C
+===================================================================
+--- cinelerra-20111223.orig/cinelerra/fileac3.C
++++ cinelerra-20111223/cinelerra/fileac3.C
+@@ -84,7 +84,6 @@ int FileAC3::open_file(int rd, int wr)
+
+ if(wr)
+ {
+- avcodec_init();
+ avcodec_register_all();
+ codec = avcodec_find_encoder(CODEC_ID_AC3);
+ if(!codec)
+Index: cinelerra-20111223/configure.in
+===================================================================
+--- cinelerra-20111223.orig/configure.in
++++ cinelerra-20111223/configure.in
+@@ -338,7 +338,7 @@ AC_SUBST(CPU_CFLAGS)
+ AC_ARG_WITH([external-ffmpeg], AC_HELP_STRING([--with-external-ffmpeg], [use external ffmpeg library]))
+
+ if test "x$with_external_ffmpeg" = "xyes"; then
+- PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc libavutil])
+ FFMPEG_FOLDER=""
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+
+@@ -356,10 +356,10 @@ if test "x$with_external_ffmpeg" = "xyes
+ AC_MSG_RESULT($enable_ffmpeg_swscale)
+ if test x"$enable_ffmpeg_swscale" = xyes; then
+ dnl AC_DEFINE(HAVE_SWSCALER)
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale libavutil])
+ FFMPEG_CFLAGS="$FFMPEG_CFLAGS -I/usr/include/libavcodec -I/usr/include/libswscale -DHAVE_SWSCALER"
+ else
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libavutil])
+ fi
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+ else
+Index: cinelerra-20111223/quicktime/mpeg4.c
+===================================================================
+--- cinelerra-20111223.orig/quicktime/mpeg4.c
++++ cinelerra-20111223/quicktime/mpeg4.c
+@@ -8,6 +8,7 @@
+
+
+ #include "libavcodec/avcodec.h"
++#include "libavutil/dict.h"
+ #include "colormodels.h"
+ #include "funcprotos.h"
+ #include "qtffmpeg.h"
+@@ -624,12 +625,12 @@ static int encode(quicktime_t *file, uns
+ else
+ // ffmpeg section
+ {
++ AVDictionary ** opts = NULL;
+ static char *video_rc_eq="tex^qComp";
+ codec->encode_initialized[current_field] = 1;
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
+@@ -673,8 +674,10 @@ static int encode(quicktime_t *file, uns
+ context->b_quant_offset = 1.25;
+ #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
+ context->error_resilience = FF_ER_CAREFUL;
+-#else
++#elif LIBAVCODEC_VERSION_INT < ((54<<16)+(0<<8)+0)
+ context->error_recognition = FF_ER_CAREFUL;
++#else
++ context->err_recognition |= AV_EF_CAREFUL;
+ #endif
+ context->error_concealment = 3;
+ context->frame_skip_cmp = FF_CMP_DCTMAX;
+@@ -699,7 +702,7 @@ static int encode(quicktime_t *file, uns
+ context->profile= FF_PROFILE_UNKNOWN;
+ context->rc_buffer_aggressivity = 1.0;
+ context->level= FF_LEVEL_UNKNOWN;
+- context->flags |= CODEC_FLAG_H263P_UMV;
++ av_dict_set(opts, "umv", "1", 0);
+ context->flags |= CODEC_FLAG_AC_PRED;
+
+ // All the forbidden settings can be extracted from libavcodec/mpegvideo.c of ffmpeg...
+@@ -717,10 +720,8 @@ static int encode(quicktime_t *file, uns
+ (codec->ffmpeg_id == CODEC_ID_MPEG4 ||
+ codec->ffmpeg_id == CODEC_ID_MPEG1VIDEO ||
+ codec->ffmpeg_id == CODEC_ID_MPEG2VIDEO ||
+- codec->ffmpeg_id == CODEC_ID_H263P ||
+- codec->ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT))
++ codec->ffmpeg_id == CODEC_ID_H263P ))
+ {
+- avcodec_thread_init(context, file->cpus);
+ context->thread_count = file->cpus;
+ }
+
+@@ -740,7 +741,7 @@ static int encode(quicktime_t *file, uns
+ * codec->fix_bitrate,
+ * codec->quantizer);
+ */
+- avcodec_open(context, codec->encoder[current_field]);
++ avcodec_open2(context, codec->encoder[current_field], opts);
+
+ avcodec_get_frame_defaults(&codec->picture[current_field]);
+
+Index: cinelerra-20111223/quicktime/qtffmpeg.c
+===================================================================
+--- cinelerra-20111223.orig/quicktime/qtffmpeg.c
++++ cinelerra-20111223/quicktime/qtffmpeg.c
+@@ -54,7 +54,6 @@ quicktime_ffmpeg_t* quicktime_new_ffmpeg
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
+@@ -90,10 +89,8 @@ quicktime_ffmpeg_t* quicktime_new_ffmpeg
+ (ffmpeg_id == CODEC_ID_MPEG4 ||
+ ffmpeg_id == CODEC_ID_MPEG1VIDEO ||
+ ffmpeg_id == CODEC_ID_MPEG2VIDEO ||
+- ffmpeg_id == CODEC_ID_H263P ||
+- ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT))
++ ffmpeg_id == CODEC_ID_H263P ))
+ {
+- avcodec_thread_init(context, cpus);
+ context->thread_count = cpus;
+ }
+ if(avcodec_open(context,
+Index: cinelerra-20111223/quicktime/wma.c
+===================================================================
+--- cinelerra-20111223.orig/quicktime/wma.c
++++ cinelerra-20111223/quicktime/wma.c
+@@ -67,7 +67,6 @@ static int init_decode(quicktime_audio_m
+ if(!ffmpeg_initialized)
+ {
+ ffmpeg_initialized = 1;
+- avcodec_init();
+ avcodec_register_all();
+ }
+
diff --git a/media-video/cinelerra/files/cinelerra-ffmpeg.patch b/media-video/cinelerra/files/cinelerra-ffmpeg.patch
new file mode 100644
index 00000000000..6f7962fb1a5
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-ffmpeg.patch
@@ -0,0 +1,76 @@
+Fix build with ffmpeg/libav trunk / 0.7
+
+Index: cinelerra-20101104/cinelerra/ffmpeg.C
+===================================================================
+--- cinelerra-20101104.orig/cinelerra/ffmpeg.C
++++ cinelerra-20101104/cinelerra/ffmpeg.C
+@@ -364,12 +364,15 @@ int FFMPEG::decode(uint8_t *data, long d
+
+ // NOTE: frame must already have data space allocated
+
++ AVPacket pkt;
+ got_picture = 0;
+- int length = avcodec_decode_video(context,
++ av_init_packet( &pkt );
++ pkt.data = data;
++ pkt.size = data_size;
++ int length = avcodec_decode_video2(context,
+ picture,
+ &got_picture,
+- data,
+- data_size);
++ &pkt);
+
+ if (length < 0) {
+ printf("FFMPEG::decode error decoding frame\n");
+Index: cinelerra-20101104/quicktime/qtffmpeg.c
+===================================================================
+--- cinelerra-20101104.orig/quicktime/qtffmpeg.c
++++ cinelerra-20101104/quicktime/qtffmpeg.c
+@@ -181,6 +181,7 @@ static int decode_wrapper(quicktime_t *f
+
+ if(!result)
+ {
++ AVPacket pkt;
+
+
+ // No way to determine if there was an error based on nonzero status.
+@@ -189,11 +190,13 @@ static int decode_wrapper(quicktime_t *f
+ ffmpeg->decoder_context[current_field]->skip_frame = AVDISCARD_NONREF /* AVDISCARD_BIDIR */;
+ else
+ ffmpeg->decoder_context[current_field]->skip_frame = AVDISCARD_DEFAULT;
+- result = avcodec_decode_video(ffmpeg->decoder_context[current_field],
++ av_init_packet( &pkt );
++ pkt.data = ffmpeg->work_buffer;
++ pkt.size = bytes + header_bytes;
++ result = avcodec_decode_video2(ffmpeg->decoder_context[current_field],
+ &ffmpeg->picture[current_field],
+ &got_picture,
+- ffmpeg->work_buffer,
+- bytes + header_bytes);
++ &pkt);
+
+
+
+Index: cinelerra-20101104/quicktime/wma.c
+===================================================================
+--- cinelerra-20101104.orig/quicktime/wma.c
++++ cinelerra-20101104/quicktime/wma.c
+@@ -195,11 +195,14 @@ printf("decode 2 %x %llx %llx\n", chunk_
+ chunk_size);
+ #else
+ bytes_decoded = AVCODEC_MAX_AUDIO_FRAME_SIZE;
+- result = avcodec_decode_audio2(codec->decoder_context,
++ AVPacket pkt;
++ av_init_packet( &pkt );
++ pkt.data = codec->packet_buffer;
++ pkt.size = chunk_size;
++ result = avcodec_decode_audio3(codec->decoder_context,
+ (int16_t*)(codec->work_buffer + codec->output_size * sample_size),
+ &bytes_decoded,
+- codec->packet_buffer,
+- chunk_size);
++ &pkt);
+ #endif
+
+ pthread_mutex_unlock(&ffmpeg_lock);
diff --git a/media-video/cinelerra/files/cinelerra-ffmpeg2.patch b/media-video/cinelerra/files/cinelerra-ffmpeg2.patch
new file mode 100644
index 00000000000..01680ac952f
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-ffmpeg2.patch
@@ -0,0 +1,218 @@
+https://bugs.gentoo.org/show_bug.cgi?id=479394
+By Helmut Jarausch
+
+--- cinelerra/ffmpeg.h.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ cinelerra/ffmpeg.h 2013-08-01 12:58:12.342474136 +0200
+@@ -26,7 +26,7 @@
+ static int convert_cmodel_transfer(VFrame *frame_in,VFrame *frame_out);
+ static int init_picture_from_frame(AVPicture *picture, VFrame *frame);
+
+- static CodecID codec_id(char *codec_string);
++ static AVCodecID codec_id(char *codec_string);
+
+ private:
+ static PixelFormat color_model_to_pix_fmt(int color_model);
+--- cinelerra/ffmpeg.C.ORIG 2013-08-01 11:24:43.794419246 +0200
++++ cinelerra/ffmpeg.C 2013-08-01 12:57:48.121473899 +0200
+@@ -25,7 +25,7 @@
+
+ avcodec_register_all();
+
+- CodecID id = codec_id(codec_string);
++ AVCodecID id = codec_id(codec_string);
+ codec = avcodec_find_decoder(id);
+ if (codec == NULL) {
+ printf("FFMPEG::init no decoder for '%s'", codec_string);
+@@ -51,7 +51,7 @@
+ }
+
+
+-CodecID FFMPEG::codec_id(char *codec_string) {
++AVCodecID FFMPEG::codec_id(char *codec_string) {
+ #define CODEC_IS(x) (! strncmp(codec_string, x, 4))
+
+ if (CODEC_IS(QUICKTIME_DV) ||
+--- quicktime/ffmpeg/ffmpeg.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/ffmpeg.c 2013-08-01 12:57:59.025474005 +0200
+@@ -2663,7 +2663,7 @@
+ return 0;
+ }
+
+-static enum CodecID find_codec_or_die(const char *name, int type, int encoder)
++static enum AVCodecID find_codec_or_die(const char *name, int type, int encoder)
+ {
+ const char *codec_string = encoder ? "encoder" : "decoder";
+ AVCodec *codec;
+--- quicktime/ffmpeg/libavformat/electronicarts.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/electronicarts.c 2013-08-01 13:00:57.855475755 +0200
+@@ -49,11 +49,11 @@
+ typedef struct EaDemuxContext {
+ int big_endian;
+
+- enum CodecID video_codec;
++ enum AVCodecID video_codec;
+ AVRational time_base;
+ int video_stream_index;
+
+- enum CodecID audio_codec;
++ enum AVCodecID audio_codec;
+ int audio_stream_index;
+ int audio_frame_counter;
+
+--- quicktime/ffmpeg/libavformat/img2.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/img2.c 2013-08-01 12:59:21.408474812 +0200
+@@ -34,7 +34,7 @@
+ } VideoData;
+
+ typedef struct {
+- enum CodecID id;
++ enum AVCodecID id;
+ const char *str;
+ } IdStrMap;
+
+@@ -97,7 +97,7 @@
+ }
+ return -1;
+ }
+-static enum CodecID av_str2id(const IdStrMap *tags, const char *str)
++static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str)
+ {
+ str= strrchr(str, '.');
+ if(!str) return CODEC_ID_NONE;
+@@ -175,7 +175,7 @@
+ return 0;
+ }
+
+-enum CodecID av_guess_image2_codec(const char *filename){
++enum AVCodecID av_guess_image2_codec(const char *filename){
+ return av_str2id(img_tags, filename);
+ }
+
+--- quicktime/ffmpeg/libavformat/matroskadec.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/matroskadec.c 2013-08-01 12:59:57.556475165 +0200
+@@ -2476,7 +2476,7 @@
+ AVStream *st;
+
+ for (i = 0; i < matroska->num_tracks; i++) {
+- enum CodecID codec_id = CODEC_ID_NONE;
++ enum AVCodecID codec_id = CODEC_ID_NONE;
+ uint8_t *extradata = NULL;
+ int extradata_size = 0;
+ int extradata_offset = 0;
+@@ -2495,7 +2495,7 @@
+ }
+ }
+
+- /* Set the FourCC from the CodecID. */
++ /* Set the FourCC from the AVCodecID. */
+ /* This is the MS compatibility mode which stores a
+ * BITMAPINFOHEADER in the CodecPrivate. */
+ if (!strcmp(track->codec_id,
+@@ -2600,7 +2600,7 @@
+
+ if (codec_id == CODEC_ID_NONE) {
+ av_log(matroska->ctx, AV_LOG_INFO,
+- "Unknown/unsupported CodecID %s.\n",
++ "Unknown/unsupported AVCodecID %s.\n",
+ track->codec_id);
+ }
+
+--- quicktime/ffmpeg/libavformat/matroska.h.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/matroska.h 2013-08-01 13:00:22.218475407 +0200
+@@ -220,12 +220,12 @@
+
+ typedef struct CodecTags{
+ char str[16];
+- enum CodecID id;
++ enum AVCodecID id;
+ }CodecTags;
+
+ typedef struct CodecMime{
+ char str[32];
+- enum CodecID id;
++ enum AVCodecID id;
+ }CodecMime;
+
+ #define MATROSKA_CODEC_ID_VIDEO_VFW_FOURCC "V_MS/VFW/FOURCC"
+--- quicktime/ffmpeg/libavformat/mov.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/mov.c 2013-08-01 12:59:33.935474934 +0200
+@@ -678,7 +678,7 @@
+
+ for(pseudo_stream_id=0; pseudo_stream_id<entries; pseudo_stream_id++) {
+ //Parsing Sample description table
+- enum CodecID id;
++ enum AVCodecID id;
+ int dref_id;
+ MOV_atom_t a = { 0, 0, 0 };
+ offset_t start_pos = url_ftell(pb);
+--- quicktime/ffmpeg/libavformat/mxf.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/mxf.c 2013-08-01 12:59:12.025474720 +0200
+@@ -157,7 +157,7 @@
+ typedef struct {
+ UID uid;
+ unsigned matching_len;
+- enum CodecID id;
++ enum AVCodecID id;
+ } MXFCodecUL;
+
+ typedef struct {
+--- quicktime/ffmpeg/libavformat/riff.h.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/riff.h 2013-08-01 12:59:45.950475052 +0200
+@@ -48,7 +48,7 @@
+ extern const AVCodecTag codec_wav_tags[];
+
+ unsigned int codec_get_tag(const AVCodecTag *tags, int id);
+-enum CodecID codec_get_id(const AVCodecTag *tags, unsigned int tag);
++enum AVCodecID codec_get_id(const AVCodecTag *tags, unsigned int tag);
+ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale);
+
+ #endif /* FFMPEG_RIFF_H */
+--- quicktime/ffmpeg/libavformat/rtp.c.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/rtp.c 2013-08-01 12:59:01.778474619 +0200
+@@ -40,7 +40,7 @@
+ int pt;
+ const char enc_name[6];
+ enum CodecType codec_type;
+- enum CodecID codec_id;
++ enum AVCodecID codec_id;
+ int clock_rate;
+ int audio_channels;
+ } AVRtpPayloadTypes[]=
+@@ -120,7 +120,7 @@
+ return "";
+ }
+
+-enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type)
++enum AVCodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type)
+ {
+ int i;
+
+--- quicktime/ffmpeg/libavformat/rtp_internal.h.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/ffmpeg/libavformat/rtp_internal.h 2013-08-01 13:00:09.147475279 +0200
+@@ -61,7 +61,7 @@
+ // fields from AVRtpDynamicPayloadType_s
+ const char enc_name[50]; /* XXX: still why 50 ? ;-) */
+ enum CodecType codec_type;
+- enum CodecID codec_id;
++ enum AVCodecID codec_id;
+
+ // may be null
+ int (*parse_sdp_a_line) (AVStream * stream,
+@@ -123,7 +123,7 @@
+
+ void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);
+ const char *ff_rtp_enc_name(int payload_type);
+-enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type);
++enum AVCodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type);
+
+ void av_register_rtp_dynamic_payload_handlers(void);
+
+--- quicktime/wma.h.ORIG 2012-07-06 22:40:26.000000000 +0200
++++ quicktime/wma.h 2013-08-01 13:11:46.431482103 +0200
+@@ -3,5 +3,6 @@
+
+ extern void quicktime_init_codec_wmav1(quicktime_audio_map_t *);
+ extern void quicktime_init_codec_wmav2(quicktime_audio_map_t *);
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
+
+ #endif
diff --git a/media-video/cinelerra/files/cinelerra-libav9.patch b/media-video/cinelerra/files/cinelerra-libav9.patch
new file mode 100644
index 00000000000..47a4d6f231e
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-libav9.patch
@@ -0,0 +1,93 @@
+diff -urN cinelerra-20120707/cinelerra/ffmpeg.C /tmp/cinelerra-20120707/cinelerra/ffmpeg.C
+--- cinelerra-20120707/cinelerra/ffmpeg.C 2013-06-22 18:07:43.632978553 +0200
++++ /tmp/cinelerra-20120707/cinelerra/ffmpeg.C 2013-06-22 18:07:21.668979334 +0200
+@@ -32,9 +32,9 @@
+ return 1;
+ }
+
+- context = avcodec_alloc_context();
++ context = avcodec_alloc_context3(NULL);
+
+- if (avcodec_open(context, codec)) {
++ if (avcodec_open2(context, codec, NULL)) {
+ printf("FFMPEG::init avcodec_open() failed\n");
+ }
+
+diff -urN cinelerra-20120707/cinelerra/fileac3.C /tmp/cinelerra-20120707/cinelerra/fileac3.C
+--- cinelerra-20120707/cinelerra/fileac3.C 2013-06-22 18:07:43.632978553 +0200
++++ /tmp/cinelerra-20120707/cinelerra/fileac3.C 2013-06-22 18:07:21.668979334 +0200
+@@ -91,11 +91,11 @@
+ eprintf("codec not found.\n");
+ return 1;
+ }
+- codec_context = avcodec_alloc_context();
++ codec_context = avcodec_alloc_context3(NULL);
+ codec_context->bit_rate = asset->ac3_bitrate * 1000;
+ codec_context->sample_rate = asset->sample_rate;
+ codec_context->channels = asset->channels;
+- if(avcodec_open(codec_context, codec))
++ if(avcodec_open2(codec_context, codec, NULL))
+ {
+ eprintf("failed to open codec.\n");
+ return 1;
+diff -urN cinelerra-20120707/quicktime/mpeg4.c /tmp/cinelerra-20120707/quicktime/mpeg4.c
+--- cinelerra-20120707/quicktime/mpeg4.c 2013-06-22 18:07:43.633978553 +0200
++++ /tmp/cinelerra-20120707/quicktime/mpeg4.c 2013-06-22 18:07:21.690979334 +0200
+@@ -642,7 +642,7 @@
+ return 1;
+ }
+
+- codec->encoder_context[current_field] = avcodec_alloc_context();
++ codec->encoder_context[current_field] = avcodec_alloc_context3(NULL);
+ AVCodecContext *context = codec->encoder_context[current_field];
+
+ context->width = width_i;
+@@ -676,8 +676,6 @@
+ context->error_resilience = FF_ER_CAREFUL;
+ #elif LIBAVCODEC_VERSION_INT < ((54<<16)+(0<<8)+0)
+ context->error_recognition = FF_ER_CAREFUL;
+-#else
+- context->err_recognition |= AV_EF_CAREFUL;
+ #endif
+ context->error_concealment = 3;
+ context->frame_skip_cmp = FF_CMP_DCTMAX;
+diff -urN cinelerra-20120707/quicktime/qtffmpeg.c /tmp/cinelerra-20120707/quicktime/qtffmpeg.c
+--- cinelerra-20120707/quicktime/qtffmpeg.c 2013-06-22 18:07:43.633978553 +0200
++++ /tmp/cinelerra-20120707/quicktime/qtffmpeg.c 2013-06-22 18:07:21.690979334 +0200
+@@ -67,7 +67,7 @@
+ return 0;
+ }
+
+- AVCodecContext *context = ptr->decoder_context[i] = avcodec_alloc_context();
++ AVCodecContext *context = ptr->decoder_context[i] = avcodec_alloc_context3(NULL);
+ static char fake_data[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ context->width = ptr->width_i;
+ context->height = ptr->height_i;
+@@ -93,8 +93,8 @@
+ {
+ context->thread_count = cpus;
+ }
+- if(avcodec_open(context,
+- ptr->decoder[i]) < 0)
++ if(avcodec_open2(context,
++ ptr->decoder[i], NULL) < 0)
+ {
+ printf("quicktime_new_ffmpeg: avcodec_open failed.\n");
+ quicktime_delete_ffmpeg(ptr);
+diff -urN cinelerra-20120707/quicktime/wma.c /tmp/cinelerra-20120707/quicktime/wma.c
+--- cinelerra-20120707/quicktime/wma.c 2013-06-22 18:07:43.634978553 +0200
++++ /tmp/cinelerra-20120707/quicktime/wma.c 2013-06-22 18:07:21.690979334 +0200
+@@ -76,10 +76,10 @@
+ printf("init_decode: avcodec_find_decoder returned NULL.\n");
+ return 1;
+ }
+- codec->decoder_context = avcodec_alloc_context();
++ codec->decoder_context = avcodec_alloc_context3(NULL);
+ codec->decoder_context->sample_rate = trak->mdia.minf.stbl.stsd.table[0].sample_rate;
+ codec->decoder_context->channels = track_map->channels;
+- if(avcodec_open(codec->decoder_context, codec->decoder) < 0)
++ if(avcodec_open2(codec->decoder_context, codec->decoder, NULL) < 0)
+ {
+ printf("init_decode: avcodec_open failed.\n");
+ return 1;
+
diff --git a/media-video/cinelerra/files/cinelerra-nofindobject.patch b/media-video/cinelerra/files/cinelerra-nofindobject.patch
new file mode 100644
index 00000000000..99acf2b643c
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-nofindobject.patch
@@ -0,0 +1,16 @@
+Depends on features removed in opencv3.
+https://bugs.gentoo.org/show_bug.cgi?id=554516
+
+Index: cinelerra-20140710/configure.ac
+===================================================================
+--- cinelerra-20140710.orig/configure.ac
++++ cinelerra-20140710/configure.ac
+@@ -317,7 +317,7 @@ fi
+ AC_DEFINE_UNQUOTED(HAVE_OPENCV_SURF, $HAVE_OPENCV_SURF,
+ [define if SURF support is compiled into opencv])
+ if test "x$opencv" = "xyes" && test "x$opencvh" = "xyes" ; then
+- enable_findobject=ok
++ enable_findobject=no
+ fi
+ AM_CONDITIONAL(ENABLE_FINDOBJECT,test "x$enable_findobject" = "xok")
+ ############## END OF MISC LIBRARIES
diff --git a/media-video/cinelerra/files/cinelerra-pngtoh.patch b/media-video/cinelerra/files/cinelerra-pngtoh.patch
new file mode 100644
index 00000000000..81a8432b872
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-pngtoh.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/show_bug.cgi?id=526118
+http://bugs.cinelerra-cv.org/ticket/1005
+
+Author: Bernd Feige
+
+--- guicast/pngtoh.c 2015-01-29 13:41:01 +0000
++++ guicast/pngtoh.c 2015-01-29 13:41:07 +0000
+@@ -148,4 +148,6 @@
+ fprintf(out, "};\n\n#endif\n");
+ fclose(out);
+ }
++
++ return 0;
+ }
+
diff --git a/media-video/cinelerra/files/cinelerra-std_and_str_h.patch b/media-video/cinelerra/files/cinelerra-std_and_str_h.patch
new file mode 100644
index 00000000000..2f8801ee087
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-std_and_str_h.patch
@@ -0,0 +1,81 @@
+Include required headers for free(), memcpy(), strcpy(), bcopy(), and more
+Thanks to Martin von Gagern for reporting and initial patch
+See, http://bugs.gentoo.org/show_bug.cgi?id=465478
+
+--- cinelerra/vdevicebuz.C
++++ cinelerra/vdevicebuz.C
+@@ -49,6 +49,8 @@
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <unistd.h>
++#include <string.h>
++#include <strings.h>
+
+ #define BASE_VIDIOCPRIVATE 192
+
+--- cinelerra/videodevice.C
++++ cinelerra/videodevice.C
+@@ -53,6 +53,7 @@
+
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <string.h>
+
+ KeepaliveThread::KeepaliveThread(VideoDevice *device)
+ : Thread()
+--- libmpeg3/audio/ac3.c
++++ libmpeg3/audio/ac3.c
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include <stdint.h>
+ #include <stdio.h>
+
+--- libmpeg3/audio/layer3.c
++++ libmpeg3/audio/layer3.c
+@@ -4,6 +4,7 @@
+ #include "tables.h"
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ struct gr_info_s
+--- mplexlo/mplex.c
++++ mplexlo/mplex.c
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+-
++#include <string.h>
+
+ #include "libmpeg3.h"
+ #include "mpeg3protos.h"
+--- quicktime/graphics.c
++++ quicktime/graphics.c
+@@ -1,5 +1,6 @@
+ #include "graphics.h"
+
++#include <stdlib.h>
+ #include <string.h>
+
+ /* Graphics acceleration routines */
+--- quicktime/libmjpeg.c
++++ quicktime/libmjpeg.c
+@@ -17,6 +17,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "colormodels.h"
+ #include "libmjpeg.h"
+
+--- quicktime/qtpng.c
++++ quicktime/qtpng.c
+@@ -1,6 +1,7 @@
+ #include "colormodels.h"
+ #include "funcprotos.h"
+ #include <png.h>
++#include <string.h>
+ #include "quicktime.h"
+ #include "qtpng.h"
+
diff --git a/media-video/cinelerra/files/cinelerra-underlinking.patch b/media-video/cinelerra/files/cinelerra-underlinking.patch
new file mode 100644
index 00000000000..1411d57cccd
--- /dev/null
+++ b/media-video/cinelerra/files/cinelerra-underlinking.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/367509
+
+pluginserver.C is using dlsym, dlopen, dlclose and dlerror
+
+--- cinelerra/Makefile.am
++++ cinelerra/Makefile.am
+@@ -685,6 +685,7 @@
+ $(FIREWIRE_LDFLAGS) \
+ $(LIBDV_LIBS) \
+ -luuid \
+- $(MJPEG_LIBS)
++ $(MJPEG_LIBS) \
++ -ldl
+
+ EXTRA_DIST = gen-feather-h
diff --git a/media-video/cinelerra/metadata.xml b/media-video/cinelerra/metadata.xml
new file mode 100644
index 00000000000..92e4dbc04f5
--- /dev/null
+++ b/media-video/cinelerra/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+</pkgmetadata>
diff --git a/media-video/clive/Manifest b/media-video/clive/Manifest
new file mode 100644
index 00000000000..fa39c350a67
--- /dev/null
+++ b/media-video/clive/Manifest
@@ -0,0 +1 @@
+DIST clive-2.3.0.1.tar.gz 43551 SHA256 69b5d6014bdb097395b2d2ac945ebb5f6a73aff78d48fd67f533ddf33a615f33 SHA512 7426d6e8f19c358b30a7d33257d7ee536802eb35442d3cac68f6742613696ab1b280457a65d980237b53b692c5cf311725e46a5d8c27c7f2200172d050337cfc WHIRLPOOL 2e0a03dd700932eaf996ef5eea6059fdca197818ebc886fc4a1e1a6a846a1335334397115aed3c616005882e378ddbbcf3802423494f306360087dd74fc3cf5d
diff --git a/media-video/clive/clive-2.3.0.1.ebuild b/media-video/clive/clive-2.3.0.1.ebuild
new file mode 100644
index 00000000000..a4db5317b7d
--- /dev/null
+++ b/media-video/clive/clive-2.3.0.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit perl-app
+
+DESCRIPTION="Command line tool for extracting videos from various websites"
+HOMEPAGE="http://clive.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="clipboard pager password test"
+
+RDEPEND=">=dev-perl/BerkeleyDB-0.34
+ >=dev-perl/Config-Tiny-2.12
+ >=virtual/perl-Digest-SHA-5.47
+ >=dev-perl/HTML-TokeParser-Simple-2.37
+ >=dev-perl/Class-Singleton-1.4
+ >=dev-perl/WWW-Curl-4.05
+ >=dev-perl/XML-Simple-2.18
+ >=dev-perl/Getopt-ArgvFile-1.11
+ dev-perl/JSON-XS
+ dev-perl/URI
+ virtual/perl-Getopt-Long
+ virtual/perl-File-Spec
+ clipboard? ( >=dev-perl/Clipboard-0.09 )
+ pager? ( >=dev-perl/IO-Pager-0.05 )
+ password? ( >=dev-perl/Expect-1.21 )
+ media-libs/quvi
+ || ( net-misc/wget net-misc/curl )"
+DEPEND="test? ( dev-perl/Test-Pod ${RDEPEND} )"
+
+SRC_TEST=do
+mydoc="NEWS"
+
+src_install() {
+ perl-module_src_install
+ dodir /etc/clive
+ cat <<-EOF > "${ED}"/etc/clive/config || die
+ --quvi "quvi %u"
+ --get-with "if type -P wget >/dev/null 2>&1; then wget -c -O %f %u; else curl -L -C - -o %f %u; fi"
+ --filename-format "%t.%s"
+ EOF
+}
+
+src_test() {
+ if [ -z "${I_WANT_CLIVE_HOSTS_TESTS}" ] ; then
+ elog "If you wish to run the full testsuite of ${PN}"
+ elog "Please set the variable 'I_WANT_CLIVE_HOSTS_TESTS' variable"
+ elog "Note that the tests try to download some videos from various websites"
+ elog "and thus may randomly fail depending on the site's status."
+ export NO_INTERNET=1
+ fi
+ perl-module_src_test
+}
diff --git a/media-video/clive/metadata.xml b/media-video/clive/metadata.xml
new file mode 100644
index 00000000000..3af39e89a61
--- /dev/null
+++ b/media-video/clive/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">Command line tool for extracting videos from Youtube, Google Video,
+ Dailymotion, Guba (free) and Stage6 websites</longdescription>
+ <use>
+ <flag name="clipboard">Support reading from X clipboard</flag>
+ <flag name="pager">Support pager!?</flag>
+ <flag name="password">Support password controlled sites</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">clive</remote-id>
+ <remote-id type="sourceforge">clive</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/coherence/Manifest b/media-video/coherence/Manifest
new file mode 100644
index 00000000000..efde3236eb0
--- /dev/null
+++ b/media-video/coherence/Manifest
@@ -0,0 +1 @@
+DIST Coherence-0.6.6.2.tar.gz 364908 SHA256 0b54a6ba88c1ff6274aadb68ff37b8a3961b4c6acf5ded291c5dea936a311ba4 SHA512 dd5cfa68c3b21456e75c44d9d3947b424ebf9684320726393f8da59237ed84e28d4af8414702b6f93e840e7d12a2078e59f48702a288987495d76d11861c7473 WHIRLPOOL 0162af34fdb17abaafcb11d3a2ade750b4a0ed0a70d6d91004b85bb1b285dbcdbfb87b9acd56fb74e64d78e415aa677e3cbf54e893020aa84fa96482fbfd15ce
diff --git a/media-video/coherence/coherence-0.6.6.2.ebuild b/media-video/coherence/coherence-0.6.6.2.ebuild
new file mode 100644
index 00000000000..609fa0bf359
--- /dev/null
+++ b/media-video/coherence/coherence-0.6.6.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="sqlite"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
+
+inherit distutils python
+
+MY_P="Coherence-${PV}"
+
+DESCRIPTION="A framework written in Python for DLNA/UPnP components"
+HOMEPAGE="https://coherence.beebits.net/"
+SRC_URI="http://coherence.beebits.net/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+# deps are not exact and need some work
+DEPEND="dev-python/louie
+ dev-python/twisted-core
+ dev-python/twisted-web
+ dev-python/configobj
+ dev-python/gst-python:0.10
+ dev-python/nevow"
+RDEPEND="${DEPEND}
+ dev-python/axiom
+ dev-python/gdata
+ dev-python/feedparser
+ dev-python/tagpy"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ DOCS="docs/*"
+ distutils_src_install
+ newinitd "${FILESDIR}"/coherence-init coherence
+}
diff --git a/media-video/coherence/files/coherence-init b/media-video/coherence/files/coherence-init
new file mode 100644
index 00000000000..6e71e8f77f6
--- /dev/null
+++ b/media-video/coherence/files/coherence-init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting Coherence"
+ start-stop-daemon --start --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid \
+ --background \
+ -- -c /etc/coherence.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Coherence"
+ start-stop-daemon --stop --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid
+ eend $?
+}
+
diff --git a/media-video/coherence/metadata.xml b/media-video/coherence/metadata.xml
new file mode 100644
index 00000000000..d9df1878d8e
--- /dev/null
+++ b/media-video/coherence/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+</pkgmetadata>
diff --git a/media-video/coriander/Manifest b/media-video/coriander/Manifest
new file mode 100644
index 00000000000..06be4d7d9b9
--- /dev/null
+++ b/media-video/coriander/Manifest
@@ -0,0 +1 @@
+DIST coriander-2.0.2.tar.gz 465690 SHA256 5c7fd31cb58d398e2742352bf1ffbd2ca22e06686c6668ecfd437735c2b79123 SHA512 f28ee4c50da3e47bfb93ac13b9aa277ba854d91fb4ef1f7ae71b2ce57b26ad746a1741a4ef6fb0b415b77ebcf4dae07241ec3acb876f845219c69ed6679498c8 WHIRLPOOL 356e645b0ad1589e8820a31a800087c5fc3814bbb31d75fbf90f08bac0b2654335317c0ee56cc3c3bab2a369282219b401d8e41245984c0dbc8f64f29de70efd
diff --git a/media-video/coriander/coriander-2.0.2.ebuild b/media-video/coriander/coriander-2.0.2.ebuild
new file mode 100644
index 00000000000..e54d3d615a6
--- /dev/null
+++ b/media-video/coriander/coriander-2.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A Gnome2 GUI for firewire camera control and capture"
+HOMEPAGE="http://sourceforge.net/projects/coriander/"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+# ffmpeg? ( media-video/ffmpeg ) left out, because ffmpeg support is in
+# development
+RDEPEND="
+ >=media-libs/libdc1394-2.0.0
+ media-libs/libsdl
+ media-libs/tiff:0
+ gnome-base/libgnomeui
+ gnome-base/libbonoboui
+ gnome-base/libgnomecanvas
+ gnome-base/libgnome
+ gnome-base/orbit
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
diff --git a/media-video/coriander/metadata.xml b/media-video/coriander/metadata.xml
new file mode 100644
index 00000000000..4b89161be7e
--- /dev/null
+++ b/media-video/coriander/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">coriander</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/cpdvd/Manifest b/media-video/cpdvd/Manifest
new file mode 100644
index 00000000000..9b0731d4249
--- /dev/null
+++ b/media-video/cpdvd/Manifest
@@ -0,0 +1 @@
+DIST cpdvd-1.10.gz 3512 SHA256 a6a012305c903a033fd9e35b1052cf0584ef22f57e9bf7493bdd2dea67c96c49
diff --git a/media-video/cpdvd/cpdvd-1.10-r1.ebuild b/media-video/cpdvd/cpdvd-1.10-r1.ebuild
new file mode 100644
index 00000000000..08d574cba05
--- /dev/null
+++ b/media-video/cpdvd/cpdvd-1.10-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+
+IUSE=""
+
+S="${WORKDIR}"
+
+DESCRIPTION="transfer a DVD title to your harddisk with ease on Linux"
+HOMEPAGE="http://www.lallafa.de/bp/cpdvd.html"
+SRC_URI="http://www.lallafa.de/bp/files/${P}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND=""
+
+RDEPEND=">=media-video/transcode-0.6.2[dvd]
+ >=dev-lang/perl-5.8.0-r12
+ >=media-video/cpvts-1.2"
+
+src_install () {
+ newbin ${P} ${PN} || die
+}
diff --git a/media-video/cpdvd/metadata.xml b/media-video/cpdvd/metadata.xml
new file mode 100644
index 00000000000..c572c7d9b47
--- /dev/null
+++ b/media-video/cpdvd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-video/cpvts/Manifest b/media-video/cpvts/Manifest
new file mode 100644
index 00000000000..00418f19107
--- /dev/null
+++ b/media-video/cpvts/Manifest
@@ -0,0 +1 @@
+DIST cpvts-1.2.tgz 4200 RMD160 69da89f27c1281f8a5ffa6cffc4bbe810488850f SHA1 ebcfa950d4cceda13574a85ed2cfc60617ac4872 SHA256 cfaeb890e5ec6bd17423af8aed781410fcc4a1aebc4678598b109bb00573ee6b
diff --git a/media-video/cpvts/cpvts-1.2.ebuild b/media-video/cpvts/cpvts-1.2.ebuild
new file mode 100644
index 00000000000..cdbcf5e2a9b
--- /dev/null
+++ b/media-video/cpvts/cpvts-1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils toolchain-funcs
+
+IUSE=""
+
+MY_S="${WORKDIR}/${PN}"
+
+DESCRIPTION="raw copy title sets from a DVD to your harddisc"
+SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
+HOMEPAGE="http://www.lallafa.de/bp/cpvts.html"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="media-libs/libdvdread"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-dvdread.patch"
+}
+
+echodo() {
+ echo "$@"
+ "$@" || die "failed"
+}
+
+src_compile () {
+ cd ${MY_S} || die
+
+ echodo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,-rpath,/usr/lib -o cpvts \
+ cpvts.c -lm -ldvdread
+}
+
+src_install () {
+ dobin ${MY_S}/${PN} || die
+}
diff --git a/media-video/cpvts/files/cpvts-1.2-dvdread.patch b/media-video/cpvts/files/cpvts-1.2-dvdread.patch
new file mode 100644
index 00000000000..50bc92078b3
--- /dev/null
+++ b/media-video/cpvts/files/cpvts-1.2-dvdread.patch
@@ -0,0 +1,11 @@
+diff -Naur cpvts-orig/cpvts.c cpvts/cpvts.c
+--- cpvts-orig/cpvts.c 2006-03-31 20:47:16.000000000 -0600
++++ cpvts/cpvts.c 2006-03-31 20:47:40.000000000 -0600
+@@ -16,6 +16,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <math.h>
++#include <stdint.h>
+
+ /* libdvdread stuff */
+ #include <dvdread/dvd_reader.h>
diff --git a/media-video/cpvts/metadata.xml b/media-video/cpvts/metadata.xml
new file mode 100644
index 00000000000..c572c7d9b47
--- /dev/null
+++ b/media-video/cpvts/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-video/cxfe/Manifest b/media-video/cxfe/Manifest
new file mode 100644
index 00000000000..59eb28745b3
--- /dev/null
+++ b/media-video/cxfe/Manifest
@@ -0,0 +1 @@
+DIST cxfe-0.9.2.tar.bz2 77475 SHA256 030addcf0ea670b4c3525cb7411e958ac0a527a845c1925ec84830eb38a4f0dc
diff --git a/media-video/cxfe/cxfe-0.9.2.ebuild b/media-video/cxfe/cxfe-0.9.2.ebuild
new file mode 100644
index 00000000000..cd8384b98ee
--- /dev/null
+++ b/media-video/cxfe/cxfe-0.9.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="A command line interface for xine"
+HOMEPAGE="http://people.iola.dk/anders/cxfe/"
+
+SRC_URI="http://people.iola.dk/anders/cxfe/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="lirc"
+
+RDEPEND=">=media-libs/xine-lib-1_rc1
+ x11-libs/libX11
+ x11-libs/libXext
+ lirc? ( app-misc/lirc )
+ sys-libs/ncurses"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+}
+
+src_install() {
+ dobin cxfe
+ dodoc README TODO lircrc-example
+}
diff --git a/media-video/cxfe/files/cxfe-0.9.2-asneeded.patch b/media-video/cxfe/files/cxfe-0.9.2-asneeded.patch
new file mode 100644
index 00000000000..b3de1b1c78a
--- /dev/null
+++ b/media-video/cxfe/files/cxfe-0.9.2-asneeded.patch
@@ -0,0 +1,15 @@
+Index: cxfe-0.9.2/Makefile.in
+===================================================================
+--- cxfe-0.9.2.orig/Makefile.in
++++ cxfe-0.9.2/Makefile.in
+@@ -14,8 +14,8 @@ mandir = $(prefix)/man/man1
+ CC = @CC@ -Wall
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags`
+-LIBS = @LIBS@
+-LDFLAGS = `xine-config --libs` -L/usr/X11R6/lib -lXext@LDFLAGS@ @LIBS@ -lX11
++LDLIBS = `xine-config --libs` -L/usr/X11R6/lib -lXext @LIBS@ -lX11
++LDFLAGS = @LDFLAGS@
+ INSTALL = @INSTALL@
+
+ #CC=gcc -Wall -g -O2
diff --git a/media-video/cxfe/metadata.xml b/media-video/cxfe/metadata.xml
new file mode 100644
index 00000000000..1cadc2e4ec2
--- /dev/null
+++ b/media-video/cxfe/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/devede/Manifest b/media-video/devede/Manifest
new file mode 100644
index 00000000000..e779a33d257
--- /dev/null
+++ b/media-video/devede/Manifest
@@ -0,0 +1,4 @@
+DIST devede-3.16.9.tar.bz2 2368434 SHA256 eccaba86893935ff898e7b26d772214403362a6c8d729645778146560c1ac0c1
+DIST devede-3.21.0.tar.bz2 2536646 SHA256 a892f257ac284dc6f3b0fcfe56813e26a8c86c627747a27046991892c19704ac
+DIST devede-3.22.0.tar.bz2 2559428 SHA256 7966e46c76f6c180ead33ec57844ef2efb7a8139123da59e0cc3044c8ebb4572 SHA512 5212545bc8a16987bfd4894e65c66cff1259012f529097b13ced32d54e833e7e9e4a2f500ebbca37a4c174c6507ca99575038cb4fe53e15693fca78beda883b4 WHIRLPOOL 507d69ff04d703bd05145ce289526a0cfd33279eabeece2bf07697ecf1bdde3766bd090f01d93b352df1e767cf5ef2f73e838175e77200d51034fcf73ac221c6
+DIST devede-3.23.0.tar.bz2 2680546 SHA256 9e217ca46f5f275cb0c3cadbe8c830fa1fde774c004bd95a343d1255be6f25e1 SHA512 a1b634ca8d546b56db11a9d61c9086a822d415e0fa4f77ea702aaad20254afb70ca719595b7b6ba783797bd2335ccedca9b80288e8d0fdd6beb7b1b7ad3f85d5 WHIRLPOOL 6473d4a0f0bc0acabe7d269df2b62034648e5bcd3f5cedd3403faaae8dba078b5c5ead3ea93de9bca0d0e551fe08fb15a568000cff8c1f94896d606760768c8d
diff --git a/media-video/devede/devede-3.16.9.ebuild b/media-video/devede/devede-3.16.9.ebuild
new file mode 100644
index 00000000000..4a3c13210d9
--- /dev/null
+++ b/media-video/devede/devede-3.16.9.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+PYTHON_DEPEND=2
+
+inherit multilib python
+
+DESCRIPTION="Program to create video CDs and DVDs, suitable to be played in home DVD players"
+HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
+SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.16:2
+ >=dev-python/pygtk-2.16
+ >=media-video/mplayer-1.0_rc1
+ media-video/dvdauthor
+ media-video/vcdimager
+ virtual/cdrtools"
+DEPEND=""
+
+S=${WORKDIR}/${P%*b}
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ ./install.sh prefix="/usr" libdir="/usr/$(get_libdir)" \
+ pkgdocdir="/usr/share/doc/${PF}" DESTDIR="${D}" \
+ || die "install.sh failed."
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+ elog "To create DIVX/MPEG4 files, be sure that MPlayer is compiled with LAME support."
+ elog "In this case you want to check for both the encode and mp3 USE flags."
+ elog "To change the font used to render the subtitles, choose a TrueType font you like"
+ elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf."
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}
diff --git a/media-video/devede/devede-3.21.0.ebuild b/media-video/devede/devede-3.21.0.ebuild
new file mode 100644
index 00000000000..b853f24a18d
--- /dev/null
+++ b/media-video/devede/devede-3.21.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7"
+
+inherit multilib python
+
+DESCRIPTION="Program to create video CDs and DVDs, suitable to be played in home DVD players"
+HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
+SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+# from upstream ChangeLog in 3.21.0: Now uses FFMpeg as the default backend
+IUSE="+ffmpeg"
+
+RDEPEND="dev-python/dbus-python
+ dev-python/pycairo
+ dev-python/pygobject:2
+ >=dev-python/pygtk-2.16
+ media-video/dvdauthor
+ media-video/mplayer
+ media-video/vcdimager
+ virtual/cdrtools
+ ffmpeg? ( virtual/ffmpeg[mp3] )"
+DEPEND=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ ./install.sh DESTDIR="${D}" libdir="/usr/$(get_libdir)" \
+ pkgdocdir=/usr/share/doc/${PF} prefix=/usr || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+ elog "To create DIVX/MPEG4 files, be sure that MPlayer is compiled with LAME support."
+ elog "In this case you want to check for both the encode and mp3 USE flags."
+ elog "To change the font used to render the subtitles, choose a TrueType font you like"
+ elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf."
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}
diff --git a/media-video/devede/devede-3.22.0.ebuild b/media-video/devede/devede-3.22.0.ebuild
new file mode 100644
index 00000000000..d1dbe3e9d93
--- /dev/null
+++ b/media-video/devede/devede-3.22.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7"
+
+inherit multilib python
+
+DESCRIPTION="Program to create video CDs and DVDs, suitable to be played in home DVD players"
+HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
+SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# from upstream ChangeLog in 3.21.0: Now uses FFMpeg as the default backend
+IUSE="+ffmpeg"
+
+RDEPEND="dev-python/dbus-python
+ dev-python/pycairo
+ dev-python/pygobject:2
+ >=dev-python/pygtk-2.16
+ media-video/dvdauthor
+ media-video/mplayer
+ media-video/vcdimager
+ virtual/cdrtools
+ ffmpeg? ( virtual/ffmpeg[mp3] )"
+DEPEND=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ ./install.sh DESTDIR="${D}" libdir="/usr/$(get_libdir)" \
+ pkgdocdir=/usr/share/doc/${PF} prefix=/usr || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+ elog "To create DIVX/MPEG4 files, be sure that MPlayer is compiled with LAME support."
+ elog "In this case you want to check for both the encode and mp3 USE flags."
+ elog "To change the font used to render the subtitles, choose a TrueType font you like"
+ elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf."
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}
diff --git a/media-video/devede/devede-3.23.0.ebuild b/media-video/devede/devede-3.23.0.ebuild
new file mode 100644
index 00000000000..3ad27065281
--- /dev/null
+++ b/media-video/devede/devede-3.23.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7"
+
+inherit multilib python
+
+DESCRIPTION="Program to create video CDs and DVDs, suitable to be played in home DVD players"
+HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
+SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="-mencoder"
+
+RDEPEND="dev-python/dbus-python
+ dev-python/pycairo
+ dev-python/pygobject:2
+ >=dev-python/pygtk-2.16
+ media-video/dvdauthor
+ mencoder? ( media-video/mplayer[mp3,encode] )
+ media-video/vcdimager
+ virtual/cdrtools
+ !mencoder? ( virtual/ffmpeg[mp3,encode]
+ || ( media-video/mplayer2[symlink] media-video/mplayer ) )"
+DEPEND=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ ./install.sh DESTDIR="${D}" libdir="/usr/$(get_libdir)" \
+ pkgdocdir=/usr/share/doc/${PF} prefix=/usr || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+ elog "To change the font used to render the subtitles, choose a TrueType font you like"
+ elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf."
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}
diff --git a/media-video/devede/metadata.xml b/media-video/devede/metadata.xml
new file mode 100644
index 00000000000..d893518b9d6
--- /dev/null
+++ b/media-video/devede/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+
+ <use>
+ <flag name="mencoder">
+ Prefer MPlayer mencoder over Libav avconv or FFmpeg ffmpeg for encoding.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/dfbsee/Manifest b/media-video/dfbsee/Manifest
new file mode 100644
index 00000000000..7f20a41dbc1
--- /dev/null
+++ b/media-video/dfbsee/Manifest
@@ -0,0 +1 @@
+DIST DFBSee-0.7.4.tar.gz 147346 SHA256 778115b9fba23de3dabc9ac117b73e2762d795fc97c299075434d74ae2dd87e8 SHA512 c2c3c78b72fae804d5923891be5ec07827162189ecb22d71cf061130ec3bf5a63d121b093ebc90e185d1c890c7ca98d4484f2bee91e42ee84993889d93b2d6ea WHIRLPOOL 083547c7a13136caaabf88fa5dfeeaeede9278d534f00a7d5cd8618e1639de70f514c8d66185ea9c37898b114f7ad639d0aee5da5a9afa09a8279b2d1dbb5477
diff --git a/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild
new file mode 100644
index 00000000000..7224a72aca1
--- /dev/null
+++ b/media-video/dfbsee/dfbsee-0.7.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PN="DFBSee"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="an image viewer and video player based on DirectFB"
+HOMEPAGE="http://directfb.org/index.php?path=Projects%2FDFBSee"
+SRC_URI="http://www.directfb.org/download/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 -sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/DirectFB-0.9.24[png]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-direcfb-0.9.24.patch"
+ epatch "${FILESDIR}/${P}-gcc4.patch"
+ epatch "${FILESDIR}/${P}-standardtypes.patch"
+}
+
+src_configure() {
+ tc-export CC
+ default
+}
diff --git a/media-video/dfbsee/files/dfbsee-0.7.4-direcfb-0.9.24.patch b/media-video/dfbsee/files/dfbsee-0.7.4-direcfb-0.9.24.patch
new file mode 100644
index 00000000000..8a8d0cf4d3f
--- /dev/null
+++ b/media-video/dfbsee/files/dfbsee-0.7.4-direcfb-0.9.24.patch
@@ -0,0 +1,21 @@
+diff -Nru orig-DFBSee-0.7.4/src/main.c DFBSee-0.7.4/src/main.c
+--- orig-DFBSee-0.7.4/src/main.c 2005-12-05 15:12:38.000000000 +0800
++++ DFBSee-0.7.4/src/main.c 2005-12-05 15:14:14.000000000 +0800
+@@ -53,7 +53,7 @@
+ main (int argc,
+ char **argv)
+ {
+- DFBCardCapabilities caps;
++ DFBGraphicsDeviceDescription caps;
+ DFBSurfaceDescription dsc;
+ IDirectFBEventBuffer *buffer;
+ IDirectFBSurface *image_area;
+@@ -78,7 +78,7 @@
+ /* create the super interface */
+ DFBCHECK (DirectFBCreate (&dfb));
+
+- dfb->GetCardCapabilities (dfb, &caps);
++ dfb->GetDeviceDescription (dfb, &caps);
+ hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
+
+ dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);
diff --git a/media-video/dfbsee/files/dfbsee-0.7.4-gcc4.patch b/media-video/dfbsee/files/dfbsee-0.7.4-gcc4.patch
new file mode 100644
index 00000000000..5f17937b85e
--- /dev/null
+++ b/media-video/dfbsee/files/dfbsee-0.7.4-gcc4.patch
@@ -0,0 +1,65 @@
+diff -Nru orig-DFBSee-0.7.4/src/rotate.c DFBSee-0.7.4/src/rotate.c
+--- orig-DFBSee-0.7.4/src/rotate.c 2005-12-05 15:37:52.000000000 +0800
++++ DFBSee-0.7.4/src/rotate.c 2005-12-05 15:38:10.000000000 +0800
+@@ -43,9 +43,9 @@
+ {\
+ *d = *s;\
+ s++;\
+- (__u8*)d += dest_pitch;\
++ d = ((void*) d) + dest_pitch;\
+ }\
+- (__u8*)src += src_pitch;\
++ src = ((void*) src) + src_pitch;\
+ }\
+ }\
+
+@@ -53,7 +53,7 @@
+ {\
+ type d;\
+ type s;\
+- (__u8 *) dest += (height - 1) * dest_pitch;\
++ dest = ((void*) dest) + (height - 1) * dest_pitch;\
+ for (w = 0; w < width; w++)\
+ {\
+ h = height;\
+@@ -63,9 +63,9 @@
+ {\
+ *d = *s;\
+ s++;\
+- (__u8*)d -= dest_pitch;\
++ d = ((void*) d) - dest_pitch;\
+ }\
+- (__u8*)src += src_pitch;\
++ src = ((void*) src) + src_pitch;\
+ }\
+ }\
+
+@@ -73,7 +73,7 @@
+ {\
+ type d;\
+ type s;\
+- (__u8 *) dest += (height - 1) * dest_pitch;\
++ dest = ((void*) dest) + (height - 1) * dest_pitch;\
+ while (--height)\
+ {\
+ d = (type) dest + width - 1;\
+@@ -85,8 +85,8 @@
+ s++;\
+ d--;\
+ }\
+- (__u8*)src += src_pitch;\
+- (__u8*)dest -= dest_pitch;\
++ src = ((void*) src) - src_pitch;\
++ dest = ((void*) dest) + dest_pitch;\
+ }\
+ }\
+
+@@ -172,7 +172,7 @@
+ source->Lock (source, DSLF_READ, &src, &src_pitch);
+ destination->Lock (destination, DSLF_READ, &dest, &dest_pitch);
+
+- (__u8 *) dest += dest_pitch * y + DFB_BYTES_PER_PIXEL (pixelformat) * x;
++ dest += dest_pitch * y + DFB_BYTES_PER_PIXEL (pixelformat) * x;
+
+ rotate (dest, dest_pitch,
+ src, src_pitch, width, height, DFB_BYTES_PER_PIXEL (pixelformat),
diff --git a/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch b/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch
new file mode 100644
index 00000000000..c1a864965e8
--- /dev/null
+++ b/media-video/dfbsee/files/dfbsee-0.7.4-standardtypes.patch
@@ -0,0 +1,43 @@
+Index: DFBSee-0.7.4/src/rotate.c
+===================================================================
+--- DFBSee-0.7.4.orig/src/rotate.c
++++ DFBSee-0.7.4/src/rotate.c
+@@ -110,10 +110,10 @@ rotate (void *dest,
+ switch (bpp)
+ {
+ case 2:
+- ROTATE_LEFT (__u16 *)
++ ROTATE_LEFT (uint16_t *)
+ break;
+ case 4:
+- ROTATE_LEFT (__u32 *)
++ ROTATE_LEFT (uint32_t *)
+ break;
+ default:
+ break;
+@@ -125,10 +125,10 @@ rotate (void *dest,
+ switch (bpp)
+ {
+ case 2:
+- ROTATE_RIGHT (__u16 *)
++ ROTATE_RIGHT (uint16_t *)
+ break;
+ case 4:
+- ROTATE_RIGHT (__u32 *)
++ ROTATE_RIGHT (uint32_t *)
+ break;
+ default:
+ break;
+@@ -139,10 +139,10 @@ rotate (void *dest,
+ switch (bpp)
+ {
+ case 2:
+- ROTATE_HALF (__u16 *)
++ ROTATE_HALF (uint16_t *)
+ break;
+ case 4:
+- ROTATE_HALF (__u32 *)
++ ROTATE_HALF (uint32_t *)
+ break;
+ default:
+ break;
diff --git a/media-video/dfbsee/metadata.xml b/media-video/dfbsee/metadata.xml
new file mode 100644
index 00000000000..1cadc2e4ec2
--- /dev/null
+++ b/media-video/dfbsee/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/dirac/Manifest b/media-video/dirac/Manifest
new file mode 100644
index 00000000000..6fa4368f18e
--- /dev/null
+++ b/media-video/dirac/Manifest
@@ -0,0 +1 @@
+DIST dirac-1.0.2.tar.gz 918366 SHA256 816b16f18d235ff8ccd40d95fc5b4fad61ae47583e86607932929d70bf1f00fd SHA512 71d49fe17da4069ea28581565d5a4c4f64565848b51d04b39a646bdaa9afc899a265e9ace34af57fba64b03562e8c2259f882f6f17c1e49d1057cd8e69d1250c WHIRLPOOL bb01f8a444f79cd194300ff83cae484bd0ff7be58c712cdaf5f525524f68474a89e093999df770d469d38fedae84559f8fab0b087cb448c52dc21daeaeb29ce8
diff --git a/media-video/dirac/dirac-1.0.2-r1.ebuild b/media-video/dirac/dirac-1.0.2-r1.ebuild
new file mode 100644
index 00000000000..c3e2c2dd171
--- /dev/null
+++ b/media-video/dirac/dirac-1.0.2-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="Open Source video codec"
+HOMEPAGE="http://dirac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="debug doc cpu_flags_x86_mmx static-libs"
+
+RDEPEND=""
+DEPEND="
+ doc? (
+ app-doc/doxygen
+ virtual/latex-base
+ media-gfx/graphviz
+ || ( >=app-text/texlive-core-2014 app-text/dvipdfm )
+ )"
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch
+ AT_M4DIR="m4" eautoreconf
+ export VARTEXFONTS="${T}/fonts"
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable debug) \
+ $(multilib_is_native_abi && echo $(use_enable doc))
+ if ! multilib_is_native_abi ; then
+ sed -i -e 's/ encoder decoder util//' Makefile || die
+ fi
+}
+
+multilib_src_install() {
+ emake \
+ DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ latexdir="${EPREFIX}/usr/share/doc/${PF}/programmers" \
+ algodir="${EPREFIX}/usr/share/doc/${PF}/algorithm" \
+ faqdir="${EPREFIX}/usr/share/doc/${PF}" \
+ install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ einstalldocs
+}
diff --git a/media-video/dirac/dirac-1.0.2.ebuild b/media-video/dirac/dirac-1.0.2.ebuild
new file mode 100644
index 00000000000..d60ae3b9fff
--- /dev/null
+++ b/media-video/dirac/dirac-1.0.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="Open Source video codec"
+HOMEPAGE="http://dirac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="debug doc cpu_flags_x86_mmx static-libs"
+
+RDEPEND=""
+DEPEND="
+ doc? (
+ app-doc/doxygen
+ virtual/latex-base
+ media-gfx/graphviz
+ app-text/dvipdfm
+ )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable debug) \
+ $(use_enable doc)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ latexdir="${EPREFIX}/usr/share/doc/${PF}/programmers" \
+ algodir="${EPREFIX}/usr/share/doc/${PF}/algorithm" \
+ faqdir="${EPREFIX}/usr/share/doc/${PF}" \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ find "${ED}"usr -name '*.la' -exec rm -f {} +
+}
diff --git a/media-video/dirac/files/dirac-0.5.2-doc.patch b/media-video/dirac/files/dirac-0.5.2-doc.patch
new file mode 100644
index 00000000000..211486635db
--- /dev/null
+++ b/media-video/dirac/files/dirac-0.5.2-doc.patch
@@ -0,0 +1,59 @@
+diff -x '*~' -ur dirac-0.5.2/configure.ac dirac-0.5.2-doc/configure.ac
+--- dirac-0.5.2/configure.ac 2005-05-20 15:05:25.000000000 +0200
++++ dirac-0.5.2-doc/configure.ac 2005-06-10 03:31:58.683588784 +0200
+@@ -105,28 +105,37 @@
+ dnl -----------------------------------------------
+ dnl Checks for optional programs.
+ dnl -----------------------------------------------
+-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
+- if test $HAVE_DOXYGEN = "false"; then
+- AC_MSG_WARN([*** doxygen not found, code documentation will not be built])
+- fi
+-AM_CONDITIONAL(HAVE_DOXYGEN, $HAVE_DOXYGEN)
++AC_ARG_ENABLE(doc, AC_HELP_STRING([--enable-doc], [enables doc building (no)]), [enabledoc=${enableval}], [enabledoc=no])
+
+-AC_CHECK_PROG(HAVE_DOT, dot, true, false)
+- if test $HAVE_DOT = "false"; then
+- AC_MSG_WARN([*** dot not found, inheritance diagrams will not be generated in code documentation])
++if test "x$enabledoc" != "xno"; then
++ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
++ if test $HAVE_DOXYGEN = "false"; then
++ AC_MSG_WARN([*** doxygen not found, code documentation will not be built])
++ fi
++
++ AC_CHECK_PROG(HAVE_DOT, dot, true, false)
++ if test $HAVE_DOT = "false"; then
++ AC_MSG_WARN([*** dot not found, inheritance diagrams will not be generated in code documentation])
++ fi
++
++ AC_CHECK_PROG(HAVE_LATEX, latex, true, false)
++ if test $HAVE_LATEX = "false"; then
++ AC_MSG_WARN([*** latex not found, algorithm documentation will not be built])
++ fi
++
++ AC_CHECK_PROG(HAVE_DVIPDFM, dvipdfm, true, false)
++ if test $HAVE_DVIPDFM = "false"; then
++ AC_MSG_WARN([*** dvipdfm not found, programmer documentation will not be built])
+ fi
++else
++HAVE_DOXYGEN=false
++HAVE_DOT=false
++HAVE_LATEX=false
++HAVE_DVIPDFM=false
++fi
++AM_CONDITIONAL(HAVE_DOXYGEN, $HAVE_DOXYGEN)
+ AM_CONDITIONAL(HAVE_DOT, $HAVE_DOT)
+-
+-AC_CHECK_PROG(HAVE_LATEX, latex, true, false)
+- if test $HAVE_LATEX = "false"; then
+- AC_MSG_WARN([*** latex not found, algorithm documentation will not be built])
+- fi
+ AM_CONDITIONAL(HAVE_LATEX, $HAVE_LATEX)
+-
+-AC_CHECK_PROG(HAVE_DVIPDFM, dvipdfm, true, false)
+- if test $HAVE_DVIPDFM = "false"; then
+- AC_MSG_WARN([*** dvipdfm not found, programmer documentation will not be built])
+- fi
+ AM_CONDITIONAL(HAVE_DVIPDFM, $HAVE_DVIPDFM)
+
+ AC_ARG_ENABLE(overlay,
diff --git a/media-video/dirac/metadata.xml b/media-video/dirac/metadata.xml
new file mode 100644
index 00000000000..0627acf562a
--- /dev/null
+++ b/media-video/dirac/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">dirac</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dv2sub/Manifest b/media-video/dv2sub/Manifest
new file mode 100644
index 00000000000..f2577dacf42
--- /dev/null
+++ b/media-video/dv2sub/Manifest
@@ -0,0 +1 @@
+DIST dv2sub-0.3.tar.gz 121756 SHA256 6ce33bd59de3fe50cf5aa95a7455cf0b34586e72af44fa59c3e5dd9b50f7ca8c
diff --git a/media-video/dv2sub/dv2sub-0.3.ebuild b/media-video/dv2sub/dv2sub-0.3.ebuild
new file mode 100644
index 00000000000..5be2639fa6d
--- /dev/null
+++ b/media-video/dv2sub/dv2sub-0.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="extract info or subtitles from DV stream"
+HOMEPAGE="http://dv2sub.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dv2sub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="kino"
+
+DEPEND="media-libs/libdv"
+RDEPEND="${DEPEND}
+ kino? (
+ media-video/kino
+ media-video/dvdauthor
+ virtual/ffmpeg
+ )"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ if use kino; then
+ insinto /usr/share/kino/scripts/exports
+ exeinto /usr/share/kino/scripts/exports
+ doins kino_scripts/dv2sub_spumux.xml
+ doexe kino_scripts/*.sh
+ fi
+}
diff --git a/media-video/dv2sub/metadata.xml b/media-video/dv2sub/metadata.xml
new file mode 100644
index 00000000000..b24d9c82485
--- /dev/null
+++ b/media-video/dv2sub/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <longdescription lang="en">
+ Utility dv2sub reads raw DV stream from file argument dv-file or
+ standard input if absent. It can generate a parameter log about
+ every input DV frame or create MicroDVD subtitles with the
+ recording date and time.
+ </longdescription>
+ <use>
+ <flag name="kino">install kino plugin</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">dv2sub</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvbackup/Manifest b/media-video/dvbackup/Manifest
new file mode 100644
index 00000000000..9305bd080fe
--- /dev/null
+++ b/media-video/dvbackup/Manifest
@@ -0,0 +1 @@
+DIST dvbackup-0.0.4.tar.gz 115303 SHA256 0020cd05d9985f5fcf80d49315373265d6d6a755efb0e18d337254f2aea249e1
diff --git a/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild b/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild
new file mode 100644
index 00000000000..6d691f2052b
--- /dev/null
+++ b/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A small utility for creating backups on DV tapes"
+HOMEPAGE="http://dvbackup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dvbackup/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/glibc
+ dev-libs/popt
+ sys-libs/zlib"
+
+RDEPEND="${DEPEND}
+ media-libs/libdv"
+
+src_prepare() {
+ local i
+
+ epatch "${FILESDIR}/${P}-gcc4.diff"
+
+ # fix Makefile to respect $LDFLAGS
+ sed -i -e 's:gcc \$(CFLAGS):\$(CC) \$(CFLAGS) \$(LDFLAGS):g' \
+ -e 's:^\(CFLAGS=\):#\1:g' Makefile
+
+ # convert LATIN1 docs to UTF-8
+ for i in ChangeLog ReleaseNotes; do
+ if [ -f "${i}" ]; then
+ echo ">>> Converting ${i} to UTF-8"
+ iconv -f LATIN1 -t UTF8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
+ fi
+ done
+}
+
+src_compile() {
+ emake dvbackup || die "emake failed"
+}
+
+src_install() {
+ dobin dvbackup
+ insinto /usr/share/${PN}
+ doins underrun-ntsc.dv underrun-pal.dv
+ dodoc AUTHORS ChangeLog ReleaseNotes
+ dohtml dvbackup.html
+}
diff --git a/media-video/dvbackup/files/dvbackup-0.0.4-gcc4.diff b/media-video/dvbackup/files/dvbackup-0.0.4-gcc4.diff
new file mode 100644
index 00000000000..1ab2c4b07eb
--- /dev/null
+++ b/media-video/dvbackup/files/dvbackup-0.0.4-gcc4.diff
@@ -0,0 +1,11 @@
+diff -Naur dvbackup-0.0.4.orig/dvconnect.c dvbackup-0.0.4/dvconnect.c
+--- dvbackup-0.0.4.orig/dvconnect.c 2002-03-24 20:27:10.000000000 +0100
++++ dvbackup-0.0.4/dvconnect.c 2009-11-05 16:16:10.467442012 +0100
+@@ -9,6 +9,7 @@
+
+ #include <pthread.h>
+ #include <signal.h>
++#include <string.h>
+
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
diff --git a/media-video/dvbackup/metadata.xml b/media-video/dvbackup/metadata.xml
new file mode 100644
index 00000000000..fd6948928d8
--- /dev/null
+++ b/media-video/dvbackup/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">dvbackup</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvbsnoop/Manifest b/media-video/dvbsnoop/Manifest
new file mode 100644
index 00000000000..5e8f3324501
--- /dev/null
+++ b/media-video/dvbsnoop/Manifest
@@ -0,0 +1 @@
+DIST dvbsnoop-1.4.50.tar.gz 333992 SHA256 7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6 SHA512 288b98e9205b9ee6638b65cd0d7c463c2c243c1f7e650a6df8592acd3f40eca3352a563cc8a1a04f0f2731b3718e6dc3d09f56f59da4b59fbe25b86acf434f81 WHIRLPOOL 2e9c779cf2689759be0c04b74952313d2b026e4819f7064fe919cbd41465a325300e1e0e0f864983b881006dea3de2fe30365c375f430d667e0cfc589eeb4690
diff --git a/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild
new file mode 100644
index 00000000000..3d9534bb4a2
--- /dev/null
+++ b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="DVB/MPEG stream analyzer program"
+SRC_URI="mirror://sourceforge/dvbsnoop/${P}.tar.gz"
+HOMEPAGE="http://dvbsnoop.sourceforge.net/"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc x86"
+DEPEND="virtual/linuxtv-dvb-headers"
+
+RDEPEND=""
+SLOT="0"
+IUSE=""
+
+src_prepare () {
+ epatch "${FILESDIR}/${P}-crc32.patch"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch
new file mode 100644
index 00000000000..eb663a4426c
--- /dev/null
+++ b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch
@@ -0,0 +1,59 @@
+diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.c dvbsnoop-1.4.50/src/misc/crc32.c
+--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.c 2006-01-02 21:24:04.000000000 +0200
++++ dvbsnoop-1.4.50/src/misc/crc32.c 2010-01-19 13:21:37.000000000 +0200
+@@ -17,14 +17,14 @@ $Id$
+
+
+
+-#include <sys/types.h>
++#include <stdint.h>
+ #include "crc32.h"
+
+
+
+ // CRC32 lookup table for polynomial 0x04c11db7
+
+-static u_long crc_table[256] = {
++static uint32_t crc_table[256] = {
+ 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
+ 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
+ 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
+@@ -69,10 +69,10 @@ static u_long crc_table[256] = {
+ 0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668,
+ 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4};
+
+-u_long crc32 (char *data, int len)
++uint32_t crc32 (char *data, int len)
+ {
+ register int i;
+- u_long crc = 0xffffffff;
++ uint32_t crc = 0xffffffff;
+
+ for (i=0; i<len; i++)
+ crc = (crc << 8) ^ crc_table[((crc >> 24) ^ *data++) & 0xff];
+diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.h dvbsnoop-1.4.50/src/misc/crc32.h
+--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.h 2006-01-02 21:24:04.000000000 +0200
++++ dvbsnoop-1.4.50/src/misc/crc32.h 2010-01-19 13:21:37.000000000 +0200
+@@ -19,8 +19,9 @@ $Id$
+ #ifndef __CRC32_H
+ #define __CRC32_H
+
++#include <stdint.h>
+
+-u_long crc32 (char *data, int len);
++uint32_t crc32 (char *data, int len);
+
+
+ #endif
+diff -rupN dvbsnoop-1.4.50-origdeb/src/sections/sectables.c dvbsnoop-1.4.50/src/sections/sectables.c
+--- dvbsnoop-1.4.50-origdeb/src/sections/sectables.c 2005-12-29 05:43:40.000000000 +0200
++++ dvbsnoop-1.4.50/src/sections/sectables.c 2010-01-19 13:59:07.000000000 +0200
+@@ -269,7 +269,7 @@ void decodeSI_packet (u_char *buf, int l
+ softcrc_fail = 0;
+
+ if (opt->soft_crc) {
+- u_long crc = crc32 ((char *)buf,len);
++ uint32_t crc = crc32 ((char *)buf,len);
+ if (crc) {
+ softcrc_fail = 1;
+ }
diff --git a/media-video/dvbsnoop/metadata.xml b/media-video/dvbsnoop/metadata.xml
new file mode 100644
index 00000000000..70732c4e54b
--- /dev/null
+++ b/media-video/dvbsnoop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <upstream>
+ <remote-id type="sourceforge">dvbsnoop</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvd-slideshow/Manifest b/media-video/dvd-slideshow/Manifest
new file mode 100644
index 00000000000..c6dc96b7584
--- /dev/null
+++ b/media-video/dvd-slideshow/Manifest
@@ -0,0 +1,3 @@
+DIST dvd-slideshow-0.8.4-2.tar.gz 162905 SHA256 0587cbe4b39b415aec232ada3213b4352c3b9eecec82a64594f1deb8b14a809d
+DIST dvd-slideshow-examples-0.8.4-1.tar.gz 1565431 SHA256 2bb1c227136783c9eb7a43ee7fad4b8b0871e70a4269ed5b7604b13ff88ebed7
+DIST dvd-slideshow-themes-0.8.4-1.tar.gz 1225865 SHA256 3a929836c9a4afbb3b134718ea548d0f562f48c52d0026ff7bc1b99bebc4d5a1
diff --git a/media-video/dvd-slideshow/dvd-slideshow-0.8.4.2.ebuild b/media-video/dvd-slideshow/dvd-slideshow-0.8.4.2.ebuild
new file mode 100644
index 00000000000..6e1c98bf4b7
--- /dev/null
+++ b/media-video/dvd-slideshow/dvd-slideshow-0.8.4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit versionator
+
+MY_P=${PN}-$(replace_version_separator 3 '-')
+
+DESCRIPTION="DVD Slideshow - Turn your pictures into a dvd with menus!"
+HOMEPAGE="http://dvd-slideshow.sourceforge.net/wiki/Main_Page"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+ examples? ( mirror://sourceforge/${PN}/${PN}-examples-0.8.4-1.tar.gz )
+ themes? ( mirror://sourceforge/${PN}/${PN}-themes-0.8.4-1.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples mp3 themes vorbis"
+
+RDEPEND="media-sound/sox
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ media-video/mjpegtools
+ >media-video/dvdauthor-0.6.11
+ virtual/cdrtools
+ virtual/ffmpeg
+ app-cdr/dvd+rw-tools
+ mp3? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis )
+ sys-devel/bc
+ media-gfx/jhead"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ dobin dir2slideshow dvd-menu dvd-slideshow gallery1-to-slideshow \
+ jigl2slideshow
+
+ dodoc doc/changelog.txt dvd-slideshowrc TODO.txt
+ dohtml doc/*.html
+ doman man/*.1
+
+ if use examples; then
+ docinto examples
+ dodoc -r "${WORKDIR}"/dvd-slideshow-examples-0.8.4-1/*
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ if use themes; then
+ rm "${WORKDIR}"/dvd-slideshow-themes-0.8.4-1/themes.readme.txt
+ insinto /usr/share/themes/${PF}
+ doins -r "${WORKDIR}"/dvd-slideshow-themes-0.8.4-1/*
+ fi
+}
diff --git a/media-video/dvd-slideshow/metadata.xml b/media-video/dvd-slideshow/metadata.xml
new file mode 100644
index 00000000000..1b05378ec9b
--- /dev/null
+++ b/media-video/dvd-slideshow/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="themes">Install theme pack</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">dvd-slideshow</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvd9to5/Manifest b/media-video/dvd9to5/Manifest
new file mode 100644
index 00000000000..f64b6cd99e1
--- /dev/null
+++ b/media-video/dvd9to5/Manifest
@@ -0,0 +1 @@
+DIST dvd9to5-0.1.7.tar.bz2 11803 RMD160 dde2dcaa3865ecf7d846f28ee8e102325bdcb02a SHA1 422a4fd1fca99c49d8fb2777c879588542265b27 SHA256 181d6eed53624e6b4364506d12aa9f2ce64cef821503553f769c83b1bfdcecb9
diff --git a/media-video/dvd9to5/dvd9to5-0.1.7.ebuild b/media-video/dvd9to5/dvd9to5-0.1.7.ebuild
new file mode 100644
index 00000000000..f18f26f8376
--- /dev/null
+++ b/media-video/dvd9to5/dvd9to5-0.1.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Perl script to backup the main feature of a DVD-9 on DVD-5"
+HOMEPAGE="http://lakedaemon.netmindz.net/dvd9to5/"
+SRC_URI="http://lakedaemon.netmindz.net/dvd9to5/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+RDEPEND=">=media-video/transcode-0.6.11
+ >=media-video/mjpegtools-1.6.2
+ >=media-video/dvdauthor-0.6.10
+ app-cdr/dvd+rw-tools
+ dev-lang/perl"
+
+src_compile() {
+ true # nothing to do
+}
+
+src_install() {
+ dobin dvd9to5.pl
+ dodoc CHANGELOG README TODO dvd9to5.conf.example
+}
diff --git a/media-video/dvd9to5/metadata.xml b/media-video/dvd9to5/metadata.xml
new file mode 100644
index 00000000000..6c50827683d
--- /dev/null
+++ b/media-video/dvd9to5/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+A program to rip double layer discs (9gig) to single layer discs (5 gig).
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-video/dvdauthor/Manifest b/media-video/dvdauthor/Manifest
new file mode 100644
index 00000000000..8e4bf086d13
--- /dev/null
+++ b/media-video/dvdauthor/Manifest
@@ -0,0 +1,3 @@
+DIST dvdauthor-0.6.18.tar.gz 392809 SHA256 0e21c2d9c09f7e347c4c9bd7b691455f524ec2e91bcafc18b84d7b7fb3a9cb26 SHA512 15bed459a77ad83c998007aab54619954adf0ba63a71978c3374c64a3506e82583cdb042383c1b2e1ccef83243c968d8f66ccb7182333c02aef30678124242c0 WHIRLPOOL aac6101559c74c1f64648c84555d7c0608dc92219600d0a7b355f0752143ce06950ca544750dcdaa1a79ecee252d04e201635d4248c95052f5f3dd0689c6a5f9
+DIST dvdauthor-0.7.0.tar.gz 414191 SHA256 aea6af7b99eba38ffa9dc5ad1521c2cc652e043cea0e7482e239d2a3fc2f34d0 SHA512 2f450ef02dac774a8611f3398f71a8d9d4f7ebb3c9de56ec1c4ec2d54350f371bf32387f95bc90dcd399618819f46cd589cacfef6f7aae68ee3addda5e9ce892 WHIRLPOOL af960e9ad82c8e0da7c67dfde6c471803ed1d53eda8f373a4f1d3dd54edb2a0a91b654d65855a6171032e12230db0d2bb7e2e016d76c5222591e0ea70dbeb65b
+DIST dvdauthor-0.7.1.tar.gz 421324 SHA256 501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9 SHA512 0875300df4711bf5758cb8a3ec03793689abd403cdebfc5736463d9b6df49a22e66e9e1f0c2abfcb7d25469c2e7f7e76789f7779cc0743ec972f8965b0f744a9 WHIRLPOOL c07526bbdbd75b4ddc0f2a1057f2bf27dbb5c63b4e4495b3a051d530af58ba4d4d75ec15dff2e3628cd1cb46b476ecb6a3d640ec30e1e6692d832549108b3e63
diff --git a/media-video/dvdauthor/dvdauthor-0.6.18.ebuild b/media-video/dvdauthor/dvdauthor-0.6.18.ebuild
new file mode 100644
index 00000000000..f4b581b4f04
--- /dev/null
+++ b/media-video/dvdauthor/dvdauthor-0.6.18.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="Tools for generating DVD files to be played on standalone DVD players"
+HOMEPAGE="http://dvdauthor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/libdvdread
+ >=media-gfx/imagemagick-5.5.7.14
+ >=dev-libs/libxml2-2.6.0
+ media-libs/freetype
+ dev-libs/fribidi
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libpng15.patch
+}
diff --git a/media-video/dvdauthor/dvdauthor-0.7.0.ebuild b/media-video/dvdauthor/dvdauthor-0.7.0.ebuild
new file mode 100644
index 00000000000..f842a04f20a
--- /dev/null
+++ b/media-video/dvdauthor/dvdauthor-0.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools for generating DVD files to be played on standalone DVD players"
+HOMEPAGE="http://dvdauthor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE="graphicsmagick"
+
+RDEPEND=">=dev-libs/fribidi-0.19.2
+ dev-libs/libxml2
+ >=media-libs/freetype-2
+ media-libs/libdvdread
+ media-libs/libpng
+ graphicsmagick? ( media-gfx/graphicsmagick )
+ !graphicsmagick? ( >=media-gfx/imagemagick-5.5.7.14 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ use graphicsmagick && \
+ sed -i -e 's:ExportImagePixels:dIsAbLeAuToMaGiC&:' configure
+
+ epatch "${FILESDIR}"/${P}-libpng15.patch
+}
+
+src_configure() {
+ append-cppflags "$($(tc-getPKG_CONFIG) --cflags fribidi)" #417041
+ econf
+}
diff --git a/media-video/dvdauthor/dvdauthor-0.7.1.ebuild b/media-video/dvdauthor/dvdauthor-0.7.1.ebuild
new file mode 100644
index 00000000000..37e34143fa6
--- /dev/null
+++ b/media-video/dvdauthor/dvdauthor-0.7.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools for generating DVD files to be played on standalone DVD players"
+HOMEPAGE="http://dvdauthor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE="graphicsmagick"
+
+RDEPEND=">=dev-libs/fribidi-0.19.2
+ dev-libs/libxml2
+ >=media-libs/freetype-2
+ media-libs/libdvdread
+ media-libs/libpng:0=
+ graphicsmagick? ( media-gfx/graphicsmagick )
+ !graphicsmagick? ( >=media-gfx/imagemagick-5.5.7.14 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-glibc220.patch"
+ use graphicsmagick && \
+ sed -i -e 's:ExportImagePixels:dIsAbLeAuToMaGiC&:' configure
+}
+
+src_configure() {
+ use graphicsmagick && \
+ append-cppflags "$($(tc-getPKG_CONFIG) --cflags GraphicsMagick)" #459976
+ append-cppflags "$($(tc-getPKG_CONFIG) --cflags fribidi)" #417041
+ econf
+}
diff --git a/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch b/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch
new file mode 100644
index 00000000000..6ecd44c1e8d
--- /dev/null
+++ b/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch
@@ -0,0 +1,19 @@
+--- src/spuunmux.c
++++ src/spuunmux.c
+@@ -37,6 +37,7 @@
+
+ #include <netinet/in.h>
+
++#include <zlib.h>
+ #include <png.h>
+
+ #include "rgb.h"
+@@ -483,7 +484,7 @@
+ return -1;
+ }
+
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);
+ return -1;
diff --git a/media-video/dvdauthor/files/dvdauthor-0.7.0-libpng15.patch b/media-video/dvdauthor/files/dvdauthor-0.7.0-libpng15.patch
new file mode 100644
index 00000000000..2bb63638032
--- /dev/null
+++ b/media-video/dvdauthor/files/dvdauthor-0.7.0-libpng15.patch
@@ -0,0 +1,19 @@
+--- src/spuunmux.c
++++ src/spuunmux.c
+@@ -39,6 +39,7 @@
+ #include <netinet/in.h>
+
+ #include <png.h>
++#include <zlib.h>
+
+ #include "rgb.h"
+ #include "common.h"
+@@ -610,7 +611,7 @@
+ png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
+ return -1;
+ } /*if*/
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);
diff --git a/media-video/dvdauthor/files/dvdauthor-0.7.1-glibc220.patch b/media-video/dvdauthor/files/dvdauthor-0.7.1-glibc220.patch
new file mode 100644
index 00000000000..880c63aa79d
--- /dev/null
+++ b/media-video/dvdauthor/files/dvdauthor-0.7.1-glibc220.patch
@@ -0,0 +1,162 @@
+From 5b890b47aaf6f692c876faf435e6bf8990e7a45d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
+Date: Sat, 19 Jul 2014 21:06:58 +0300
+Subject: [PATCH] compat.h needs stuff from config.h so include it there
+
+This was brought up by dvdvml.* not including it and thus causing a
+build failure on Fedora (22) devel. While at it, uninclude config.h
+from files where it was included just for compat.h reasons.
+---
+ src/compat.h | 2 ++
+ src/conffile.c | 1 -
+ src/dvdauthor.c | 2 --
+ src/dvdcompile.c | 2 --
+ src/dvdpgc.c | 1 -
+ src/dvdunauthor.c | 2 --
+ src/dvduncompile.c | 1 -
+ src/dvdvob.c | 2 --
+ src/readxml.c | 2 --
+ src/spuunmux.c | 1 -
+ src/subgen-encode.c | 2 --
+ 11 files changed, 2 insertions(+), 16 deletions(-)
+
+diff --git a/src/compat.h b/src/compat.h
+index 126dcd7..93de081 100644
+--- a/src/compat.h
++++ b/src/compat.h
+@@ -1,6 +1,8 @@
+ // basic headers
+ #define _GNU_SOURCE /* really just for strndup */
+
++#include "config.h"
++
+ #ifdef HAVE_STDBOOL_H
+ # include <stdbool.h>
+ #else
+diff --git a/src/conffile.c b/src/conffile.c
+index cab661a..36ded07 100644
+--- a/src/conffile.c
++++ b/src/conffile.c
+@@ -21,7 +21,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+ #include "compat.h"
+ #include <errno.h>
+ #include "conffile.h"
+diff --git a/src/dvdauthor.c b/src/dvdauthor.c
+index d591d68..4860258 100644
+--- a/src/dvdauthor.c
++++ b/src/dvdauthor.c
+@@ -20,8 +20,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+
+ #include <sys/types.h>
+diff --git a/src/dvdcompile.c b/src/dvdcompile.c
+index fd232b6..47f13e5 100644
+--- a/src/dvdcompile.c
++++ b/src/dvdcompile.c
+@@ -20,8 +20,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+ #include <assert.h>
+
+diff --git a/src/dvdpgc.c b/src/dvdpgc.c
+index e0adc61..cf6eb04 100644
+--- a/src/dvdpgc.c
++++ b/src/dvdpgc.c
+@@ -20,7 +20,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+ #include "compat.h"
+ #include <errno.h>
+ #include <assert.h>
+diff --git a/src/dvdunauthor.c b/src/dvdunauthor.c
+index ccd422f..f988cdf 100644
+--- a/src/dvdunauthor.c
++++ b/src/dvdunauthor.c
+@@ -23,8 +23,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+
+ #include <ctype.h>
+diff --git a/src/dvduncompile.c b/src/dvduncompile.c
+index 0c5eaf1..a064011 100644
+--- a/src/dvduncompile.c
++++ b/src/dvduncompile.c
+@@ -22,7 +22,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+ #include "compat.h"
+
+ #include <stdio.h>
+diff --git a/src/dvdvob.c b/src/dvdvob.c
+index 2d7e2b8..2146689 100644
+--- a/src/dvdvob.c
++++ b/src/dvdvob.c
+@@ -20,8 +20,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+
+ #include <assert.h>
+diff --git a/src/readxml.c b/src/readxml.c
+index 61ff0a1..3b83f07 100644
+--- a/src/readxml.c
++++ b/src/readxml.c
+@@ -20,8 +20,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+
+ #include <assert.h>
+diff --git a/src/spuunmux.c b/src/spuunmux.c
+index 1981e41..94fcb10 100644
+--- a/src/spuunmux.c
++++ b/src/spuunmux.c
+@@ -31,7 +31,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+ #include "compat.h"
+
+ #include <fcntl.h>
+diff --git a/src/subgen-encode.c b/src/subgen-encode.c
+index 53ed4b2..962e902 100644
+--- a/src/subgen-encode.c
++++ b/src/subgen-encode.c
+@@ -21,8 +21,6 @@
+ * MA 02110-1301 USA.
+ */
+
+-#include "config.h"
+-
+ #include "compat.h"
+
+ #include <assert.h>
+ \ No newline at end of file
diff --git a/media-video/dvdauthor/metadata.xml b/media-video/dvdauthor/metadata.xml
new file mode 100644
index 00000000000..07aa9c9d8ea
--- /dev/null
+++ b/media-video/dvdauthor/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="graphicsmagick">Use <pkg>media-gfx/graphicsmagick</pkg> instead of <pkg>media-gfx/imagemagick</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">dvdauthor</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvdbackup/Manifest b/media-video/dvdbackup/Manifest
new file mode 100644
index 00000000000..5ff2323dee4
--- /dev/null
+++ b/media-video/dvdbackup/Manifest
@@ -0,0 +1,2 @@
+DIST dvdbackup-0.4.1.tar.bz2 188496 SHA256 8194fe84950f3886551e75357d56c0fff3bd5fbd47d3b661c75d57d60cd3c6be SHA512 4f6fcb06f3bc9c0066e9cb51582707accc9629c8239f15d84a05a877927292449dda515796bd91069b1280ceb99dab50213cf6f3fbc79e6f56242923d9e2ae86 WHIRLPOOL 10e386a69fd20e280ec9cecd2bdd08c583c2ed91d43a9d6dc2e0ebd2aa9a3a2061fa895d2c03e8f7735804026cb96079dac4cd18f45764bccef1043a1c7353db
+DIST dvdbackup-0.4.2.tar.xz 178660 SHA256 ef8c56fbb82b15b7eef00d2d3118c8253f9770009ed7bb2a5d4849acf88183e6 SHA512 df9abb2ca0b8a7cd7855ddff94dae249b06b2ec0ee42f3e9c53aa46aebd9885bdf26dacecbd4a20ff5f642ea10c0c64b811d25c23802c8a2b1489281900fbe0d WHIRLPOOL 8c1612b3fc33d9d22c52fce705289f371d026650f85a8ecde2e5d29d540a5649f594a139bebe15d76bfdd8839af6468fd0175a43e56e335f0e8f66e622b7d3a0
diff --git a/media-video/dvdbackup/dvdbackup-0.4.1.ebuild b/media-video/dvdbackup/dvdbackup-0.4.1.ebuild
new file mode 100644
index 00000000000..86c0463da03
--- /dev/null
+++ b/media-video/dvdbackup/dvdbackup-0.4.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Backup content from DVD to hard disk"
+HOMEPAGE="http://dvdbackup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="nls"
+
+RDEPEND=">=media-libs/libdvdread-4.2.0_pre
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --disable-rpath \
+ --docdir=/usr/share/doc/${PF}
+}
diff --git a/media-video/dvdbackup/dvdbackup-0.4.2.ebuild b/media-video/dvdbackup/dvdbackup-0.4.2.ebuild
new file mode 100644
index 00000000000..c68d6d5a548
--- /dev/null
+++ b/media-video/dvdbackup/dvdbackup-0.4.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Backup content from DVD to hard disk"
+HOMEPAGE="http://dvdbackup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="nls"
+
+RDEPEND=">=media-libs/libdvdread-4.2.0_pre
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --disable-rpath \
+ --docdir=/usr/share/doc/${PF}
+}
diff --git a/media-video/dvdbackup/metadata.xml b/media-video/dvdbackup/metadata.xml
new file mode 100644
index 00000000000..8b06e13576f
--- /dev/null
+++ b/media-video/dvdbackup/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">dvdbackup</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-video/dvdimagecmp/Manifest b/media-video/dvdimagecmp/Manifest
new file mode 100644
index 00000000000..d3cb2b047c3
--- /dev/null
+++ b/media-video/dvdimagecmp/Manifest
@@ -0,0 +1 @@
+DIST dvdimagecmp-0.3.tgz 10483 RMD160 19ae3eff959e3367f5e31db6e004441476647f1d SHA1 56c63ea845ad85e77f693c6765a6ca40d7ec1388 SHA256 453df95038dfa7cf5de679323d82963f62adbf39b72cc863542a05ae1dba25a1
diff --git a/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
new file mode 100644
index 00000000000..002e11a4f4e
--- /dev/null
+++ b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils toolchain-funcs flag-o-matic
+
+IUSE=""
+
+DESCRIPTION="Tool to compare a burned DVD with an image to check for errors"
+HOMEPAGE="http://panteltje.com/panteltje/dvd/"
+SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.diff"
+}
+
+src_compile() {
+ append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin dvdimagecmp
+ dodoc CHANGES README
+}
diff --git a/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff
new file mode 100644
index 00000000000..95917293c13
--- /dev/null
+++ b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff
@@ -0,0 +1,23 @@
+diff -Naur dvdimagecmp-0.3.orig/dvdimagecmp.c dvdimagecmp-0.3/dvdimagecmp.c
+--- dvdimagecmp-0.3.orig/dvdimagecmp.c 2005-01-04 14:54:52.000000000 +0100
++++ dvdimagecmp-0.3/dvdimagecmp.c 2007-10-06 15:36:34.000000000 +0200
+@@ -33,6 +33,7 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <time.h>
++#include <string.h>
+
+ #define MAX_RETRIES 1
+ #define BUFFER_SIZE 2048*16
+diff -Naur dvdimagecmp-0.3.orig/Makefile dvdimagecmp-0.3/Makefile
+--- dvdimagecmp-0.3.orig/Makefile 2005-01-04 14:54:52.000000000 +0100
++++ dvdimagecmp-0.3/Makefile 2007-10-06 15:36:59.000000000 +0200
+@@ -13,7 +13,7 @@
+ # -ltermcap
+
+ a.out : $(OBJECT)
+- $(CC) -o dvdimagecmp $(OBJECT)
++ $(CC) $(LDFLAGS) -o dvdimagecmp $(OBJECT)
+
+ # DEPENDENCIES
+
diff --git a/media-video/dvdimagecmp/metadata.xml b/media-video/dvdimagecmp/metadata.xml
new file mode 100644
index 00000000000..edccfe5754d
--- /dev/null
+++ b/media-video/dvdimagecmp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+<email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/dvdrip/Manifest b/media-video/dvdrip/Manifest
new file mode 100644
index 00000000000..eaf4a314176
--- /dev/null
+++ b/media-video/dvdrip/Manifest
@@ -0,0 +1 @@
+DIST dvdrip-0.98.11.tar.gz 2075302 SHA256 586c20968b2daa55c0afaaf334d5b9b8b6896d6ea45078a577e165806858c3a5 SHA512 8bb2e4cb72666ac3f7d1953e02ac868070503f00b05ea39b4961f54042088d07abd4ef020a9cefec11e96e965d84dd95d00288e7562d92551f480ccba88b9dce WHIRLPOOL f7c62a87a518944ebdb06dded99b71f563bbf6d95a0d62adfcb37b0faabf15bfe1b8900a8fcd4438d0c82fe038114fc717a40a80a2bfe94dd59f7530c388624e
diff --git a/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild b/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild
new file mode 100644
index 00000000000..e922eb4a29e
--- /dev/null
+++ b/media-video/dvdrip/dvdrip-0.98.11-r2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic perl-module
+
+DESCRIPTION="dvd::rip is a graphical frontend for transcode"
+HOMEPAGE="http://www.exit1.org/dvdrip/"
+SRC_URI="http://www.exit1.org/dvdrip/dist/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="ffmpeg fping mplayer ogg subtitles vcd vorbis xine xvid"
+
+DEPEND=">=dev-perl/Event-ExecFlow-0.64
+ >=dev-perl/Event-RPC-0.89
+ dev-perl/gtk2-perl
+ >=dev-perl/gtk2-ex-formfactory-0.65
+ >=dev-perl/libintl-perl-1.16
+ || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )
+ >=media-video/transcode-1.1.0[dvd,jpeg,mp3,ogg,vorbis]
+ >=virtual/perl-podlators-2.5.3
+"
+RDEPEND="${DEPEND}
+ x11-libs/gdk-pixbuf:2[jpeg]
+ x11-libs/gtk+:2
+ ffmpeg? ( virtual/ffmpeg )
+ fping? ( >=net-analyzer/fping-2.2 )
+ mplayer? ( media-video/mplayer )
+ ogg? ( media-sound/ogmtools )
+ subtitles? ( media-video/subtitleripper )
+ vcd? (
+ media-video/transcode[mjpeg]
+ >=media-video/mjpegtools-1.6.0
+ )
+ vorbis? ( media-sound/vorbis-tools )
+ xine? ( media-video/xine-ui )
+ xvid? ( media-video/xvid4conf )
+ >=media-video/lsdvd-0.15"
+
+pkg_setup() {
+ filter-flags -ftracer
+ export SKIP_UNPACK_REQUIRED_MODULES=1 #255269
+
+ perl_set_version
+}
+
+src_prepare() {
+ sed -i -e 's:$(CC):$(CC) $(OTHERLDFLAGS):' src/Makefile || die #333739
+ epatch "${FILESDIR}"/${P}-fix_parallel_make.patch
+ # Fix default device for >=udev-180 wrt #224559
+ sed -i -e 's:/dev/dvd:/dev/cdrom:' lib/Video/DVDRip/Config.pm || die
+}
+
+src_install() {
+ newicon lib/Video/DVDRip/icon.xpm dvdrip.xpm
+ make_desktop_entry dvdrip dvd::rip
+
+ mydoc="Changes* Credits README TODO" perl-module_src_install
+}
+
+pkg_postinst() {
+ # bug 173924
+ if use fping; then
+ ewarn "For dvdrip-master to work correctly with cluster mode,"
+ ewarn "the fping binary must be setuid."
+ ewarn ""
+ ewarn "Run this command to fix it:"
+ ewarn "chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
+ ewarn ""
+ ewarn "Note that this is a security risk when enabled."
+ fi
+}
diff --git a/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch b/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch
new file mode 100644
index 00000000000..df766c07cbc
--- /dev/null
+++ b/media-video/dvdrip/files/dvdrip-0.98.11-fix_parallel_make.patch
@@ -0,0 +1,28 @@
+http://bugs.gentoo.org/266739
+
+--- src/Makefile
++++ src/Makefile
+@@ -3,10 +3,10 @@
+ all: ../bin/dvdrip-splitpipe ../bin/dvdrip-progress
+
+ ../bin/dvdrip-splitpipe: dvdrip-splitpipe.c
+- $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o dvdrip-splitpipe dvdrip-splitpipe.c && mv dvdrip-splitpipe ../bin
++ $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o ../bin/dvdrip-splitpipe dvdr