From 24934e623441310f644e5f72855b0f2bf9f3cd1a Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 27 Oct 2014 18:38:05 +0200 Subject: Incoming! Moving Rogento.git to kogaion-desktop. Finally --- media-video/mpv/ChangeLog | 260 +++++++++++++++++ media-video/mpv/Manifest | 5 + media-video/mpv/metadata.xml | 28 ++ media-video/mpv/mpv-0.2.4.ebuild | 321 +++++++++++++++++++++ media-video/mpv/mpv-0.3.3.ebuild | 236 +++++++++++++++ media-video/mpv/mpv-0.3.4.ebuild | 236 +++++++++++++++ media-video/mpv/mpv-0.3.5.ebuild | 236 +++++++++++++++ media-video/mpv/mpv-9999.ebuild | 231 +++++++++++++++ media-video/nvidia-settings/Manifest | 12 +- .../nvidia-settings/nvidia-settings-331.49.ebuild | 76 +++++ media-video/simplescreenrecorder/Manifest | 2 + media-video/simplescreenrecorder/metadata.xml | 7 + .../simplescreenrecorder-0.2.0-r1.ebuild | 99 +++++++ .../simplescreenrecorder-0.2.0-r2.ebuild | 95 ++++++ .../simplescreenrecorder-0.2.0.ebuild | 95 ++++++ .../simplescreenrecorder-0.2.1-r1.ebuild | 95 ++++++ .../simplescreenrecorder-0.2.1.ebuild | 99 +++++++ .../simplescreenrecorder-9999.ebuild | 95 ++++++ .../files/tv-maxe-0.09-pillow-support.patch | 26 ++ media-video/tv-maxe/tv-maxe-0.09-r1.ebuild | 51 ++++ media-video/tv-maxe/tv-maxe-0.09.ebuild | 4 +- media-video/tv-maxe/tv-maxe-9999.ebuild | 54 ++++ 22 files changed, 2350 insertions(+), 13 deletions(-) create mode 100644 media-video/mpv/ChangeLog create mode 100644 media-video/mpv/Manifest create mode 100644 media-video/mpv/metadata.xml create mode 100644 media-video/mpv/mpv-0.2.4.ebuild create mode 100644 media-video/mpv/mpv-0.3.3.ebuild create mode 100644 media-video/mpv/mpv-0.3.4.ebuild create mode 100644 media-video/mpv/mpv-0.3.5.ebuild create mode 100644 media-video/mpv/mpv-9999.ebuild create mode 100644 media-video/nvidia-settings/nvidia-settings-331.49.ebuild create mode 100644 media-video/simplescreenrecorder/Manifest create mode 100644 media-video/simplescreenrecorder/metadata.xml create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r1.ebuild create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r2.ebuild create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-0.2.0.ebuild create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-0.2.1-r1.ebuild create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-0.2.1.ebuild create mode 100644 media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild create mode 100644 media-video/tv-maxe/files/tv-maxe-0.09-pillow-support.patch create mode 100644 media-video/tv-maxe/tv-maxe-0.09-r1.ebuild create mode 100644 media-video/tv-maxe/tv-maxe-9999.ebuild (limited to 'media-video') diff --git a/media-video/mpv/ChangeLog b/media-video/mpv/ChangeLog new file mode 100644 index 00000000..a10f3fd9 --- /dev/null +++ b/media-video/mpv/ChangeLog @@ -0,0 +1,260 @@ +# ChangeLog for media-video/mpv +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.58 2014/02/13 17:45:33 tomwij Exp $ + +*mpv-0.3.5 (13 Feb 2014) + + 13 Feb 2014; Tom Wijsman +mpv-0.3.5.ebuild: + Version bump to 0.3.5, proxied commit for Nikoli. + +*mpv-0.3.4 (01 Feb 2014) + + 01 Feb 2014; Tom Wijsman +mpv-0.3.4.ebuild: + Version bump to 0.3.4, proxied commit for Nikoli. + + 25 Jan 2014; Tomáš Chvátal -mpv-0.3.2.ebuild, + mpv-0.2.4.ebuild, mpv-0.3.3.ebuild, mpv-9999.ebuild: + Use subslot deps on libass. Proxy for nikoli. Remove the 0.3.2 as there is no + reason for keeping. + + 25 Jan 2014; Tomáš Chvátal mpv-9999.ebuild: + Update sdl switch to match the new name. + +*mpv-0.3.3 (16 Jan 2014) + + 16 Jan 2014; Michael Weber +mpv-0.3.3.ebuild, + -mpv-0.3.1.ebuild: + Version bump (proied commit by Nikoli) + + 08 Jan 2014; Tom Wijsman mpv-9999.ebuild: + Upstream is now using rst2pdf instead of LaTeX, updated 9999 ebuild; proxied + commit for Nikoli. + + 08 Jan 2014; Tom Wijsman -mpv-0.1.7.ebuild, + -mpv-0.2.3.ebuild: + Remove old, proxied commit for Nikoli. + +*mpv-0.3.2 (07 Jan 2014) + + 07 Jan 2014; Tom Wijsman +mpv-0.3.2.ebuild: + Version bump to 0.3.2, proxied commit for Nikoli. + +*mpv-0.3.1 (03 Jan 2014) + + 03 Jan 2014; Jason A. Donenfeld +mpv-0.3.1.ebuild, + -mpv-0.3.0.ebuild: + Version bump for tiny bug fixes. + + 31 Dec 2013; Sergey Popov mpv-0.3.0.ebuild, + mpv-9999.ebuild: + Adjust dependencies, thanks to Nikoli + +*mpv-0.3.0 (29 Dec 2013) + + 29 Dec 2013; Tom Wijsman +mpv-0.3.0.ebuild, + mpv-9999.ebuild: + Version bump to 0.3.0, proxied commit for Nikoli. + + 28 Dec 2013; Maxim Koltsov mpv-9999.ebuild: + Update DOCS in 9999, thanks to Nikoli + + 17 Dec 2013; Tom Wijsman metadata.xml, mpv-9999.ebuild: + Updated live ebuild to cover changes to lircc and caca dependencies, added + dvdnav USE flag; fixed bug #494042, proxied commit for Nikoli. + +*mpv-0.2.4 (02 Dec 2013) + + 02 Dec 2013; Tim Harder -mpv-0.2.1.ebuild, + -mpv-0.2.2.ebuild, +mpv-0.2.4.ebuild: + Version bump and remove old (proxied for Nikoli). + + 30 Nov 2013; Tom Wijsman mpv-9999.ebuild: + Use simplified configure option for disabling/enabling libquvi support., + proxied commit for Nikoli. + + 29 Nov 2013; Sergey Popov mpv-9999.ebuild: + Update live ebuild, thanks to Nikoli + + 27 Nov 2013; Sergey Popov mpv-9999.ebuild: + Remove workaround for building with gcc's PIE per + upstream(https://github.com/mpv-player/mpv/issues/361), thanks to Nikoli + + 22 Nov 2013; Tom Wijsman mpv-9999.ebuild: + Upstream migrated to waf, migrate 9999 ebuild to git-r3 and made it use https; + proxied commit for Nikoli. + +*mpv-0.2.3 (16 Nov 2013) + + 16 Nov 2013; Tom Wijsman +mpv-0.2.3.ebuild, metadata.xml, + mpv-9999.ebuild: + Version bump to 0.2.3, changed mp3 USE flag to mpg123 and restricted mpg123 + dependency version; also corrected v4l USE flag and added dependency for it on + 9999 version. Proxied commit for Nikoli. + + 11 Nov 2013; Tom Wijsman mpv-9999.ebuild: + Removed support for mng from 9999 as upstream removed support for it, proxied + commit for Nikoli. + + 03 Nov 2013; Tom Wijsman -mpv-0.1.6.ebuild: + Removed 0.1.6, proxied commit for Nikoli. + +*mpv-0.2.2 (03 Nov 2013) + + 03 Nov 2013; Ben de Groot +mpv-0.2.2.ebuild: + version bump + +*mpv-0.2.1 (20 Oct 2013) + + 20 Oct 2013; Tom Wijsman +mpv-0.2.1.ebuild, + -mpv-0.2.0.ebuild: + VDPAU is broken in 0.2.0, removed 0.2.0 and version bump to 0.2.1; proxied + commit for Nikli. + + 19 Oct 2013; Tom Wijsman mpv-0.1.6.ebuild, + mpv-0.1.7.ebuild, mpv-0.2.0.ebuild, mpv-9999.ebuild: + Playing things with quvi need libav or ffmpeg with networking support, proxied + commit for Nikoli. + + 18 Oct 2013; Tom Wijsman mpv-9999.ebuild: + Upstream removed support for gettext, removed localedir configure parameter as + it is no longer recognized; proxied commit for Nikoli. + + 18 Oct 2013; Jeroen Roovers mpv-0.1.6.ebuild, + mpv-0.1.7.ebuild, mpv-0.2.0.ebuild, mpv-9999.ebuild: + Drop HPPA keywording (bug #488318). + + 17 Oct 2013; Tom Wijsman mpv-0.2.0.ebuild, + mpv-9999.ebuild: + Fix up a typo in the luajit conditional configure flag, proxied commit for + Nikoli; fixes bug #488348. + + 17 Oct 2013; Jeroen Roovers mpv-0.2.0.ebuild: + Drop ~hppa for now (bug #488318). + +*mpv-0.2.0 (16 Oct 2013) + + 16 Oct 2013; Tom Wijsman +mpv-0.2.0.ebuild, + mpv-9999.ebuild: + Version bump to 0.2.0, LICENSE recently switched from GPL-3 to GPL-2; proxied + commit for Nikoli, fixes bug #488254. + + 05 Oct 2013; Alexander Vershilov metadata.xml, + mpv-9999.ebuild: + add lua flag (request and patches by Nikoli) + + 30 Sep 2013; Tomáš Chvátal mpv-9999.ebuild: + Drop AUTHORS file, no longer distributed. + +*mpv-0.1.7 (22 Sep 2013) + + 22 Sep 2013; Tom Wijsman +mpv-0.1.7.ebuild: + Version bump to 0.1.7, proxied commit for Nikoli. + + 21 Sep 2013; Tom Wijsman metadata.xml, mpv-9999.ebuild: + Added doc-pdf USE flag and removed aqua USE flag, proxied commit for Nikoli. + +*mpv-0.1.6 (15 Sep 2013) + + 15 Sep 2013; Tomáš Chvátal +mpv-0.1.6.ebuild, + -mpv-0.1.3.ebuild, -mpv-0.1.4.ebuild, -mpv-0.1.5.ebuild: + Bump again to latest mpv tagged release. Drop older. + +*mpv-0.1.5 (09 Sep 2013) + + 09 Sep 2013; Sergey Popov +mpv-0.1.5.ebuild: + Version bump, thanks to Nikoli + + 02 Sep 2013; Sergey Popov metadata.xml: + Change maintainer's email address + +*mpv-0.1.4 (02 Sep 2013) + + 02 Sep 2013; Sergey Popov +mpv-0.1.4.ebuild: + Version bump, wrt bug #481118 + + 02 Sep 2013; Sergey Popov mpv-9999.ebuild, + metadata.xml: + Add VAAPI support via USE-flag, wrt bug #481118 + +*mpv-0.1.3 (25 Aug 2013) + + 25 Aug 2013; Tomáš Chvátal +mpv-0.1.3.ebuild, + -mpv-0.1.2.ebuild: + Bump to 0.1.3, drop 0.1.2. + +*mpv-0.1.2 (19 Aug 2013) + + 19 Aug 2013; Tomáš Chvátal +mpv-0.1.2.ebuild, + -mpv-0_p20130715.ebuild, mpv-9999.ebuild: + Version bump to 0.1.2 release, remove older. + + 11 Aug 2013; Alexis Ballier mpv-0_p20130715.ebuild, + mpv-9999.ebuild: + depend on ffmpeg:0= + + 19 Jul 2013; Tom Wijsman metadata.xml: + Clean up of metadata.xml. Do not express assignment in description for normal + situations, just list the to be assigned maintainer first as our scripts pick + up that one and we don't want to manually correct this every time; herds also + maintain a package, so they don't need to be listed twice. + + 17 Jul 2013; Tom Wijsman mpv-0_p20130715.ebuild, + mpv-9999.ebuild: + Made ffmpeg dependency consistent; that way, it doesn't satisfy and block + itself at the same time if the user has a lower version installed. Discovered + in topic #964594 on the Gentoo Forums. + +*mpv-0_p20130715 (15 Jul 2013) + + 15 Jul 2013; Luca Barbato +mpv-0_p20130715.ebuild, + mpv-9999.ebuild: + First snapshot and live ebuild update thanks to Nikoli + + 09 Jul 2013; Tomáš Chvátal mpv-9999.ebuild: + Do not enable debug by default. Patch from Nikoli. + + 09 Jul 2013; Tomáš Chvátal mpv-9999.ebuild: + Few fixes from nikoli. Put ffmpeg deps on top. Use subslot on libav. + + 08 Jul 2013; Tom Wijsman mpv-9999.ebuild: + Proxy commit by Nikoli: Explicitly depend on libav-9 and ffmpeg-1.2 instead of + virtual/ffmpeg-9, fixes bug #476222. Remove warning about CFLAGS and LDFLAGS, + we now append our flags instead of replacing upstream's flags. Removed some + configure options which upstream no longer provides, some USE flag behavior + was changed as a result. USE flag radio now has correct dependencies, it no + longer depends on oss; added threads USE flag. + + 08 Jul 2013; Tomáš Chvátal metadata.xml: + Fix repoman warning. + + 08 Jul 2013; Tomáš Chvátal mpv-9999.ebuild: + Remove networking code switches as the code was dropped. + + 05 Jul 2013; Tomáš Chvátal metadata.xml, + mpv-9999.ebuild: + Add few new useflag and enable quvi by default. Thanks to Nikoli for coop. + + 15 Jun 2013; Tomáš Chvátal mpv-9999.ebuild: + Raise dep on libxbcommon. Thanks to Nikoli for patch. + + 21 May 2013; Tim Harder mpv-9999.ebuild: + Update DOCS with new readme filename (patch by Nikoli). + + 16 May 2013; Tim Harder mpv-9999.ebuild, metadata.xml: + Add vf-dlopen use flag (patch by Nikoli). + + 28 Apr 2013; Tomáš Chvátal mpv-9999.ebuild: + Update wayland useflag usage a bit. Patch by Nikoli. + + 27 Apr 2013; Tomáš Chvátal mpv-9999.ebuild: + Try to enable wayland stuff via useflag. + + 27 Apr 2013; Tomáš Chvátal mpv-9999.ebuild: + Update bit. Patch by Nikoli. + +*mpv-9999 (27 Apr 2013) + + 27 Apr 2013; Tomáš Chvátal +metadata.xml, + +mpv-9999.ebuild: + Add mpv package which is another mplayer fork. Only live for now snapshots to + be added after ffmpeg9 virtual is unmasked. Ebuild provided by Nikoli. diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest new file mode 100644 index 00000000..3d05da39 --- /dev/null +++ b/media-video/mpv/Manifest @@ -0,0 +1,5 @@ +DIST mpv-0.2.4.tar.gz 2478152 SHA256 34a12a82b25bf3337d44c26dd8fa750746032c1a8806b85f6b8db652710827bf SHA512 72214d02fc459b1789831e54de2841ff0a8d83c97f1ba76b18d31e970372571569b45a036fe7e7e67d6fa9460f73216cc0f1e1e6149cb24a99c490d5cdfb5ec1 WHIRLPOOL 0cf700e38a2455d5c687b3f6a50e708bc145520e54b45923a465b7ed1e77b0ddd42d86d6a000b0d969506e4bca2973133c99f49db8281acff9fc02e649557141 +DIST mpv-0.3.3.tar.gz 2514706 SHA256 27d0b5ad65ba8056c5ce00bc441cf25b742cf46defcfd6ff597730f53ff2e61d SHA512 1a9e4de41e6215525ba0d195c8d2b9ebc76beea9c1792bfcf3e594219e614fc588134f1669bd7f6a898fa961e0e9c670309cc347c42733e69c9a2a1cadb4536b WHIRLPOOL b5dd879e0477eef6aa36ec003a7012e8364f3ccc05e068e9d59cb48c1e1803e33e5121138bbf1ca60b85c0c48c9293eb563e6e8cf20e11d812066f08af752166 +DIST mpv-0.3.4.tar.gz 2515466 SHA256 3e838a7a0bda448d335926954c7b9b9b0f0066ef10cea49813511fe378494cab SHA512 ad5fee608df74f31f4a5d369f68b4dfca1816f3eda62cc338beda16ff7e77619a17711759fd763aecbdb589597727e401b4f3a8daf5a9d30373199158685dd14 WHIRLPOOL 0e77fa912aef48efba0973aa858e535f9fd79a9d5cc72915745a23db7994018b3bd1a6bf6c95bbac9b3b0bf2f2672eaa3760df780cfa74fff3d74233f5d02d6d +DIST mpv-0.3.5.tar.gz 2516492 SHA256 0d1506ad448e42cd7c8de15c7d6c23725b62db87f3d0c4029f5b8c523c995f30 SHA512 9dad2f83b3eaee05197c40b257ad0ab84367d6334faa2950ff51e65d435fd9a7798ad4347a26d66e67bd8d0265bd1cd202fd621447f5c9fe2545a2d88d99d937 WHIRLPOOL 409d38fa0206a5dbc1689c8f695c24ccaade0e2b484e1256b128d55282194e92bc38599afaa87c66f4157c4bf549aaa06c101265c9cdefeea0f60675b834d068 +DIST waf-1.7.13 90702 SHA256 03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873 SHA512 4388cd200d86d9757db95a138d75655e419fd9372de1dc392025b2ecfb9a0cc95d0b17639689ac293b753355af4baea0fc700ddd5d419755facc4e1dfa009521 WHIRLPOOL db94ba365aa84927942e1d95079f9efe377e646dcb7183d6a80d4b57ebbe195d48d23b7688216bd0b793e2f914e1d83caae3b517e385f891a26f670ebc17ed05 diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml new file mode 100644 index 00000000..1f7093d6 --- /dev/null +++ b/media-video/mpv/metadata.xml @@ -0,0 +1,28 @@ + + + + + nikoli@gmx.us + +video +proxy-maintainers + + Enable playback of Blu-ray filesystems + Enable Bauer stereophonic-to-binaural headphone filter + Use libcdio for CD support (instead of cdparanoia) + Build documentation in pdf format + Enable support for DVD navigation using media-libs/dvdnav. + Enables support for charset discovery and conversion using app-i18n/enca + Enables support for charset discovery and conversion using app-i18n/libguess + Use dev-lang/luajit instead of dev-lang/lua + MNG input support + Enable support for mp3 decoding over media-sound/mpg123 instead of relying on ffmpeg support. + Enable image post-processing via libpostproc + Enable Video4Linux2 MPEG PVR + Enable support for streaming sites using media-libs/libquvi + Enable V4L2 radio interface and support + Enable support for shm + Enable VAAPI (Video Acceleration API) for hardware decoding + Install additional video filters for using with -vf dlopen + + diff --git a/media-video/mpv/mpv-0.2.4.ebuild b/media-video/mpv/mpv-0.2.4.ebuild new file mode 100644 index 00000000..8e19b4ef --- /dev/null +++ b/media-video/mpv/mpv-0.2.4.ebuild @@ -0,0 +1,321 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.2.4.ebuild,v 1.2 2014/01/25 13:29:24 scarabeus Exp $ + +EAPI=5 + +EGIT_REPO_URI="git://github.com/mpv-player/mpv.git" + +inherit toolchain-funcs flag-o-matic multilib base pax-utils +[[ ${PV} == *9999* ]] && inherit git-2 + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +[[ ${PV} == *9999* ]] || \ +SRC_URI="https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit mng +mpg123 -openal +opengl oss +portaudio +postproc pulseaudio pvr +quvi -radio samba +shm +threads v4l vaapi +vcd vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + portaudio? ( threads ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + v4l? ( threads ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9:=[encode?,threads?,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2:0=[encode?,threads?,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( x11-libs/libva[X(+)] ) + vdpau? ( x11-libs/libvdpau ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( media-libs/libbluray ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + || ( + dev-libs/libcdio-paranoia + =media-libs/libdvdread-4.1.3 ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( media-libs/libcaca ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mng? ( media-libs/libmng ) + mpg123? ( media-sound/mpg123 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads?,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9[network] + >=media-video/ffmpeg-1.2:0[network] + ) + ) + samba? ( net-fs/samba ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.0.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +ASM_DEP="dev-lang/yasm" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-tex/xcolor + ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf etc/encoding-example-profiles.conf ) + +pkg_setup() { + if [[ ${PV} == *9999* ]]; then + elog + elog "This is a live ebuild which installs the latest from upstream's" + elog "git repository, and is unsupported by Gentoo." + elog "Everything but bugs in the ebuild itself will be ignored." + elog + fi + + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + if use openal; then + ewarn + ewarn "You've enabled the openal flag. OpenAL is disabled by default," + ewarn "because it supposedly inteferes with some other configure tests" + ewarn "and makes them fail silently." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_prepare() { + # fix path to bash executable in configure scripts + sed -i -e "1c\#!${EPREFIX}/bin/bash" \ + configure version.sh || die + + base_src_prepare +} + +src_configure() { + local myconf="" + local uses i + + # ebuild uses "use foo || --disable-foo" to forcibly disable + # compilation in almost every situation. The reason for this is + # because if --enable is used, it will force the build of that option, + # regardless of whether the dependency is available or not. + + ##################### + # Optional features # + ##################### + # SDL output is fallback for platforms where nothing better is available + myconf+=" --disable-sdl --disable-sdl2" + use encode || myconf+=" --disable-encoding" + myconf+=" $(use_enable joystick)" + uses="bluray vcd" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use quvi || myconf+=" --disable-libquvi4 --disable-libquvi9" + use samba || myconf+=" --disable-smb" + use lirc || myconf+=" --disable-lirc --disable-lircc" + use lua || myconf+=" --disable-lua" + use luajit && myconf+=" --lua=luajit" + use doc-pdf || myconf+=" --disable-pdf" + + ######## + # CDDA # + ######## + use cdio || myconf+=" --disable-libcdio" + + ############ + # DVD read # + ############ + use dvd || myconf+=" --disable-dvdread" + + ############# + # Subtitles # + ############# + uses="enca iconv libass libguess" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + + ##################################### + # DVB / Video4Linux / Radio support # + ##################################### + use dvb || myconf+=" --disable-dvb" + use pvr || myconf+=" --disable-pvr" + use v4l || myconf+=" --disable-libv4l2 --disable-tv --disable-tv-v4l2" + if use radio; then + myconf+=" --enable-radio --enable-radio-capture" + else + myconf+=" --disable-radio-v4l2" + fi + + ########## + # Codecs # + ########## + uses="jpeg mng mpg123" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + + ################ + # Video Output # + ################ + use libcaca || myconf+=" --disable-caca" + use postproc || myconf+=" --disable-libpostproc" + + ################ + # Audio Output # + ################ + myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only + uses="alsa jack ladspa portaudio" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use bs2b || myconf+=" --disable-libbs2b" + use openal && myconf+=" --enable-openal" + use oss || myconf+=" --disable-ossaudio" + use pulseaudio || myconf+=" --disable-pulse" + + #################### + # Advanced Options # + #################### + # keep build reproducible + myconf+=" --disable-build-date" + # do not add -g to CFLAGS + myconf+=" --disable-debug" + use threads || myconf+=" --disable-pthreads" + + # Platform specific flags, hardcoded on amd64 (see below) + use shm || myconf+=" --disable-shm" + + if use x86 && gcc-specs-pie; then + filter-flags -fPIC -fPIE + append-ldflags -nopie + fi + + ########################### + # X enabled configuration # + ########################### + use X || myconf+=" --disable-x11" + uses="vaapi vdpau wayland xinerama xv" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done + use opengl || myconf+=" --disable-gl" + use lcms || myconf+=" --disable-lcms2" + use xscreensaver || myconf+=" --disable-xss" + + CFLAGS= LDFLAGS= ./configure \ + --cc="$(tc-getCC)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --pkg-config="$(tc-getPKG_CONFIG)" \ + --prefix="${EPREFIX}"/usr \ + --bindir="${EPREFIX}"/usr/bin \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --localedir="${EPREFIX}"/usr/share/locale \ + ${myconf} || die + + MAKEOPTS+=" V=1" +} + +src_compile() { + base_src_compile + + if use vf-dlopen; then + tc-export CC + emake -C TOOLS/vf_dlopen + fi +} + +src_install() { + base_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi + + if use vf-dlopen; then + exeinto /usr/$(get_libdir)/${PN} + doexe TOOLS/vf_dlopen/*.so + fi +} diff --git a/media-video/mpv/mpv-0.3.3.ebuild b/media-video/mpv/mpv-0.3.3.ebuild new file mode 100644 index 00000000..de68f286 --- /dev/null +++ b/media-video/mpv/mpv-0.3.3.ebuild @@ -0,0 +1,236 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.3.ebuild,v 1.2 2014/01/25 13:29:24 scarabeus Exp $ + +EAPI=5 + +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + +inherit base waf-utils pax-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +SRC_URI="https://waf.googlecode.com/files/waf-1.7.13" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi -radio samba +shm v4l vaapi vcd vdpau +vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + dvdnav? ( dvd ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9:=[encode?,threads,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2:0=[encode?,threads,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( >=media-libs/libbluray-0.2.1 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + || ( + dev-libs/libcdio-paranoia + =media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9[network] + >=media-video/ffmpeg-1.2:0[network] + ) + ) + samba? ( net-fs/samba ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.2.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +ASM_DEP="dev-lang/yasm" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-tex/xcolor + ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-1.7.13 "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + base_src_prepare +} + +src_configure() { + # keep build reproducible + # do not add -g to CFLAGS + # SDL output is fallback for platforms where nothing better is available + # media-sound/rsound is in pro-audio overlay only + waf-utils_src_configure \ + --disable-build-date \ + --disable-debug-build \ + --disable-sdl \ + --disable-sdl2 \ + --disable-rsound \ + $(use_enable encode encoding) \ + $(use_enable joystick) \ + $(use_enable bluray libbluray) \ + $(use_enable vcd) \ + $(use_enable quvi libquvi) \ + $(use_enable samba libsmbclient) \ + $(use_enable lirc) \ + $(use_enable lua) \ + $(usex luajit '--lua=luajit' '') \ + $(use_enable doc-pdf pdf-build) \ + $(use_enable vf-dlopen vf-dlopen-filters) \ + $(use_enable cdio cdda) \ + $(use_enable dvd dvdread) \ + $(use_enable dvdnav) \ + $(use_enable enca) \ + $(use_enable iconv) \ + $(use_enable libass) \ + $(use_enable libguess) \ + $(use_enable dvb) \ + $(use_enable pvr) \ + $(use_enable v4l libv4l2) \ + $(use_enable v4l tv) \ + $(use_enable v4l tv-v4l2) \ + $(use_enable radio) \ + $(use_enable radio radio-capture) \ + $(use_enable radio radio-v4l2) \ + $(use_enable mpg123) \ + $(use_enable jpeg) \ + $(use_enable libcaca caca) \ + $(use_enable postproc libpostproc) \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable ladspa) \ + $(use_enable portaudio) \ + $(use_enable bs2b libbs2b) \ + $(use_enable openal) \ + $(use_enable oss oss-audio) \ + $(use_enable pulseaudio pulse) \ + $(use_enable shm) \ + $(use_enable X x11) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable wayland) \ + $(use_enable xinerama) \ + $(use_enable xv) \ + $(use_enable opengl gl) \ + $(use_enable lcms lcms2) \ + $(use_enable xscreensaver xss) \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + waf-utils_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} diff --git a/media-video/mpv/mpv-0.3.4.ebuild b/media-video/mpv/mpv-0.3.4.ebuild new file mode 100644 index 00000000..7484aa87 --- /dev/null +++ b/media-video/mpv/mpv-0.3.4.ebuild @@ -0,0 +1,236 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.4.ebuild,v 1.1 2014/02/01 20:00:50 tomwij Exp $ + +EAPI=5 + +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + +inherit base waf-utils pax-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +SRC_URI="https://waf.googlecode.com/files/waf-1.7.13" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi -radio samba +shm v4l vaapi vcd vdpau +vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + dvdnav? ( dvd ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9:=[encode?,threads,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2:0=[encode?,threads,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( >=media-libs/libbluray-0.2.1 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + || ( + dev-libs/libcdio-paranoia + =media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9[network] + >=media-video/ffmpeg-1.2:0[network] + ) + ) + samba? ( net-fs/samba ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.2.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +ASM_DEP="dev-lang/yasm" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-tex/xcolor + ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-1.7.13 "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + base_src_prepare +} + +src_configure() { + # keep build reproducible + # do not add -g to CFLAGS + # SDL output is fallback for platforms where nothing better is available + # media-sound/rsound is in pro-audio overlay only + waf-utils_src_configure \ + --disable-build-date \ + --disable-debug-build \ + --disable-sdl \ + --disable-sdl2 \ + --disable-rsound \ + $(use_enable encode encoding) \ + $(use_enable joystick) \ + $(use_enable bluray libbluray) \ + $(use_enable vcd) \ + $(use_enable quvi libquvi) \ + $(use_enable samba libsmbclient) \ + $(use_enable lirc) \ + $(use_enable lua) \ + $(usex luajit '--lua=luajit' '') \ + $(use_enable doc-pdf pdf-build) \ + $(use_enable vf-dlopen vf-dlopen-filters) \ + $(use_enable cdio cdda) \ + $(use_enable dvd dvdread) \ + $(use_enable dvdnav) \ + $(use_enable enca) \ + $(use_enable iconv) \ + $(use_enable libass) \ + $(use_enable libguess) \ + $(use_enable dvb) \ + $(use_enable pvr) \ + $(use_enable v4l libv4l2) \ + $(use_enable v4l tv) \ + $(use_enable v4l tv-v4l2) \ + $(use_enable radio) \ + $(use_enable radio radio-capture) \ + $(use_enable radio radio-v4l2) \ + $(use_enable mpg123) \ + $(use_enable jpeg) \ + $(use_enable libcaca caca) \ + $(use_enable postproc libpostproc) \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable ladspa) \ + $(use_enable portaudio) \ + $(use_enable bs2b libbs2b) \ + $(use_enable openal) \ + $(use_enable oss oss-audio) \ + $(use_enable pulseaudio pulse) \ + $(use_enable shm) \ + $(use_enable X x11) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable wayland) \ + $(use_enable xinerama) \ + $(use_enable xv) \ + $(use_enable opengl gl) \ + $(use_enable lcms lcms2) \ + $(use_enable xscreensaver xss) \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + waf-utils_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} diff --git a/media-video/mpv/mpv-0.3.5.ebuild b/media-video/mpv/mpv-0.3.5.ebuild new file mode 100644 index 00000000..d7110d9d --- /dev/null +++ b/media-video/mpv/mpv-0.3.5.ebuild @@ -0,0 +1,236 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.5.ebuild,v 1.1 2014/02/13 17:45:33 tomwij Exp $ + +EAPI=5 + +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + +inherit base waf-utils pax-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +SRC_URI="https://waf.googlecode.com/files/waf-1.7.13" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi -radio samba +shm v4l vaapi vcd vdpau +vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + dvdnav? ( dvd ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9:=[encode?,threads,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2:0=[encode?,threads,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( >=media-libs/libbluray-0.2.1 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + || ( + dev-libs/libcdio-paranoia + =media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9[network] + >=media-video/ffmpeg-1.2:0[network] + ) + ) + samba? ( net-fs/samba ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.3.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +ASM_DEP="dev-lang/yasm" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-tex/xcolor + ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-1.7.13 "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + base_src_prepare +} + +src_configure() { + # keep build reproducible + # do not add -g to CFLAGS + # SDL output is fallback for platforms where nothing better is available + # media-sound/rsound is in pro-audio overlay only + waf-utils_src_configure \ + --disable-build-date \ + --disable-debug-build \ + --disable-sdl \ + --disable-sdl2 \ + --disable-rsound \ + $(use_enable encode encoding) \ + $(use_enable joystick) \ + $(use_enable bluray libbluray) \ + $(use_enable vcd) \ + $(use_enable quvi libquvi) \ + $(use_enable samba libsmbclient) \ + $(use_enable lirc) \ + $(use_enable lua) \ + $(usex luajit '--lua=luajit' '') \ + $(use_enable doc-pdf pdf-build) \ + $(use_enable vf-dlopen vf-dlopen-filters) \ + $(use_enable cdio cdda) \ + $(use_enable dvd dvdread) \ + $(use_enable dvdnav) \ + $(use_enable enca) \ + $(use_enable iconv) \ + $(use_enable libass) \ + $(use_enable libguess) \ + $(use_enable dvb) \ + $(use_enable pvr) \ + $(use_enable v4l libv4l2) \ + $(use_enable v4l tv) \ + $(use_enable v4l tv-v4l2) \ + $(use_enable radio) \ + $(use_enable radio radio-capture) \ + $(use_enable radio radio-v4l2) \ + $(use_enable mpg123) \ + $(use_enable jpeg) \ + $(use_enable libcaca caca) \ + $(use_enable postproc libpostproc) \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable ladspa) \ + $(use_enable portaudio) \ + $(use_enable bs2b libbs2b) \ + $(use_enable openal) \ + $(use_enable oss oss-audio) \ + $(use_enable pulseaudio pulse) \ + $(use_enable shm) \ + $(use_enable X x11) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable wayland) \ + $(use_enable xinerama) \ + $(use_enable xv) \ + $(use_enable opengl gl) \ + $(use_enable lcms lcms2) \ + $(use_enable xscreensaver xss) \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + waf-utils_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild new file mode 100644 index 00000000..1b9ceefe --- /dev/null +++ b/media-video/mpv/mpv-9999.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.39 2014/01/25 13:29:24 scarabeus Exp $ + +EAPI=5 + +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + +inherit base waf-utils pax-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +SRC_URI="https://waf.googlecode.com/files/waf-1.7.13" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi -radio samba +shm v4l vaapi vcd vdpau +vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + dvdnav? ( dvd ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9:=[encode?,threads,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2:0=[encode?,threads,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( >=media-libs/libbluray-0.2.1 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + || ( + dev-libs/libcdio-paranoia + =media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9[network] + >=media-video/ffmpeg-1.2:0[network] + ) + ) + samba? ( net-fs/samba ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.2.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +ASM_DEP="dev-lang/yasm" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( dev-python/rst2pdf ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-1.7.13 "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + base_src_prepare +} + +src_configure() { + # keep build reproducible + # do not add -g to CFLAGS + # SDL output is fallback for platforms where nothing better is available + # media-sound/rsound is in pro-audio overlay only + waf-utils_src_configure \ + --disable-build-date \ + --disable-debug-build \ + --disable-sdl1 \ + --disable-sdl2 \ + --disable-rsound \ + $(use_enable encode encoding) \ + $(use_enable joystick) \ + $(use_enable bluray libbluray) \ + $(use_enable vcd) \ + $(use_enable quvi libquvi) \ + $(use_enable samba libsmbclient) \ + $(use_enable lirc) \ + $(use_enable lua) \ + $(usex luajit '--lua=luajit' '') \ + $(use_enable doc-pdf pdf-build) \ + $(use_enable vf-dlopen vf-dlopen-filters) \ + $(use_enable cdio cdda) \ + $(use_enable dvd dvdread) \ + $(use_enable dvdnav) \ + $(use_enable enca) \ + $(use_enable iconv) \ + $(use_enable libass) \ + $(use_enable libguess) \ + $(use_enable dvb) \ + $(use_enable pvr) \ + $(use_enable v4l libv4l2) \ + $(use_enable v4l tv) \ + $(use_enable v4l tv-v4l2) \ + $(use_enable radio) \ + $(use_enable radio radio-capture) \ + $(use_enable radio radio-v4l2) \ + $(use_enable mpg123) \ + $(use_enable jpeg) \ + $(use_enable libcaca caca) \ + $(use_enable postproc libpostproc) \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable ladspa) \ + $(use_enable portaudio) \ + $(use_enable bs2b libbs2b) \ + $(use_enable openal) \ + $(use_enable oss oss-audio) \ + $(use_enable pulseaudio pulse) \ + $(use_enable shm) \ + $(use_enable X x11) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable wayland) \ + $(use_enable xinerama) \ + $(use_enable xv) \ + $(use_enable opengl gl) \ + $(use_enable lcms lcms2) \ + $(use_enable xscreensaver xss) \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + waf-utils_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} diff --git a/media-video/nvidia-settings/Manifest b/media-video/nvidia-settings/Manifest index 12d029f9..ec1a9d57 100644 --- a/media-video/nvidia-settings/Manifest +++ b/media-video/nvidia-settings/Manifest @@ -1,5 +1,3 @@ -AUX 95-nvidia-settings 54 SHA256 cbc6e8cae863b768b2ec570390e409476ec3ca1137006888810a9ec7f0029eb0 SHA512 de9edf678c64ca3d10c912397800b2cb651ef9108b33ece97a4cc1e86dad0a9e81986cca6b96cfe80740d9cb433de7ef93f29be45178db714ee408c7f6570ac7 WHIRLPOOL 032fbfd24378659f30b0ca2d653dff8fa09106aa55803740f22f82515251c099e9637310d420d909135e9f7850cb2890cf4abeac9d6a4b5e390a7d061462b13a -AUX nvidia-autostart.desktop 227 SHA256 a2f55b8b6778de2343e16f3a5d6a38719c14220cdb02e0d83eaf12f9bcdb7cd3 SHA512 9e4f81a1085c0bb1e56142bc68050fc6a2e5823d728991745df50c62d161208dbb8f1e34770871161eebd2610fbfb0a64d683a05d8d236a326281770e612511d WHIRLPOOL 881b1934e6c8a094554cac3a16e9e733c5bca2e10eadaa3fe56fdc8a8e5145ba6c7f11bb9948f5d8e4b144eb41a4629a74a74dda0fa18f87ff4a00093fd0561d DIST nvidia-settings-295.33.tar.bz2 1545933 SHA256 37128d2a90b22600c2df582c78dcc9d7c3cd1e26b2db8ab81a50a3fc3acfcdba SHA512 b1d6f3b3b679bc91b39259b8b0d03d33696f05ba700e07fd70d7e2a90f4708557a106315d43eba8fa771bcfdf270842e36a9b9f139189e571e8f4c463f3e7217 WHIRLPOOL bc56aac3c409ea398e00b03284ca18ba80373608c11d22c6c8b2bda574d12137ea84905054c094d0327198e71344fc203ab4cff23a5427ca16780f2f75fd8428 DIST nvidia-settings-295.40.tar.bz2 1545625 SHA256 68e8da979ef69b487a5ef237d7cc0f6d1d1cf3e027ffa2e90fa2501dc793d909 SHA512 3260cdfcb933833616ae5b97d6735135834947cc77f74bd2b7d8e2a7c4035fb5d848c9146421e4b9675d034d9008b0331545c9a5faf38f7cfd52c9aa5c50ac25 WHIRLPOOL 958bba15f9d2a62651bd9ad94f57c511d76c0a1b72a1565fdfd04f3758d5ff5f7b63b3a0b337b2388729ad4d12baf2ab2ccbd17b9f6c701c7b9bfd7c34b00da2 DIST nvidia-settings-302.07.tar.bz2 1479582 SHA256 4f4a163d277202f88e40289f1081df4e6d0b2a9b4133e9728ae10dcef5c7c784 SHA512 10ebae882740f4092ff00029add1ffd1716a6a346475e61269fd674f1bbae0919f4e573eaf8080cd9bf689be6c5bd69a645176d6e7a4ae6a6ec604ee215008a0 WHIRLPOOL 430f2414ff367ece40635beb9fa18d5ef94a356ff28dc256c3eeb184058a4baf76ab56e7f803ce8addd47674e2145e260cba65b48395556ad96e74de9ef1d9b4 @@ -9,12 +7,4 @@ DIST nvidia-settings-304.88.tar.bz2 1479968 SHA256 22d7c1eeb080ef5d3a99b57acfbd0 DIST nvidia-settings-310.19.tar.bz2 1482012 SHA256 1af2cd902c2adf261a6951b1d729523e515f37e45f86785675404fc58ec1c03a SHA512 fd3e376f6518e9e844e0fe7f2aecce18c03da0ebdfa67e41bc566614c89f9b284251e2e0841aa486ac8cb429c246e0b19c77773929ec1393f986bc267556ae84 WHIRLPOOL 2d3ff4a08d44a2abc31679e2779514b95de429cd1ec9e5ca865ef193ce64985dbe192e1e303f17c96dd84df2fa81eeabe1c7120945220ad17c26dc38e9e90f5a DIST nvidia-settings-313.30.tar.bz2 1496166 SHA256 50c9eeb31d64310f3d49a9596dd582a7dc84f8911a93c7514c501912a944f960 SHA512 a6cbb9078d0d46ad5fc19026d5f2ec3100ddf731caa360e8586c23d7bedcb19998ddd2dc07806c871b58b79765b3dff902f25d69a27bd2c2f08afc6c70f1f1ef WHIRLPOOL 33b152e48a3692cc3efa5b2c10d47f624e0b89d915d30cc75eab3cae4ac3e691f3ab656993377fc6e7f06bc327126252d83d3d6b3f0e89fc4d207ccc057a1f5b DIST nvidia-settings-325.15.tar.bz2 1541319 SHA256 e7dabddf1240bcbe2990a470defba480d619cd97fa1c0ef4e28653c689be0b03 SHA512 ccb5808fcd2d34cb7fb6cdb2e081bbebb3ced5d53c296cabac76685e6612faffc20609a6e4cdbd4170a3a72b3487f8520df799342004914a42b8dfb69d8d5fc0 WHIRLPOOL 8ad4be1357358c0e7ac6cdf4247f216ac7598f804ec74285a3fe02f51a41cc35742d043dc56feee82bb2099e598a1a13eb2d1a7bab8c72e922aee495b017f34e -EBUILD nvidia-settings-295.33.ebuild 2149 SHA256 c8d5dd2f4e32d98f29f0763c0a4fc8148224e5e447913f1346fea580daf1b8e3 SHA512 38ec460aa7369672dc8257f2d8142491836a15f14640a94991cfc54c1629459331be2c88feecee73c6855bb2ef0ac04b9b9c66a76cfbb8cec96b24b5ec1476d0 WHIRLPOOL 3401d06502690bf17e632f0f2183639eae496d448142994320e900c2e2befb57572579f439f74f3166c0130d6a4f2bd91bc810ee670238f994c9f47f8e4d6f2e -EBUILD nvidia-settings-295.40.ebuild 2149 SHA256 c8d5dd2f4e32d98f29f0763c0a4fc8148224e5e447913f1346fea580daf1b8e3 SHA512 38ec460aa7369672dc8257f2d8142491836a15f14640a94991cfc54c1629459331be2c88feecee73c6855bb2ef0ac04b9b9c66a76cfbb8cec96b24b5ec1476d0 WHIRLPOOL 3401d06502690bf17e632f0f2183639eae496d448142994320e900c2e2befb57572579f439f74f3166c0130d6a4f2bd91bc810ee670238f994c9f47f8e4d6f2e -EBUILD nvidia-settings-302.07.ebuild 2149 SHA256 c8d5dd2f4e32d98f29f0763c0a4fc8148224e5e447913f1346fea580daf1b8e3 SHA512 38ec460aa7369672dc8257f2d8142491836a15f14640a94991cfc54c1629459331be2c88feecee73c6855bb2ef0ac04b9b9c66a76cfbb8cec96b24b5ec1476d0 WHIRLPOOL 3401d06502690bf17e632f0f2183639eae496d448142994320e900c2e2befb57572579f439f74f3166c0130d6a4f2bd91bc810ee670238f994c9f47f8e4d6f2e -EBUILD nvidia-settings-304.22.ebuild 1558 SHA256 5c5cef6cb2ec65a5243755dd39b427ed89ec3417c91090708f849101aff37edd SHA512 4dc73ea79b8fa4c202ca0e0c75ef76178e8a79e178ea0792d7a9e4d83c372ca84d6e5a0d7d859a93b23446fc321eebf2357a25e6b0fed1a2a0f32e6f9bb50f1d WHIRLPOOL 4b7c0e4fb81d97edcd9ba4f4e793e2f192be61dbee120c9247b126d5ec906b9859f409cc03b136f1e71f2fd9151de73ed4af50b4d080cb7ca1343140215a9e2a -EBUILD nvidia-settings-304.60.ebuild 1666 SHA256 c36d08361b8c902b6a6df840f2f368c9c6107d299921fcfc21d6be00dd9b3c0e SHA512 81604aa64d62afb3bf20b4333d2d86ad686d162f21551fb13a154be64eef8f864f918c455c0d5564a4e84c46a0ae8f1d4185556ee5faa0c627531a031339a42e WHIRLPOOL 57fd85225ca9cbadb164d2c7cf894133d286d44e9ea052844d095482aae61d297f10e3a920e263d3f51a8231cdcc179650f3e14b68ff60c5c99ee51ad9a89e1b -EBUILD nvidia-settings-304.88.ebuild 2124 SHA256 d17f2f904fefa91652133d443ad7f2798fe636eecc6ee2c61842c8f312be93a9 SHA512 52f3adc00efe2d700c9bd806182722380a5c5f280455530131df381e2fa0fe88e4471dbf840051fe8b446336794db96421b0e2125393703ec4964bde1e997282 WHIRLPOOL 47171584629f1d701575453f882eb66eb7d0dcdc6ba513c36ed71994b270a78d9609f82b83124995a8a5d00cdbb1d26d6d53623b658b78d91a4446b7ee51a448 -EBUILD nvidia-settings-310.19.ebuild 1558 SHA256 5c5cef6cb2ec65a5243755dd39b427ed89ec3417c91090708f849101aff37edd SHA512 4dc73ea79b8fa4c202ca0e0c75ef76178e8a79e178ea0792d7a9e4d83c372ca84d6e5a0d7d859a93b23446fc321eebf2357a25e6b0fed1a2a0f32e6f9bb50f1d WHIRLPOOL 4b7c0e4fb81d97edcd9ba4f4e793e2f192be61dbee120c9247b126d5ec906b9859f409cc03b136f1e71f2fd9151de73ed4af50b4d080cb7ca1343140215a9e2a -EBUILD nvidia-settings-313.30.ebuild 2003 SHA256 0e930e57bac62e0d8f1a2df56fe3d5e9c1fca5cb9fa7352874bd103ac31a44db SHA512 c3bc593587cddc9ca02736d6a641a7e7404e5227fb8b5828b7124854d35f59cc8db0795ea9b4baa2d06f975d5c1a8b8060e3b53d204baea511c2cfca4a476553 WHIRLPOOL bae876400f73691aa96435bab9e245813e900e9a91edbf85aef650f9733b108bfb56381a1a91a0426fd830da41e68ac407ffa9dc06af81d6e0a3cc39a7988410 -EBUILD nvidia-settings-325.15.ebuild 2028 SHA256 da27bdb190b3e53a423923ce7cffea8c45c1084b746624203ad6aa34dd3c627a SHA512 29a7dd16ae1b025466bcdca2d1863ccacacd7af7398615940abd8f797c472d05a34f3d269c8be939cb8de43cee66954691195933f691186d4a52771e9390aa35 WHIRLPOOL 9749983650382375a08945d65b9e8f056a29ca9ff58551718b546e561ba70117da6058723287ec612b0ec910ff3a9e6cf0d818bb3ccd4239bea0958bb46acc46 +DIST nvidia-settings-331.49.tar.bz2 1545177 SHA256 a9ba53d2c811d28fc1d6dd6131a2fdba44160c32d792f77e55cc834ca3205510 SHA512 6de9ae7fb7758ae93782608456f06a9ddab8cf91c885920ac99365a609e257a01dca9e03e5517bbc8383d799f09cf3455e66ccb6e553e477262591cb89390f74 WHIRLPOOL f9576a00cbfc2efc5d84a8a0178d6976674666fe941aef31d52852c26b99936fbc2178c21948624bc16cf4ca8991eb9bb7e6a704650f493c23b8e612ed417128 diff --git a/media-video/nvidia-settings/nvidia-settings-331.49.ebuild b/media-video/nvidia-settings/nvidia-settings-331.49.ebuild new file mode 100644 index 00000000..fd52276f --- /dev/null +++ b/media-video/nvidia-settings/nvidia-settings-331.49.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils toolchain-funcs multilib flag-o-matic + +DESCRIPTION="NVIDIA Linux X11 Settings Utility" +HOMEPAGE="http://www.nvidia.com/" +SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +# xorg-server is used in the depends as nvidia-settings builds against some +# headers in /usr/include/xorg/. +# This also allows us to optimize out a lot of the other dependancies, as +# between gtk and xorg-server, almost all libraries and headers are accounted +# for. +DEPEND=">=x11-libs/gtk+-2:2 + dev-util/pkgconfig + x11-base/xorg-server + x11-libs/libXt + x11-libs/libXv + x11-proto/xf86driproto + x11-proto/xf86vidmodeproto" + +RDEPEND=">=x11-libs/gtk+-2:2 + x11-base/xorg-server + x11-libs/libXt + x11-libs/pango[X]" + +src_compile() { + einfo "Building libXNVCtrl..." + emake -C src/libXNVCtrl/ clean # NVidia ships pre-built archives :( + emake -C src/libXNVCtrl/ \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + libXNVCtrl.a + + einfo "Building nvidia-settings..." + emake -C src/ \ + CC="$(tc-getCC)" \ + LD="$(tc-getLD)" \ + STRIP_CMD="$(type -P true)" \ + NV_VERBOSE=1 \ + USE_EXTERNAL_JANSSON=1 +} + +src_install() { + emake -C src/ DESTDIR="${D}" PREFIX=/usr USE_EXTERNAL_JANSSON=1 install + + insinto /usr/$(get_libdir) + doins src/libXNVCtrl/libXNVCtrl.a + + insinto /usr/include/NVCtrl + doins src/libXNVCtrl/*.h + + doicon doc/${PN}.png + make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Settings + + dodoc doc/*.txt + + # Install icon and .desktop entry + doicon "${S}/doc/${PN}.png" + sed -i "s:__UTILS_PATH__:/usr/bin:" "${S}/doc/${PN}.desktop" + sed -i "s:__PIXMAP_PATH__:/usr/share/pixmaps:" "${S}/doc/${PN}.desktop" + sed -i "s:__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__:Utility:" "${S}/doc/${PN}.desktop" + domenu "${S}/doc/${PN}.desktop" + exeinto /etc/X11/xinit/xinitrc.d + doexe "${FILESDIR}"/95-nvidia-settings +} diff --git a/media-video/simplescreenrecorder/Manifest b/media-video/simplescreenrecorder/Manifest new file mode 100644 index 00000000..ae6a4426 --- /dev/null +++ b/media-video/simplescreenrecorder/Manifest @@ -0,0 +1,2 @@ +DIST 0.2.0.tar.gz 1177716 SHA256 e958e0afc6633a8ad3ba3e7712dec2015e2f348a43b1d70a657ea04dcd90cc56 SHA512 467fe9a437244033d29cab5ce40446873d5a7908a0cd9ec094dfc21c3a44ef4127ba441e51bbd0fa9ac99e524cbb615efb6fbf61176fbb1fe77342687c4dc925 WHIRLPOOL 20e5e61634ef307eafe840e1bd77d50fcee836739ae3c9cb59d7fb71c20edf049fc5492bb2a72e7f4d0f125ad12a1cb222f3bce2cc9d3e5a897c2a120ae435f0 +DIST 0.2.1.tar.gz 1177723 SHA256 257e856c45209452bbda8c21a99e92248ae81dc6dafb02e08bf8d5f7bda4a452 SHA512 9c752cfe7b4dfe6afca2e13abdf5ddb20073c3878dbc08aa0cbfa1403c02eff66a34a55c75c0fff8fe719cadf5a29f32d115ec5c2af0b9b0a0f754c85e22a336 WHIRLPOOL e9fe0ea37bc607158c4ad371d649acef595a7678fdffc98ad18ae5d3753815bbe41bf7c7bf6fc60bc96a72e0b7b5d677cb035d6414a6ee9d325519e7f8af7bbe diff --git a/media-video/simplescreenrecorder/metadata.xml b/media-video/simplescreenrecorder/metadata.xml new file mode 100644 index 00000000..d846dd0a --- /dev/null +++ b/media-video/simplescreenrecorder/metadata.xml @@ -0,0 +1,7 @@ + + + + + Enables vp8 codec support using libvpx from ffmpeg/libav + + diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r1.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r1.ebuild new file mode 100644 index 00000000..5692941a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="eautoreconf" + KEYWORDS="~amd64 ~x86" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="amd64 x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu + media-libs/alsa-lib + media-libs/mesa + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + abi_x86_32? ( + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + ) + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r2.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r2.ebuild new file mode 100644 index 00000000..edae685a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0-r2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="" + KEYWORDS="" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu[${MULTILIB_USEDEP}] + media-libs/alsa-lib + media-libs/mesa[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext + x11-libs/libXfixes[${MULTILIB_USEDEP}] + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0.ebuild new file mode 100644 index 00000000..edae685a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="" + KEYWORDS="" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu[${MULTILIB_USEDEP}] + media-libs/alsa-lib + media-libs/mesa[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext + x11-libs/libXfixes[${MULTILIB_USEDEP}] + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1-r1.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1-r1.ebuild new file mode 100644 index 00000000..edae685a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="" + KEYWORDS="" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu[${MULTILIB_USEDEP}] + media-libs/alsa-lib + media-libs/mesa[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext + x11-libs/libXfixes[${MULTILIB_USEDEP}] + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1.ebuild new file mode 100644 index 00000000..5692941a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.2.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="eautoreconf" + KEYWORDS="~amd64 ~x86" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="amd64 x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu + media-libs/alsa-lib + media-libs/mesa + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + abi_x86_32? ( + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + ) + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild new file mode 100644 index 00000000..edae685a --- /dev/null +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit autotools multilib-minimal + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="A Simple Screen Recorder" +HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder" +LICENSE="GPL-3" +PKGNAME="ssr" +S=${WORKDIR}/${PKGNAME}-${PV} +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/MaartenBaert/${PKGNAME}.git + https://github.com/MaartenBaert/${PKGNAME}.git" + EGIT_BOOTSTRAP="" + KEYWORDS="" +else + SRC_URI="https://github.com/MaartenBaert/${PKGNAME}/archive/${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +IUSE="debug jack mp3 pulseaudio theora vorbis vpx x264" + +RDEPEND=" + dev-qt/qtcore + dev-qt/qtgui + virtual/glu[${MULTILIB_USEDEP}] + media-libs/alsa-lib + media-libs/mesa[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext + x11-libs/libXfixes[${MULTILIB_USEDEP}] + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio ) + || ( + media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] + media-video/libav[vorbis?,vpx?,x264?,mp3?,theora?] + ) + " +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${PV} == "9999" ]]; then + elog + elog "This ebuild merges the latest revision available from upstream's" + elog "git repository, and might fail to compile or work properly once" + elog "merged." + elog + fi + + if [[ ${ABI} == amd64 ]]; then + elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + elog "When added 32bit GLInject libraries are also included. This is" + elog "required if you want to use OpenGL recording on 32bit applications." + elog + fi + + if ( has_version media-video/ffmpeg[x264] || has_version media-video/libav[x264] ) && has_version media-libs/x264[10bit]; then + ewarn + ewarn "media-libs/x264 is currently built with 10bit useflag." + ewarn "This is known to prevent simplescreenrecorder from recording x264 videos" + ewarn "correctly. Please build media-libs/x264 without 10bit if you want to " + ewarn "record videos with x264." + ewarn + fi +} + +multilib_src_configure() { + local myconf=( --enable-dependency-tracking ) + + if multilib_build_binaries; then + myconf+=( + $(use_enable debug assert) + $(use_enable pulseaudio) + $(use_enable jack) + ) + else + myconf+=( + --disable-assert + --disable-pulseaudio + --disable-jack + --disable-ssrprogram + ) + fi + + ECONF_SOURCE=${S} \ + econf ${myconf[@]} +} diff --git a/media-video/tv-maxe/files/tv-maxe-0.09-pillow-support.patch b/media-video/tv-maxe/files/tv-maxe-0.09-pillow-support.patch new file mode 100644 index 00000000..b1a4acc2 --- /dev/null +++ b/media-video/tv-maxe/files/tv-maxe-0.09-pillow-support.patch @@ -0,0 +1,26 @@ +diff -Nur tv-maxe-0.09-orig/statusimage.py tv-maxe-0.09/statusimage.py +--- tv-maxe-0.09-orig/statusimage.py 2012-07-03 22:26:03.000000000 +0300 ++++ tv-maxe-0.09/statusimage.py 2013-10-19 14:57:28.089423913 +0300 +@@ -1,4 +1,7 @@ +-import gtk, gobject, StringIO, Image, ImageDraw, ImageFont, os, tempfile ++import gtk, gobject, StringIO, os, tempfile ++from PIL import Image ++from PIL import ImageDraw ++from PIL import ImageFont + + class StatusImage: + def __init__(self): +diff -Nur tv-maxe-0.09-orig/tvmaxe.py tv-maxe-0.09/tvmaxe.py +--- tv-maxe-0.09-orig/tvmaxe.py 2013-03-24 00:08:17.000000000 +0200 ++++ tv-maxe-0.09/tvmaxe.py 2013-10-19 14:56:46.927938502 +0300 +@@ -31,8 +31,9 @@ + pygtk.require('2.0') + import gtk + import subprocess, threading, urllib2, workerpool, random, time, datetime, webbrowser, string, copy +-import irwatch, which, sqlite3, re, json, base64, Image, StringIO ++import irwatch, which, sqlite3, re, json, base64, StringIO + import tools, keysim, scheduler, socketserver ++from PIL import Image + from settingsManager import settingsManager + from channel import Channel + from scheduler import Scheduler diff --git a/media-video/tv-maxe/tv-maxe-0.09-r1.ebuild b/media-video/tv-maxe/tv-maxe-0.09-r1.ebuild new file mode 100644 index 00000000..a5ea248e --- /dev/null +++ b/media-video/tv-maxe/tv-maxe-0.09-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="Program to view free channels" +HOMEPAGE="http://code.google.com/p/tv-maxe" +SRC_URI="http://tv-maxe.googlecode.com/files/${PN}-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+sqlite" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="dev-python/pillow + media-video/mplayer2 + media-video/vlc + virtual/ffmpeg + dev-python/python-virtkey + dev-python/pygtk + dev-lang/python[sqlite] + media-tv/sp-auth + media-video/rtmpdump + dev-python/gst-python + media-libs/gst-plugins-good + media-plugins/gst-plugins-meta" +DEPEND="" + +S="${WORKDIR}" + +src_prepare() { + sed -i "s|python|python2|g" ${S}/${PN}-${PV}/${PN} || die "Cannot sed file" + epatch -p0 "${FILESDIR}/tv-maxe-0.09-pillow-support.patch" +} + +src_install() { + cd "${S}" + dodir /usr/share/${PN} || die + insinto /usr/share/${PN} || die + doins -r "${S}"/${PN}-${PV}/* || die + fperms 755 /usr/share/${PN}/${PN} || die "Errors on permission giving" + fperms 755 /usr/share/${PN} || die "Errors on permission folder giving" + dosym /usr/share/${PN}/${PN} /usr/bin/${PN} || die "Not too many symbolic links" + make_desktop_entry tv-maxe TV-maxe \ + "/usr/share/tv-maxe/tvmaxe_mini.png" \ + Video +} diff --git a/media-video/tv-maxe/tv-maxe-0.09.ebuild b/media-video/tv-maxe/tv-maxe-0.09.ebuild index 08265748..e05037bf 100644 --- a/media-video/tv-maxe/tv-maxe-0.09.ebuild +++ b/media-video/tv-maxe/tv-maxe-0.09.ebuild @@ -13,8 +13,9 @@ SRC_URI="http://tv-maxe.googlecode.com/files/${PN}-${PV}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="sqlite" +IUSE="+sqlite" +DEPEND="dev-lang/python[sqlite]" RDEPEND="dev-python/imaging media-video/mplayer2 media-video/vlc @@ -24,7 +25,6 @@ RDEPEND="dev-python/imaging dev-lang/python[sqlite] media-tv/sp-auth media-video/rtmpdump - sqlite? ( dev-python/sqlite3dbm ) dev-python/gst-python media-libs/gst-plugins-good media-plugins/gst-plugins-meta" diff --git a/media-video/tv-maxe/tv-maxe-9999.ebuild b/media-video/tv-maxe/tv-maxe-9999.ebuild new file mode 100644 index 00000000..f12aad2d --- /dev/null +++ b/media-video/tv-maxe/tv-maxe-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils git-2 + +EGIT_BRANCH=master +EGIT_REPO_URI="https://code.google.com/p/tv-maxe" + + +DESCRIPTION="Program to view free channels" +HOMEPAGE="http://code.google.com/p/tv-maxe" +SRC_URI="" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+sqlite" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="dev-python/pillow + media-video/mplayer2 + media-video/vlc + virtual/ffmpeg + dev-python/python-virtkey + dev-python/pygtk + dev-lang/python[sqlite] + media-tv/sp-auth + media-video/rtmpdump + dev-python/gst-python + media-libs/gst-plugins-good + media-plugins/gst-plugins-meta" +DEPEND="" + +S="${WORKDIR}" + +src_prepare() { + sed -i "s|python|python2|g" ${S}/${PN} || die "Cannot sed file" +} + +src_install() { + cd "${S}" + dodir /usr/share/${PN} || die + insinto /usr/share/${PN} || die + doins -r "${S}"/* || die + fperms 755 /usr/share/${PN}/${PN} || die "Errors on permission giving" + fperms 755 /usr/share/${PN} || die "Errors on permission folder giving" + dosym /usr/share/${PN}/${PN} /usr/bin/${PN} || die "Not too many symbolic links" + make_desktop_entry tv-maxe TV-maxe \ + "/usr/share/tv-maxe/tvmaxe_mini.png" \ + Video +} -- cgit v1.2.3