diff options
Diffstat (limited to 'media-video')
34 files changed, 1143 insertions, 540 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex 911e46460778..1fecd7ad41da 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest index e4516585a804..0a1d1d40def3 100644 --- a/media-video/aravis/Manifest +++ b/media-video/aravis/Manifest @@ -1,4 +1,6 @@ DIST aravis-0.5.10.tar.xz 540700 BLAKE2B f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848 SHA512 27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29 +DIST aravis-0.6.1.tar.xz 547700 BLAKE2B 7230cf49e08865b6f4e6621585c394633c54b94b921e4c686757eb21a02d5f51406f5084f92d41ad1880468001c908eb648fd2c2247def46bcbceea92bffa3ce SHA512 098a079c7efc5e5f9d198beef8a6271f525779947d1767eba81262a33c38afa6d9f01f254e25b714b9c74550795beed144bb463c0e14d2a46e6e96d1af19bde4 EBUILD aravis-0.5.10.ebuild 1399 BLAKE2B a8c91562b5588799226c3f49849aec8f2d92e07768eecc5d96654ed16347676dc0aa01565881d8062594ffcc8547f5ad17065f331465d35bbb2b93820f49affc SHA512 7abf119d3e2ce6379e63590121c98137b888e22bfa37fbaeaec5ce1f75ecb391e3fce3e7000fd8c8b1ef43c0034f3aeb8916f492b1323f1a63c3d578ce6bbca4 +EBUILD aravis-0.6.1.ebuild 1396 BLAKE2B fe6f9314bdf863139f810e9aa285e51d0edb238ef78ef6685d9cc69ebc967f052351a0559254f25b405c2a87a2de5e81eed46bed389f03a58799c7d8eaf61711 SHA512 dadd49b753aed368b2af5651066c8757c4401566357b1ce0c3ccdd9b789ff6643f9f7ac6a705ab5c43b0d4727fdb1a58e64dfd6d087b223fca9a5b4796a55bcc EBUILD aravis-9999.ebuild 1399 BLAKE2B a8c91562b5588799226c3f49849aec8f2d92e07768eecc5d96654ed16347676dc0aa01565881d8062594ffcc8547f5ad17065f331465d35bbb2b93820f49affc SHA512 7abf119d3e2ce6379e63590121c98137b888e22bfa37fbaeaec5ce1f75ecb391e3fce3e7000fd8c8b1ef43c0034f3aeb8916f492b1323f1a63c3d578ce6bbca4 MISC metadata.xml 664 BLAKE2B 95779521829c716f4efdc591e0422c62be595b83c3eb3fd9d947314381cc92b8a74d62ce8f2338f073ab99f62a9e696a18e17d70fe4ea6f77664d47ea48af8cd SHA512 023c02e3a69fad5c7302d2dc857fa0de23096ecb80640f9adba7d12ab10e969be2a10f1183e44cf3a3afc6e57ec1585826b73907103490b78052bd10b0857cac diff --git a/media-video/aravis/aravis-0.6.1.ebuild b/media-video/aravis/aravis-0.6.1.ebuild new file mode 100644 index 000000000000..6136076e6a19 --- /dev/null +++ b/media-video/aravis/aravis-0.6.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/AravisProject/aravis.git" + inherit git-r3 autotools +else + SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Library for video acquisition using Genicam cameras" +HOMEPAGE="https://wiki.gnome.org/Projects/Aravis" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="X gstreamer caps" + +GST_DEPEND="media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" + +RDEPEND=">=dev-libs/glib-2.32 + dev-libs/libxml2 + X? ( + >=x11-libs/gtk+-3.12:3 + ${GST_DEPEND} + media-libs/gst-plugins-base:1.0 + x11-libs/libnotify + ) + caps? ( + sys-libs/libcap-ng + sys-process/audit + ) + gstreamer? ( ${GST_DEPEND} )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-libs/gobject-introspection" + +if [[ ${PV} != *9999 ]]; then + DEPEND+=" dev-util/gtk-doc dev-util/intltool" +fi + +src_prepare() { + default + if [[ ${PV} = *9999 ]]; then + intltoolize || die + gtkdocize || die + eautoreconf + fi +} + +src_configure() { + econf \ + --disable-silent-rules \ + --disable-static \ + $(use_enable X viewer) \ + $(use_enable gstreamer gst-plugin) \ + $(use_enable caps packet-socket) \ + --enable-introspection +} + +src_install() { + emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}" + find "${D}" -name '*.la' -delete +} diff --git a/media-video/cheese/Manifest b/media-video/cheese/Manifest index 449cd522cd46..616e1c8127fa 100644 --- a/media-video/cheese/Manifest +++ b/media-video/cheese/Manifest @@ -1,7 +1,5 @@ -DIST cheese-3.26.0.tar.xz 1841856 BLAKE2B 302a4a12511866197df8cf62ec00ade122f2e5dc6a4adcb78cd252594b23373c328845179135e8ae44526432ec1b6b9a8c26d2808a533833221076be0496a591 SHA512 6fd58623ca257dff0a53b3577005a8b818b706f5c3da4eab51de9a7f6368847b4fe62885f3a7ba6350ac782cbee51c7b35a0c055bf11bb270934041b15388297 DIST cheese-3.28.0.tar.xz 1544904 BLAKE2B cdad63b4175bb52c3a77ee5ed0058afdd8b5d509ef17b5931d2f01457b9ff327d3ad270ad963e3185c928ddc7203b00163137a789683669d3f8c39d5a9926da8 SHA512 c52b083b132a8c885df55def3d6bf96180fc93c8b7368f48412c8dd63e073a268ff0e86959a977bd8bf372a53e127419b96046d92cb3a96674f86cfb3477ceea DIST cheese-3.30.0.tar.xz 1546680 BLAKE2B 32cfc9553e1c9ebfe7d3eb5fdf19d74b49e9f69ea005f4c79097d69caa2125803c5c319e98ccd3e8f72157a5fd86c018f1be7af7045f6541ecd36d4162c5cdd1 SHA512 622910cedc8eadec4161f60e2bb3f02cbe11352b2431fdd9783f724b4119ffae6254b1566e1144c25491067f9c683a55eb85b265ef28992d852adce02fbdc8b4 -EBUILD cheese-3.26.0.ebuild 1891 BLAKE2B ec91cff21e7a455cb5f62392b3cbd81cafe267e35e6ceb7dde3a26eba6b3e8da9a532d8f79a0a6861fa182000b904297280523ae2e01f06bf120a4b4086ccc14 SHA512 b8ff632cc912151e425d53dfeae989ecc7a0f422244ed0fc9891ed689629eededc852ecb6705ccd8ac2d4b42291bfba872412ca5e0c9c1be638f0848f1c45723 -EBUILD cheese-3.28.0.ebuild 1914 BLAKE2B 16a5f3d9700937e9a148f159a54dcf6b93fdd097a4ebecacb15484b5f20a88ad8f69aa1b36effd4a2aee485957216987039c5e77bdcfa3e27b8472bb98744287 SHA512 ac5cc8112eb52116ca68d8536f1bc0a5600994e0cd71e73499a144dd14864e3fd7d483855b3b05b28014ece14c226995411eace1216bc1dc8b35c24984fb1b00 -EBUILD cheese-3.30.0.ebuild 1916 BLAKE2B f5b32a8170f075f8a534aadf65bb227345aaf9b46525c9f5aaac2193c3a150bb13de1a88b65726b00653c3c242bee34ac890d665f8458b5a57dbafd930a2c9ef SHA512 2e53f96527dacdb3c6e1fa9b3391991a43ef8e99819639370b7ec1448f45b6bdba1f89df7a53dab529270a52d09de97a0bf55364124966da1c4cae51d04b773c +EBUILD cheese-3.28.0.ebuild 1945 BLAKE2B 23d2e6235267695c768c794a05c8eb65cc72973e32625fa503ae3fd9164c9593af8718da63916f0c850036c30f67cd0ba34207ec234a8437cdff6031d4dc9b30 SHA512 eb57dbc50a60508250a0d55368e13bb39a0bc918adf5538f03166e3330d7d531e0928dba906b928c157635544a8a10923842538f9a7fc557860e4898b32fb4dc +EBUILD cheese-3.30.0.ebuild 1947 BLAKE2B 399e483f6d3151823ba1ccd9833e315e18538447a127556b537fbadbe5017082455d589507f51d53dd0f9d41da8521eab959cccde4166bae9b77bc282b898f25 SHA512 50ce5832dfc33ea893e0ddbd6bd9c1eb9170b45905904a06b1b6a0eda49a615185ff847eea40e9bc9a09208906cd81c3a823103971923d48442838864276121e MISC metadata.xml 428 BLAKE2B 3a6b33697b144cba857668b55e04897b8b6c6c4323f09be85ce827843ef50c9c6d988a4e60ffde4ecf1e66a73d70f0e71f2f05371f33f3853429107684abbc9a SHA512 cbe065cc8fe75a86d8f16788dc2ddeafda2b1c27858427f6c9ec83841730e3d9c1c9f7815718c86e19626098b96782a1017b614bac5a0121c92af04b11a30a22 diff --git a/media-video/cheese/cheese-3.26.0.ebuild b/media-video/cheese/cheese-3.26.0.ebuild deleted file mode 100644 index fb4adf9d212d..000000000000 --- a/media-video/cheese/cheese-3.26.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -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/8" # subslot = libcheese soname version -IUSE="+introspection test" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -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-1:1.0 - media-libs/clutter-gst:3.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.4:1.0[introspection?] - >=media-libs/gst-plugins-base-1.4:1.0[introspection?,ogg,pango,theora,vorbis,X] - - introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) -" -RDEPEND="${COMMON_DEPEND} - >=media-libs/gst-plugins-bad-1.4:1.0 - >=media-libs/gst-plugins-good-1.4:1.0 - - >=media-plugins/gst-plugins-jpeg-1.4:1.0 - >=media-plugins/gst-plugins-v4l2-1.4:1.0 - >=media-plugins/gst-plugins-vpx-1.4:1.0 -" -# libxml2+gdk-pixbuf required for glib-compile-resources -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-libs/libxslt - >=dev-util/gtk-doc-am-1.14 - >=dev-util/intltool-0.50 - dev-util/itstool - virtual/pkgconfig - x11-base/xorg-proto - 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 -} - -src_test() { - virtx emake check -} diff --git a/media-video/cheese/cheese-3.28.0.ebuild b/media-video/cheese/cheese-3.28.0.ebuild index 449a1884018e..cdb01a015217 100644 --- a/media-video/cheese/cheese-3.28.0.ebuild +++ b/media-video/cheese/cheese-3.28.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -44,16 +44,17 @@ RDEPEND="${COMMON_DEPEND} # libxml2+gdk-pixbuf required for glib-compile-resources DEPEND="${COMMON_DEPEND} app-text/docbook-xml-dtd:4.3 - app-text/yelp-tools dev-libs/appstream-glib dev-libs/libxml2:2 dev-libs/libxslt + dev-util/glib-utils >=dev-util/gtk-doc-am-1.14 >=dev-util/intltool-0.50 dev-util/itstool virtual/pkgconfig x11-base/xorg-proto " +# eautoreconf needs yelp-tools src_configure() { gnome2_src_configure \ diff --git a/media-video/cheese/cheese-3.30.0.ebuild b/media-video/cheese/cheese-3.30.0.ebuild index 31bc873f0bfe..2b118686f999 100644 --- a/media-video/cheese/cheese-3.30.0.ebuild +++ b/media-video/cheese/cheese-3.30.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -44,16 +44,17 @@ RDEPEND="${COMMON_DEPEND} # libxml2+gdk-pixbuf required for glib-compile-resources DEPEND="${COMMON_DEPEND} app-text/docbook-xml-dtd:4.3 - app-text/yelp-tools dev-libs/appstream-glib dev-libs/libxml2:2 dev-libs/libxslt + dev-util/glib-utils >=dev-util/gtk-doc-am-1.14 >=dev-util/intltool-0.50 dev-util/itstool virtual/pkgconfig x11-base/xorg-proto " +# eautoreconf needs yelp-tools src_configure() { gnome2_src_configure \ diff --git a/media-video/get_flash_videos/Manifest b/media-video/get_flash_videos/Manifest index 3c4e7b4a940b..4ee5d1106bab 100644 --- a/media-video/get_flash_videos/Manifest +++ b/media-video/get_flash_videos/Manifest @@ -1,6 +1,3 @@ -AUX get_flash_videos-youtubefix.patch 3543 BLAKE2B c38d9de9c4b250cfe7f74648f01ea66974f7f7e3892ee4ab883a7bacad1a621c08dcf4bdd6f408cf6ece5b3660a897751ee15abb58849c125eda264bd0717d1c SHA512 d196f90384ee745e16577b12e74694d439a1e6fc44a4b3803e6872beb77b9f21a4b6b45a4775314056499c0bd2e92c363044f8399e6b51e38f351408f370b223 -DIST get_flash_videos-1.24.tar.gz 86380 BLAKE2B 6a391a3e9c31cbedb76dc0846a601af6c0ad730e1b81bcadab1d1efca80fb87c1bbd0310da962076fd5d166e2d776a77edcfa8ee1076fddf508518bcdd7053f2 SHA512 b966adc381ddf096f9f57ddd3ce0a9a155b3850f345b0624f11b4c553036f1e8881cf7c70e4f789741a43263325e35653f005731563702b6d7a594530558fc48 DIST get_flash_videos-1.25.94.tar.gz 136922 BLAKE2B c353fd5396a6dcd0a759538d16d8237a1f137308d2cc2bbacdd78f6adfc7542b9603d0b63f7d94203dda2611d4972d8d8699aa64863175d7c8cbb148a622c9d3 SHA512 f7ec42e763aa83d8aaa5ac0481785ef6197f0f34ff3b3b2209e63767eb8116d5fb75f85732fa37c7e56729bc83b7d4d57dcf5cab954d9f439d21ad00badbdacf -EBUILD get_flash_videos-1.24-r1.ebuild 1389 BLAKE2B 69b36b61d3e72d2b72b425c58c33be78f8d2ca683805c46481b13c489f5cf9b7673b8e44e0a63dfa359416903cdb3e1b82ec9b067f833806b9eb8e79c430be94 SHA512 ca7b80562e51a50c1a352dac432e5d31a8ceecd03cb83b063378ffb4e1a42daeeb82c34bf687c3cacf7b45860add90007059440ee85dd394dd46f5cb8bff4c0f -EBUILD get_flash_videos-1.25.94.ebuild 1343 BLAKE2B c5b647c5b5c1732282461dabc2d280c19c3404383dd410ae47083c18a505fb497906469f5fe85b1e55a022cf652118e7d4d58bce34766b5a5332d1306d2d8679 SHA512 09b2988a3121ef57e6b28d816ab76d47fde7c5883a2973725cbcf0cf222e8475599c10a1da1387951a3224e4f3e12fbc8c1f8fc445b01014fc7deba6bf2ed456 +EBUILD get_flash_videos-1.25.94.ebuild 1341 BLAKE2B 10e8b7a86d0fdde3dbbeafde2fcf890f02fbaf5ed6508cf65db0fa2fedc52a042186f0f29e340307fcdb4de34fcdda474e826c24fb69a73a7bf2a7dd8fa93e1c SHA512 04880d136c89108d9057e6f8c793cc3376466b1c55005f46b2b1a41c8c954b7bd175a5edeed21a8165469bfe506b0143df3da2aa53f524ed9708a758df8810db MISC metadata.xml 253 BLAKE2B 1696360d1dba7af5b1aabccbdd970b59ee70e7f37cdef78f1e9764d5b878c0ae2af2fed0b135b1a4063dc5035c35aeb15e460a6f403d3f86e0453dc45b7a1ff6 SHA512 b88fd545b0e2a472966a72c4a20687b8c1085f10d38fe348747eb551f801b3e89d6ec61a6d576ac05cd9b50eedaa4ba1fa540a4a3452cfb87a82ac2675b64571 diff --git a/media-video/get_flash_videos/files/get_flash_videos-youtubefix.patch b/media-video/get_flash_videos/files/get_flash_videos-youtubefix.patch deleted file mode 100644 index 0bca2bbd450d..000000000000 --- a/media-video/get_flash_videos/files/get_flash_videos-youtubefix.patch +++ /dev/null @@ -1,100 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=405761 - -https://github.com/richcollins/get-flash-videos/commit/27e0f1d214e291debfd567b1652908d0ef6b79d1#lib/FlashVideo/Site - ---- lib/FlashVideo/Site/Youtube.pm~ 2010-11-30 14:34:17.000000000 +0000 -+++ lib/FlashVideo/Site/Youtube.pm 2012-02-20 23:56:35.000000000 +0000 -@@ -26,6 +26,7 @@ - if($embed_url !~ m!youtube\.com/watch!) { - $browser->get($embed_url); - if ($browser->response->header('Location') =~ m!/swf/.*video_id=([^&]+)! -+ || $browser->content =~ m!\<iframe[^\>]*src="http://www.youtube.com/embed/([^"]+)"!i - || $embed_url =~ m!/v/([-_a-z0-9]+)!i - || $browser->uri =~ m!v%3D([-_a-z0-9]+)!i) { - # We ended up on a embedded SWF or other redirect page -@@ -48,12 +49,19 @@ - # If the page contains fmt_url_map, then process this. With this, we - # don't require the 't' parameter. - if ($browser->content =~ /["']fmt_url_map["']:\s{0,3}(["'][^"']+["'])/) { -- debug "Using fmt_url_map method from page ($1)"; -- return $self->download_fmt_map($prefs, $browser, $title, {}, @{from_json $1}); -+ my $fmt_map = $1; -+ if ($fmt_map !~ /\|/) { -+ # $fmt_map is double escaped. We should unescape it here just -+ # once. Be careful not to unescape ',' in the URL. -+ $fmt_map = uri_unescape($fmt_map); -+ } -+ debug "Using fmt_url_map method from page ($fmt_map)"; -+ return $self->download_fmt_map($prefs, $browser, $title, {}, @{from_json $fmt_map}); - } - - my $video_id; - if ($browser->content =~ /(?:var pageVideoId =|(?:CFG_)?VIDEO_ID'?\s*:)\s*'(.+?)'/ -+ || $browser->content =~ /"video_id": "([^"]+)"/ - || $embed_url =~ /v=([^&]+)/) { - $video_id = $1; - } else { -@@ -125,6 +133,9 @@ - } elsif($info{fmt_url_map}) { - debug "Using fmt_url_map method from info"; - return $self->download_fmt_map($prefs, $browser, $title, \%info, $info{fmt_url_map}); -+ } elsif($info{url_encoded_fmt_stream_map}) { -+ debug "Using url_encoded_fmt_stream_map method from info"; -+ return $self->download_url_encoded_fmt_stream_map($prefs, $browser, $title, \%info, $info{url_encoded_fmt_stream_map}); - } - } - -@@ -132,6 +143,53 @@ - return download_get_video($browser, $prefs, $video_id, $title, $t); - } - -+sub download_url_encoded_fmt_stream_map { -+ my($self, $prefs, $browser, $title, $info, $fmt_map) = @_; -+ -+ my $fmt_url_map = parse_youtube_url_encoded_fmt_stream_map($fmt_map); -+ -+ if (!$title and $browser->uri->as_string =~ m'/user/.*?#') { -+ my $video_id = (split /\//, $browser->uri->fragment)[-1]; -+ -+ my %info = get_youtube_video_info($browser->clone, $video_id); -+ -+ $title = $info->{title}; -+ } -+ -+ my $preferred_quality = $prefs->quality->choose(map { $fmt_url_map->{$_->{id}} -+ ? { resolution => $_->{resolution}, url => $fmt_url_map->{$_->{id}} } -+ : () } @formats); -+ -+ $browser->allow_redirects; -+ -+ return $preferred_quality->{url}, title_to_filename($title, "mp4"); -+} -+ -+sub parse_youtube_url_encoded_fmt_stream_map { -+ my($raw_map) = @_;; -+ -+ my $map = {}; -+ -+ foreach my $params (split /,/, $raw_map) { -+ -+ my $format = ""; -+ my $url = ""; -+ -+ foreach my $pair (split /&/, $params) { -+ my ($name, $value) = split /=/, $pair; -+ if ($name eq "itag"){ -+ $format = $value; -+ } elsif ($name eq "url") { -+ $url = uri_unescape($value); -+ } -+ } -+ -+ $map->{$format} = $url; -+ } -+ -+ return $map; -+} -+ - sub download_fmt_map { - my($self, $prefs, $browser, $title, $info, $fmt_map) = @_; - diff --git a/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild b/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild deleted file mode 100644 index 833c8d61d59c..000000000000 --- a/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils perl-module readme.gentoo - -MY_PN="App-${PN}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Downloads videos from various Flash-based video hosting sites" -HOMEPAGE="https://github.com/monsieurvideo/get-flash-videos" -SRC_URI="https://github.com/monsieurvideo/get-flash-videos/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="dev-perl/WWW-Mechanize - virtual/perl-Module-CoreList - dev-perl/HTML-TokeParser-Simple" -DEPEND="${RDEPEND} - dev-perl/UNIVERSAL-require - test? ( media-video/rtmpdump - dev-perl/Tie-IxHash - dev-perl/XML-Simple - dev-perl/Crypt-Rijndael - dev-perl/Data-AMF - virtual/perl-IO-Compress )" - -SRC_TEST="do" - -S="${WORKDIR}/${MY_P}" -SRC_TEST="do" -myinst="DESTDIR=${D}" - -src_prepare() { - DISABLE_AUTOFORMATTING="yes" - DOC_CONTENTS="Downloading videos from RTMP server requires the following packages: -- media-video/rtmpdump -- dev-perl/Tie-IxHash -Other optional dependencies: -- dev-perl/XML-Simple -- dev-perl/Crypt-Rijndael -- dev-perl/Data-AMF -- virtual/perl-IO-Compress" - - # 405761 - epatch "${FILESDIR}"/${PN}-youtubefix.patch - perl-module_src_prepare -} - -src_install() { - perl-module_src_install - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/media-video/get_flash_videos/get_flash_videos-1.25.94.ebuild b/media-video/get_flash_videos/get_flash_videos-1.25.94.ebuild index 06f54954848e..917f687c142e 100644 --- a/media-video/get_flash_videos/get_flash_videos-1.25.94.ebuild +++ b/media-video/get_flash_videos/get_flash_videos-1.25.94.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/monsieurvideo/get-flash-videos/archive/${PV}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="test" #RESTRICT="test" # Fail to work for a long time, bug #407381 diff --git a/media-video/gnome-mpv/Manifest b/media-video/gnome-mpv/Manifest index fa9cf0149e65..24f1947e72bd 100644 --- a/media-video/gnome-mpv/Manifest +++ b/media-video/gnome-mpv/Manifest @@ -1,5 +1,7 @@ DIST gnome-mpv-0.14.tar.xz 313300 BLAKE2B 5296b416928c8d62ed6d50cee7a0a27d19fb5bf8c0f1196276792272b5823c4d4efd8057b8dd7b64fc66281c36428f667ddaf3672389d3168e48de50594e2810 SHA512 c802f5f978dd3760faf5b78a5e59bd8e9960cc05ac67a1373d29371936b422272ba7541d05dd228b89cb97ac180460907fcb7da31bafbdcdd2445681230685e2 DIST gnome-mpv-0.15.tar.xz 314960 BLAKE2B 9a12d090ae743fc723f83154bf212a84d7544f38f13107d2f5c9fdf45e0283559cb861a40f638a4c8d8af04a73442c12ccfd35b3ffad014df6af260ba3db9104 SHA512 a5ef912c65c453aebe2fad136221fb98e201bd438d13115c02d7d0c8d7310b19fcd74a3deec6dbbb8499eb0ae765ba80aa7731c01e9e4a753e62f50fad70837b +DIST gnome-mpv-0.16.tar.xz 320676 BLAKE2B ea92b94096b2bc13dd48ac54acec7aa19f23ffd53f40a90dd52fa7e9221a82bfc6159eb204eec98a1073d9ccd14ab4a4b8b380714098120deafaa4c3183d64f3 SHA512 b730cba7388e9c64014a17b7aa2bdeab344a80bcff46ed2f47566ef02f24e2b5b07ed3fbae65443dc7ae58b70bd03e065a4da6ab8860fb506bdaad8bbccc0fce EBUILD gnome-mpv-0.14.ebuild 712 BLAKE2B a41fd5844f2b88245de1e974286570ce8aadbc45e92bb0af5c94e404dafd544d7e86259e729a55e24fdf3e7a5606481f457611fb196bcb7674a85c6b9fcf9313 SHA512 6859f4194cc12387ffcaa097f8e3e8a2ae11ce4b760f141f8ca42936655f23e35eaa4ec7d5e66e82c592fa01d50802f4484c7a060411a937580a57775d5563b2 EBUILD gnome-mpv-0.15.ebuild 846 BLAKE2B d2c962cade1beded76926eaaf5a4a022eadcd88591d11efbea7109b00324af9bb23e6d8a88e92d97480b6f82ba610fa8a27d10294db51ff5b212407211fa3a77 SHA512 4997e87ba5b4427b83b7f3c136fa5379ebc92730d69756e20718e903a54defc9747253881790dc435b6d13c8d12c9e2476cac2ee741f08cc9a15305407772e20 +EBUILD gnome-mpv-0.16.ebuild 733 BLAKE2B e8fb15f9502d59ac547c1693205cb39cd9301ae096b6c3980b1b211a1733f8d64e49f8010281d7f5c338942bcffdb12051090c4ea2a8f9b2e82c808c4f9d5364 SHA512 54e5fae56c354b918e0ce4d4ddc1451cc80050fdee78cd6e95d3740fc800b8f3432de0dd3f79c79b3a39aa3ea1ba2f844bc2ef0a8ebea2302e18951ec373e37a MISC metadata.xml 240 BLAKE2B 9fdc2353993b08138d11aacc71a6026e52430fe7b4b4d0a195dd03a5334b6c18dba7a88279e18c6b97cfbd1e0c818f5310b5d1419e77b3ede373c62321f4c2e6 SHA512 3b569f3b00bb1b30eb7c5f2e3c372f3b87d96cb333d36857973c85d8b5da1f480918ad7f3b1ed9cdbe7db6bcd1db35b454d34559a430c28008b5a1dccc65776b diff --git a/media-video/gnome-mpv/gnome-mpv-0.16.ebuild b/media-video/gnome-mpv/gnome-mpv-0.16.ebuild new file mode 100644 index 000000000000..51627b53cbe5 --- /dev/null +++ b/media-video/gnome-mpv/gnome-mpv-0.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils meson + +DESCRIPTION="A simple GTK+ frontend for mpv" +HOMEPAGE="https://gnome-mpv.github.io/" +SRC_URI="https://github.com/gnome-mpv/gnome-mpv/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-libs/glib-2.44 + >=x11-libs/gtk+-3.22.23:3 + >=media-video/mpv-0.27[libmpv] + media-libs/libepoxy" +DEPEND="${RDEPEND} + dev-util/glib-utils + virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/media-video/guvcview/Manifest b/media-video/guvcview/Manifest index 4f1050eb44e2..872df4a1cbfd 100644 --- a/media-video/guvcview/Manifest +++ b/media-video/guvcview/Manifest @@ -1,6 +1,3 @@ -AUX ffmpeg4.patch 7046 BLAKE2B 570d5a582bd76a11be2fa444cdce9c178590235eb7f1b765827dddd318ca0923206f45849ea29671e3d642b72a46eb9b58d9c2aa9735c0f312dd81f6002a488d SHA512 bc9225d94160a565bdfd524853d37d54594acae7df80c7ffd694e79943273568bd497e9e0ac24c154823bc272cfdc1f697823feb95d191aea829f331ed0daf98 -DIST guvcview-src-2.0.5.tar.gz 1134237 BLAKE2B 6165349005a07e3e9ea555a7b4aa731ec218f8073dfce8ac5036dd3ccbe4228aeb3b29491c8ad545d5b5ab193045704a60bfcd48459bfc56ad923b583c08f5be SHA512 b4a1216ab2effbd0022d5ba0ce266ac06a781e453d3dbedfe29b654864d3a26fe1e8b68245d76eff854281d42f1871a8a82b06f783b5115e94ec1c111aac05eb DIST guvcview-src-2.0.6.tar.gz 1131013 BLAKE2B ec8d7a82344e26890fe184d0edf77d0e415aa708bdf3cf55f96c555aaef479b1b7441a0425db035d10a6dc31f90282c169afff2d13684599ab1c005a5ea50ab1 SHA512 f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec -EBUILD guvcview-2.0.5.ebuild 1402 BLAKE2B 8601540bb8d20e7090138ffc2111d541858c9bfad0faad5d4df3e20ab86aff0e47df73d6dc4157c117051d15148511634f840b5312ba951ddfa8610e744e782b SHA512 a27b9958971f22e5f7c27fefd8c79e7446885a63e270fdad40ca199f1ac399964cc2c12f9ef20c420582dbfb8b237a4b9cda09c90c2a8a6dea43d58d7bc68616 -EBUILD guvcview-2.0.6.ebuild 1658 BLAKE2B d265675c9cf22564d886ce510117092536c892f13673ab6d050d0f2c11f01be707ef5be0937e3c16657cd25cf4a76428181eb03836cd163a254751384fb6dcc2 SHA512 b5b4da68ae318a698de2c9860d0799bf5a706c34ce45efe781a0cc0dc5a30b2ac97380a7b6826ab4dea7cea5be857f96517dda9b38b39abcd5d43cb6ab72fd5b +EBUILD guvcview-2.0.6.ebuild 1657 BLAKE2B 6d3a8da54455143dcdd4d83b8f01c21e001dba80bf83cb862bea4abc5ee43117e6ee5daf4da44dc050ea5f5a26880ab81f622657c380117621da4f8153339534 SHA512 e80b0f97844b7c2b7cb3b2cf37eed6601d251da34f06de0da140b51a18726e25026f015077491ca4ab8440277477a24a82f308fdc6fd93d9f54a257d978efc2c MISC metadata.xml 380 BLAKE2B 0059009c82869365d8ad9bd1266dbd048b97c3e24bad5d47e9598ae1f90a348395089faa27ae52982525dbd02a6ad3c48961c8b66eba9077a09ffde6f1a8eaf9 SHA512 6eb897ab0df42c6ecb1b5559eea22eccaca63cfa72f350361634b424baa1d7405175968930e57151164d2999e2d2db28e2606576994895259c065ae07d623f1d diff --git a/media-video/guvcview/files/ffmpeg4.patch b/media-video/guvcview/files/ffmpeg4.patch deleted file mode 100644 index e6421834b5b0..000000000000 --- a/media-video/guvcview/files/ffmpeg4.patch +++ /dev/null @@ -1,195 +0,0 @@ -Index: guvcview-src-2.0.5/guvcview/gui_qt5_callbacks.cpp -=================================================================== ---- guvcview-src-2.0.5.orig/guvcview/gui_qt5_callbacks.cpp -+++ guvcview-src-2.0.5/guvcview/gui_qt5_callbacks.cpp -@@ -1590,10 +1590,8 @@ void MainWindow::video_codec_properties( - framerefs->setValue(defaults->framerefs); - form.addRow(_("framerefs: "), framerefs); - /*me method*/ -- QSpinBox *me_method = new QSpinBox(&dialog); -- me_method->setRange(1, 10); -- me_method->setSingleStep(1); -- me_method->setValue(defaults->me_method); -+ QLabel *me_method = new QLabel(&dialog); -+ me_method->setText(defaults->me_method); - form.addRow(_("me method: "), me_method); - /*mb decision*/ - QSpinBox *mb_decision = new QSpinBox(&dialog); -@@ -1645,7 +1643,7 @@ void MainWindow::video_codec_properties( - defaults->qblur = qblur->value(); - defaults->subq = subq->value(); - defaults->framerefs = framerefs->value(); -- defaults->me_method = me_method->value(); -+ defaults->me_method = me_method->text().toLatin1().data(); - defaults->mb_decision = mb_decision->value(); - defaults->max_b_frames = max_b_frames->value(); - defaults->num_threads = num_threads->value(); -Index: guvcview-src-2.0.5/gview_encoder/encoder.c -=================================================================== ---- guvcview-src-2.0.5.orig/gview_encoder/encoder.c -+++ guvcview-src-2.0.5/gview_encoder/encoder.c -@@ -445,10 +445,8 @@ static encoder_video_context_t *encoder_ - #if !LIBAVCODEC_VER_AT_LEAST(56,60) - video_codec_data->codec_context->me_method = video_defaults->me_method; - #else -- if( video_defaults->codec_id == AV_CODEC_ID_H264 && video_defaults->me_method > 4) -- video_defaults->me_method = X264_ME_HEX; -- -- av_dict_set_int(&video_codec_data->private_options, "motion-est", video_defaults->me_method, 0); -+ if(video_defaults->me_method) -+ av_dict_set(&video_codec_data->private_options, "motion-est", video_defaults->me_method, 0); - #endif - - #if !LIBAVCODEC_VER_AT_LEAST(57,00) -Index: guvcview-src-2.0.5/gview_encoder/gviewencoder.h -=================================================================== ---- guvcview-src-2.0.5.orig/gview_encoder/gviewencoder.h -+++ guvcview-src-2.0.5/gview_encoder/gviewencoder.h -@@ -104,7 +104,7 @@ typedef struct _video_codec_t - char codec_name[20]; //lavc codec_name - int mb_decision; //lavc mb_decision - int trellis; //lavc trellis quantization -- int me_method; //lavc motion estimation method -+ const char* me_method; //lavc motion estimation method - int mpeg_quant; //lavc mpeg quantization - int max_b_frames; //lavc max b frames - int num_threads; //lavc num threads -Index: guvcview-src-2.0.5/gview_encoder/video_codecs.c -=================================================================== ---- guvcview-src-2.0.5.orig/gview_encoder/video_codecs.c -+++ guvcview-src-2.0.5/gview_encoder/video_codecs.c -@@ -97,7 +97,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "none", - .mb_decision = 0, - .trellis = 0, -- .me_method = 0, -+ .me_method = NULL, - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 0, -@@ -133,7 +133,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "mjpeg", - .mb_decision = 0, - .trellis = 0, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 0, -@@ -169,7 +169,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "mpeg1video", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 1, -@@ -205,11 +205,11 @@ static video_codec_t listSupCodecs[] = - .codec_name = "flv", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 1, -- .flags = CODEC_FLAG_4MV -+ .flags = AV_CODEC_FLAG_4MV - }, - { - .valid = 1, -@@ -241,7 +241,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "wmv1", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 1, -@@ -277,7 +277,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "mpeg2video", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 1, -@@ -313,7 +313,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "msmpeg4v3", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 0, - .max_b_frames = 0, - .num_threads = 1, -@@ -349,7 +349,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "mpeg4", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 1, -- .me_method = ME_EPZS, -+ .me_method = "epsz", - .mpeg_quant = 1, - .max_b_frames = 0, - .num_threads = 1, -@@ -385,7 +385,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "libx264", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 0, -- .me_method = X264_ME_HEX, -+ .me_method = "hex", - .mpeg_quant = 1, - .max_b_frames = 16, - .num_threads = 4, -@@ -426,7 +426,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "libx265", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 0, -- .me_method = ME_HEX, -+ .me_method = "hex", - .mpeg_quant = 1, - .max_b_frames = 16, - .num_threads = 4, -@@ -463,7 +463,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "libvpx_vp8", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 0, -- .me_method = ME_HEX, -+ .me_method = "hex", - .mpeg_quant = 1, - .max_b_frames = 0, - .num_threads = 4, -@@ -500,7 +500,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "libvpx_vp9", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 0, -- .me_method = ME_HEX, -+ .me_method = "hex", - .mpeg_quant = 1, - .max_b_frames = 16, - .num_threads = 4, -@@ -537,7 +537,7 @@ static video_codec_t listSupCodecs[] = - .codec_name = "libtheora", - .mb_decision = FF_MB_DECISION_RD, - .trellis = 0, -- .me_method = ME_HEX, -+ .me_method = "hex", - .mpeg_quant = 1, - .max_b_frames = 0, - .num_threads = 4, -Index: guvcview-src-2.0.5/gview_v4l2core/uvc_h264.c -=================================================================== ---- guvcview-src-2.0.5.orig/gview_v4l2core/uvc_h264.c -+++ guvcview-src-2.0.5/gview_v4l2core/uvc_h264.c -@@ -1039,7 +1039,7 @@ int h264_init_decoder(int width, int hei - exit(-1); - } - -- h264_ctx->context->flags2 |= CODEC_FLAG2_FAST; -+ h264_ctx->context->flags2 |= AV_CODEC_FLAG2_FAST; - h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P; - h264_ctx->context->width = width; - h264_ctx->context->height = height; diff --git a/media-video/guvcview/guvcview-2.0.5.ebuild b/media-video/guvcview/guvcview-2.0.5.ebuild deleted file mode 100644 index 80229e7311d7..000000000000 --- a/media-video/guvcview/guvcview-2.0.5.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils flag-o-matic qmake-utils toolchain-funcs - -MY_P=${PN}-src-${PV} - -DESCRIPTION="GTK+ UVC Viewer" -HOMEPAGE="http://guvcview.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gsl libav pulseaudio qt5" - -RDEPEND=">=dev-libs/glib-2.10 - media-libs/libpng:0= - media-libs/libsdl2 - media-libs/libv4l - >=media-libs/portaudio-19_pre - !libav? ( >=media-video/ffmpeg-2.8:0= ) - libav? ( media-video/libav:= ) - virtual/ffmpeg - virtual/libusb:1 - virtual/udev - pulseaudio? ( >=media-sound/pulseaudio-0.9.15 ) - gsl? ( >=sci-libs/gsl-1.15 ) - qt5? ( dev-qt/qtwidgets:5 ) - !qt5? ( >=x11-libs/gtk+-3.6:3 ) - !<sys-kernel/linux-headers-3.4-r2" #448260 -DEPEND="${RDEPEND} - dev-util/intltool - sys-devel/gettext - virtual/os-headers - sys-devel/autoconf-archive - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - sed -i '/^docdir/,/^$/d' Makefile.am || die - has_version '>=media-video/ffmpeg-4' && epatch "${FILESDIR}/ffmpeg4.patch" - eautoreconf -} - -src_configure() { - export MOC="$(qt5_get_bindir)/moc" - use qt5 && append-cxxflags -std=c++11 - # 599030 - tc-export CC CXX - econf \ - --disable-debian-menu \ - $(use_enable gsl) \ - $(use_enable pulseaudio pulse) \ - $(use_enable qt5) \ - $(use_enable !qt5 gtk3) -} diff --git a/media-video/guvcview/guvcview-2.0.6.ebuild b/media-video/guvcview/guvcview-2.0.6.ebuild index 8f62edffa655..92634f1db14d 100644 --- a/media-video/guvcview/guvcview-2.0.6.ebuild +++ b/media-video/guvcview/guvcview-2.0.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="gsl libav pulseaudio qt5" RDEPEND=" diff --git a/media-video/kaffeine/Manifest b/media-video/kaffeine/Manifest index d093fa122ecb..cf707e9a9b6f 100644 --- a/media-video/kaffeine/Manifest +++ b/media-video/kaffeine/Manifest @@ -1,4 +1,6 @@ AUX kaffeine-2.0.15-qt-5.11.patch 40573 BLAKE2B 2e782013fcdc06e3ba19170da714e7565c27f467ec9f2ba7d4c3a352d4b1f0ed8dfe9e562ca4bae6a0f8ed424783f6d2f52f40aaacbf40a7574ad460fc10a963 SHA512 3cdeea289406493b668bf6ff1f48f9fde1efa39fdc92b0eda90942fa79620b2c9b65321c03d63d7e593b1ceaf17b5f03f04d7da572ead71f602c04c8da97c13b DIST kaffeine-2.0.15.tar.xz 5988584 BLAKE2B a9361b321a0af13013596c2d06e53053a889a0697fcf5c644195d6bd7e43fb3c108d2c03cf3250c6cb8b14383e10735e883e5ebb17be1b5f9fe5ca81f012dd28 SHA512 d2b21df76710eb79395a0d4e762ecdde4610945de3d1105002a44a56725aea3f10003f4ebefe4cd67f58f561e79aa3f5561639ad5c3afba488146dcb9360f53d +DIST kaffeine-2.0.16-2.tar.xz 5995824 BLAKE2B a472be60d10be077fd7ab3828e6958b0c3a2a8fef66318d33c0972e08cf3f5f19ce9d99cf42c21fed0aba67e296b639624e78d0e5567a9dc291a342c0ccf9249 SHA512 1b39bf59127c777b34f3076a237c53973af827191d2a279d40e7f14891dcd3d7bba1444b0b456d0e614807bf6bff494568aed958632dfba54515de8de5b06f21 EBUILD kaffeine-2.0.15.ebuild 1385 BLAKE2B 1b1824ace75e0878cab888e50b3bec8fec65e21f4666aa07914435f9299429189871780237806ece7f6a6a27caa259e68d37d3808a3e7dc66698ef5f8e9ab400 SHA512 c20977403fa0b1d57b4231283b301ccc692aab5b6214e2bc47185254d3438887932fe7499da289f712ba5cda29edcfbbeb9c25adc0b8485374d2c011da83173b +EBUILD kaffeine-2.0.16.2.ebuild 1350 BLAKE2B 0d8dde77910ffd834deca011942436fedcb3e27a2da6e9110dbf7a87aff91f42a24637f47e9a46da4933c3fe0f365a62d707d582e21f50e30834869bd847c14b SHA512 5a07bf3eeb41e93f561e7c375581697aa637cebe7173045b3795813db61eed4543d075592309a0ec79996b0e432e783547baa5224b1574c080dfc7fce1dde4e4 MISC metadata.xml 369 BLAKE2B 2ba0f7bed05089f04c57eaeae806308ef4fe560461e5f44b32e05ffcb2cd2ee064d81a07589e1d9ad067acb56f9dd43d0acda9a87cdaf42187aae8cb67306a54 SHA512 f58a7acad05449a5cfc6ee4bc9d52677b06b9d994bb109a279d04e71ff7368cd697b286767b463e4f5d42a1194b268789fb373b17a19e581927c25d64d46a083 diff --git a/media-video/kaffeine/kaffeine-2.0.16.2.ebuild b/media-video/kaffeine/kaffeine-2.0.16.2.ebuild new file mode 100644 index 000000000000..c5b786cd7f75 --- /dev/null +++ b/media-video/kaffeine/kaffeine-2.0.16.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="optional" +inherit kde5 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" + SRC_URI="mirror://kde/stable/${PN}/${PN}-$(ver_rs 3 -).tar.xz" +fi + +DESCRIPTION="Media player with digital TV support by KDE" +HOMEPAGE="https://userbase.kde.org/Kaffeine" +LICENSE="GPL-2+ handbook? ( FDL-1.3 )" +IUSE="dvb" + +RDEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtsql 'sqlite') + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-video/vlc[X] + x11-libs/libXScrnSaver + dvb? ( media-libs/libv4l ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig +" + +DOCS=( Changelog NOTES README.md ) + +S="${WORKDIR}/${PN}-$(ver_rs 3 -)" + +src_configure() { + # tools working on $HOME directory for a local git checkout + local mycmakeargs=( + -DBUILD_TOOLS=OFF + $(cmake-utils_use_find_package dvb Libdvbv5) + ) + + kde5_src_configure +} diff --git a/media-video/peek/Manifest b/media-video/peek/Manifest index 552e249fc57a..17c34bd72649 100644 --- a/media-video/peek/Manifest +++ b/media-video/peek/Manifest @@ -1,3 +1,3 @@ DIST peek-1.3.1.tar.gz 2654939 BLAKE2B f5d2b6c9ca1194891ff6a61c73bcfc63a6e0bbf8a282c4309bbedbd40e29e42ad78d9c37c8a3621ceb6cb2ad85bbf2364702f1db028f6282dd4f93e15d22b34c SHA512 cdf4190c555b0a40051862038c04dc7c164bf8bccf47202d0fcb74f527a8a7d5605bc2e112847e262e51a5a95c3d2b3497e4ec56834880564e8e4127869ad9df -EBUILD peek-1.3.1-r1.ebuild 1036 BLAKE2B 5e6273df5b3c0b46c50af017e34652a88fb8fad348e1fdc9a537e03bc43c607f939db8dc77add8777b3d64823ce06a443c9b2d03363cc5b0b902ba855e9365c8 SHA512 27077d559fd7911f3e15084c4c2e8fa77dc77ae9b035ec2cf37c2eb2c8db62825a47432f87f1f4a81eaebf9172e2e5445979a2dbb1e9970af5207a1689135943 +EBUILD peek-1.3.1-r2.ebuild 1040 BLAKE2B d83b8352923dbb129a49077c056ac1070162ae5fb71e32ef72df6cd691871e29ff1b93c353fc9ea0e062fc17399671c1e3354128e2953132ebb2fb3205b3883b SHA512 99856cfd07363a599c7e4dcefd0e66653d9749ae5aeb70a21e08fa43a74d81a60e7f7326aacd5151a8b629a6c0efe785ba5206b6a94c6c1b1bfb3c7629cca9ca MISC metadata.xml 442 BLAKE2B 0737081df17bd9a248ff54ed5f788f5488c5506cb23de18dd57ade4e87f328a96fc249371cf2e78b8399528b3a3759440ceade1f16d0d1bd11a62263e12b4854 SHA512 c94b68c460e7d302d1761ba0d7adb23530c862e1a64b48f0688b68678a353cc7ae54433e6517c564e457c5ee5dac3ca6325ef967d11c66ae998da2348854296a diff --git a/media-video/peek/peek-1.3.1-r1.ebuild b/media-video/peek/peek-1.3.1-r2.ebuild index d6a13683e4e1..93add0710fae 100644 --- a/media-video/peek/peek-1.3.1-r1.ebuild +++ b/media-video/peek/peek-1.3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86" IUSE="keybinder test" RDEPEND=">=dev-libs/glib-2.38:2 - media-video/ffmpeg[X,encode,vpx] + media-video/ffmpeg[X,encode,vpx,xcb] virtual/imagemagick-tools >=x11-libs/gtk+-3.14:3 keybinder? ( dev-libs/keybinder:3 )" diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest index 11094fe3acf4..d62e4ccc7eec 100644 --- a/media-video/totem/Manifest +++ b/media-video/totem/Manifest @@ -1,3 +1,8 @@ +AUX 3.26-gst-inspect-sandbox.patch 1789 BLAKE2B b3bca8f3b5ae8baa2b1767fa09b0d389ea49a105534e99cd0614ddb383a492bb0b3a1a142f3a9c2c840f04242a3b5c4d0f12baaf9ad5a48f74d94f9e0dcc1429 SHA512 821fbf78ad33157e7508364849bc1690657713301b06d62ffde126c7c06a1a019f690cdb66b3728b18c03a60fe201be513d6392a5cfd9181fff783f7b93e1a9b +AUX 3.30.0-control-plugins.patch 7048 BLAKE2B 6c40cfaa9b831ffd054ddf09482036d6b7c66693814fc798ec9e0f41a95163e3cad6474c346e55349172f6189d257c7630e6b51bf4c58c42212cc6f888ba6754 SHA512 410d78444b2f27b61e5a242ba9c4d93ab9eff02f7923129c286b2c482a36c8b799c53655a4e7bcf6ec89252537c7a62269296917378efcc015aa60bf7930705b +AUX 3.30.0-vala-errormsg.patch 820 BLAKE2B 6b896371078f59b5e46efb28ccca56ef710cbba583ec4c9bc7c7b05b18866e6b30f6ba140461dbaab4b9a56fd50e37a940a61c4d62b7b5132f97b1969e7a723f SHA512 f19bc0bc9e592f0e32cfb776d631acc9aef54d107ae22acf9ce29036dec0abf9b153c5a1a2e3c99e3f0d27d9ee504e4bf9dd91567318be1966f4f3fc157c16ce DIST totem-3.24.0.tar.xz 1987260 BLAKE2B 81cb8c359b2225148a18f7a5c6ae9990cbe2e2f3b9a6a31012c9c8c0920c0cea6bad0a5d9407a79530fadf00fb845fe9e6aa8dbc84d0f8d6e84fbc144d86bc9e SHA512 488db91e09b7f5947e81cb5474444c753367542820777faab561582707b012e664f232d3810d543dfbe0823adf3d8302c2fe6cc387f4225a362d15a6df8b4342 +DIST totem-3.30.0.tar.xz 3275852 BLAKE2B 9a5f97229a8aa6f7665c6d3e79dff48cfcce3caeab69510361ef3e9e1a107f7a56c66a5ae89ba3ae0a77d4b0ae8a16ac1f61e77278c82bf768e50009420110d0 SHA512 9d2e0a9e89358eea03404afd9353d18fa23afee7a34612912411ef10d4fb0b26ee02db002e6f8e05f68a333202d419f1e1a35188da23f87189e3093dac655742 EBUILD totem-3.24.0.ebuild 3734 BLAKE2B fcdcb4a5a76024e99dd92778489da1989d8f038f03316e7f81d6b09b2ac972f02c8cf19fe62019e3ee5fff0b21ceab03e084edc6cbceb2ad3ec71bc4eea9f3b0 SHA512 a56d237d36b7ba1ed73a9ed861a7e87bea5d91667dc931e4efca60939318567114724a3d69a99b71b4cac80af2fde910b7c7c70ead72479f744515c325015b20 -MISC metadata.xml 1101 BLAKE2B 610eeeef89a5e7d258da67491891c1fe71b9c86174cb50136591d852c824825ea6c4ddc7725d90101adb0b24a8b9619b40fe2121a420a0e23e2dabb98c18bd80 SHA512 5daad91ed7d0effe52586d90af1f7b6bf78ef5987a7f77f9d2e5aa2eebebdade5bb8556586f2082029e1a43c68e60871e79b38f65ad22b6679d30f7a241fac74 +EBUILD totem-3.30.0.ebuild 3720 BLAKE2B 717926ffa30385928fed4a333507b927cf6fc83162008f544a6210dd86be730637b18f261117c856c81f2e984c8aa2818f5ed99d9581756012c6ace69e2ed981 SHA512 6eb4bb39f494ce6f85fd9db876bd07e3f9c794663da576e8a956c4cc68f4144071e9a1559f7df1fd3944cf23e7044c15b96cfef05e2264e911fe52a25fa36282 +MISC metadata.xml 1323 BLAKE2B 50a31cc1ea80714ce43b7434888c275acfea44b2231c500b20422ead6f248b3ccb0765909df4dd2c74c05aee333e294c599982037f91364efe77b1dad639c63e SHA512 95686fb2c0a601026587bc759548bc7b3798f7ed1347d34d2deb42a35ed5f424da7412ccb4b6d6fb50ca078855c32f1eb0485ffa4eec919baad7e19b899058be diff --git a/media-video/totem/files/3.26-gst-inspect-sandbox.patch b/media-video/totem/files/3.26-gst-inspect-sandbox.patch new file mode 100644 index 000000000000..016368a69b97 --- /dev/null +++ b/media-video/totem/files/3.26-gst-inspect-sandbox.patch @@ -0,0 +1,42 @@ +From 742b64b7a74eabd67344ef1cc260427dc402588f Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Thu, 7 Jun 2018 23:47:48 +0200 +Subject: [PATCH 5/5] Make gst-inspect calls optional at build-time + +Crashes on Gentoo due to plugins trying to access dri nodes which are sandboxed +--- + meson_options.txt | 1 + + src/backend/meson.build | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/meson_options.txt b/meson_options.txt +index 6e056952..631b8cca 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -32,3 +32,4 @@ option('enable-nautilus', type: 'combo', choices: ['yes', 'no', 'auto'], value: + option('with-nautilusdir', type: 'string', value: '', description: 'Installation path for Nautilus extension') + option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') + option('enable-introspection', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'Enable GObject Introspection (depends on GObject)') ++option('gst-inspect', type: 'boolean', value: true, description: 'build-time test of available gstreamer plugins') +diff --git a/src/backend/meson.build b/src/backend/meson.build +index 28c8e123..55037a6a 100644 +--- a/src/backend/meson.build ++++ b/src/backend/meson.build +@@ -1,5 +1,6 @@ + backend_inc = include_directories('.') + ++if get_option('gst-inspect') + gst_inspect = find_program( + 'gst-inspect-1.0', + join_paths(gst_dep.get_pkgconfig_variable('toolsdir'), 'gst-inspect-1.0'), +@@ -31,6 +32,7 @@ foreach plugin: gst_good_plugins + assert(r.returncode() == 0, + 'Cannot find required GStreamer-1.0 plugin "' + plugin + '". It should be part of gst-plugins-good. Please install it.') + endforeach ++endif + + sources = files( + 'bacon-time-label.c', +-- +2.17.0 + diff --git a/media-video/totem/files/3.30.0-control-plugins.patch b/media-video/totem/files/3.30.0-control-plugins.patch new file mode 100644 index 000000000000..4d57ad0971c0 --- /dev/null +++ b/media-video/totem/files/3.30.0-control-plugins.patch @@ -0,0 +1,199 @@ +From 5bdfac8a4a34e3edec05439fa3cd5544e0515e24 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org> +Date: Sun, 10 Jun 2018 10:09:16 +0200 +Subject: [PATCH] Allow full control over which plugins are built + +--- + meson.build | 2 +- + meson_options.txt | 28 ++++++++++++++++++++- + src/plugins/meson.build | 56 ++++++++++++++++++++++++++++++----------- + 3 files changed, 69 insertions(+), 17 deletions(-) + +diff --git a/meson.build b/meson.build +index 9c4797dd..aa91ae10 100644 +--- a/meson.build ++++ b/meson.build +@@ -3,7 +3,7 @@ project( + version: '3.30.0', + license: 'GPL2+ with exception', + default_options: 'buildtype=debugoptimized', +- meson_version: '>= 0.43.0' ++ meson_version: '>= 0.44.0' + ) + + totem_version = meson.project_version() +diff --git a/meson_options.txt b/meson_options.txt +index 3b6ff67b..6e056952 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,7 +1,33 @@ + option('enable-easy-codec-installation', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'Whether to enable easy codec installation support for GStreamer') + option('enable-python', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'Enable python support') + option('enable-vala', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'whether Vala plugin support is requested') +-option('with-plugins', type: 'combo', choices: ['all', 'none', 'auto'], value: 'auto', description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)') ++option('with-plugins', type: 'array', choices: [ ++ 'all', ++ 'auto', ++ 'apple-trailers', ++ 'autoload-subtitles', ++ 'brasero-disc-recorder', ++ 'dbusservice', ++ 'gromit', ++ 'im-status', ++ 'lirc', ++ 'media-player-keys', ++ 'ontop', ++ 'opensubtitles', ++ 'properties', ++ 'pythonconsole', ++ 'recent', ++ 'rotation', ++ 'sample-vala', ++ 'samplepython', ++ 'save-file', ++ 'screensaver', ++ 'screenshot', ++ 'skipto', ++ 'variable-rate', ++ 'vimeo', ++ 'zeitgeist-dp' ++], value: ['auto'], description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)') + option('enable-nautilus', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'compile the nautilus plugin') + option('with-nautilusdir', type: 'string', value: '', description: 'Installation path for Nautilus extension') + option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') +diff --git a/src/plugins/meson.build b/src/plugins/meson.build +index 95af6485..289ba811 100644 +--- a/src/plugins/meson.build ++++ b/src/plugins/meson.build +@@ -41,8 +41,8 @@ allowed_plugins = [ + plugins = [] + + plugins_option = get_option('with-plugins') +-if plugins_option != 'none' +- plugins += [ ++if plugins_option.length() > 0 ++ foreach plugin: [ + 'apple-trailers', + 'autoload-subtitles', + 'im-status', +@@ -56,26 +56,38 @@ if plugins_option != 'none' + 'variable-rate', + 'vimeo' + ] ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) ++ plugins += plugin ++ endif ++ endforeach + +- plugin_error = (plugins_option == 'all') ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('gromit') ++ gdk_targets = gtk_dep.get_pkgconfig_variable('targets') ++ else ++ gdk_targets = [] ++ endif + +- gdk_targets = gtk_dep.get_pkgconfig_variable('targets') + if gdk_targets.contains('x11') + plugins += 'gromit' + else + str = 'the gromit plugin is not supported on non-X11 targets' +- if plugin_error ++ if plugins_option.contains('all') or plugins_option.contains('gromit') + error(str) + endif + message(str) + endif + +- lirc_dep = dependency('lirc', required: false) ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('lirc') ++ lirc_dep = dependency('lirc', required: false) ++ else ++ lirc_dep = disabler() ++ endif ++ + if lirc_dep.found() and cc.has_function('lirc_init', dependencies: lirc_dep) and cc.has_header('lirc/lirc_client.h') + plugins += 'lirc' + else + str = 'you need lirc_client installed for the lirc plugin' +- if plugin_error ++ if plugins_option.contains('all') or plugins_option.contains('lirc') + error(str) + endif + message(str) +@@ -84,33 +96,38 @@ if plugins_option != 'none' + libxml_req_version = '>= 2.6.0' + libxml_dep = dependency('libxml-2.0', version: libxml_req_version, required: false) + gtk_x11_dep = dependency('gtk+-x11-3.0', version: gtk_req_version, required: false) +- if libxml_dep.found() and gtk_x11_dep.found() ++ ++ if libxml_dep.found() and gtk_x11_dep.found() and (plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('brasero-disc-recorder')) + plugins += 'brasero-disc-recorder' + else + str = 'you need libxml-2.0 ' + libxml_req_version + ' and gtk+-x11-3.0 to use the brasero-disc-recorder plugin' +- if plugin_error ++ if plugins_option.contains('all') or plugins_option.contains('brasero-disc-recorder') + error(str) + endif + message(str) + endif + +- if have_nautilus ++ if have_nautilus and (plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('save-file')) + plugins += 'save-file' + else + str = 'you need libnautilus-extension to use the save-file plugin' +- if plugin_error ++ if plugins_option.contains('all') or plugins_option.contains('save-file') + error(str) + endif + message(str) + endif + + if have_python +- plugins += [ ++ foreach plugin: [ + 'dbusservice', + 'opensubtitles', + 'pythonconsole', + 'samplepython' + ] ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) ++ plugins += plugin ++ endif ++ endforeach + endif + + if have_vala +@@ -129,17 +146,26 @@ if plugins_option != 'none' + '--pkg=@0@-@1@'.format(totem_gir_ns, totem_api_version) + ] + +- plugins += [ ++ foreach plugin: [ + 'rotation', + 'sample-vala' + ] ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) ++ plugins += plugin ++ endif ++ endforeach ++ ++ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('zeitgeist-dp') ++ zeitgeist_dep = dependency('zeitgeist-2.0', version: '>= 0.9.12', required: false) ++ else ++ zeitgeist_dep = disabler() ++ endif + +- zeitgeist_dep = dependency('zeitgeist-2.0', version: '>= 0.9.12', required: false) + if zeitgeist_dep.found() + plugins += 'zeitgeist-dp' + else + str = 'you need zeitgeist-2.0 >= 0.9.12 to use the zeitgeist-dp plugin' +- if plugin_error ++ if plugins_option.contains('all') or plugins_option.contains('zeitgeist-dp') + error(str) + endif + message(str) +-- +2.17.1 + diff --git a/media-video/totem/files/3.30.0-vala-errormsg.patch b/media-video/totem/files/3.30.0-vala-errormsg.patch new file mode 100644 index 000000000000..37816784ded8 --- /dev/null +++ b/media-video/totem/files/3.30.0-vala-errormsg.patch @@ -0,0 +1,31 @@ +From 4fba51c82d855426ad73f8215d0ed7bfdfa4fae2 Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <leio@gentoo.org> +Date: Sat, 15 Dec 2018 20:50:34 +0200 +Subject: [PATCH] build: Fix error message with -Denable-vala without vala + found + +Fixes +ERROR: Unknown variable "vala_options" +to +ERROR: Problem encountered: you need vala >= 0.14.1 installed to use vala plugins +by correcting a typo. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index c0679d25..5647376f 100644 +--- a/meson.build ++++ b/meson.build +@@ -230,7 +230,7 @@ if vala_option != 'no' + endif + + if not have_vala +- if vala_options == 'yes' or introspection_option == 'yes' ++ if vala_option == 'yes' or introspection_option == 'yes' + error(str) + endif + message(str) +-- +2.17.0 + diff --git a/media-video/totem/metadata.xml b/media-video/totem/metadata.xml index 8a1eb150fb9b..1daea3f76b23 100644 --- a/media-video/totem/metadata.xml +++ b/media-video/totem/metadata.xml @@ -20,6 +20,7 @@ Totem is movie player for the GNOME desktop. It features a playlist, fullscreen <flag name="lirc">Enable support for controlling Totem with a remote control using <pkg>app-misc/lirc</pkg></flag> <flag name="nautilus">Enable the nautilus extension</flag> - <flag name="python">Build support for <pkg>dev-lang/python</pkg> plugins</flag> + <flag name="python">Build <pkg>dev-lang/python</pkg> using plugins (dbusservice for notifications and MPRIS control, interactive python console and opensubtitles lookup)</flag> + <flag name="vala">Build the rotation plugin, which allows videos to be rotated if they are in the wrong orientation</flag> </use> </pkgmetadata> diff --git a/media-video/totem/totem-3.30.0.ebuild b/media-video/totem/totem-3.30.0.ebuild new file mode 100644 index 000000000000..9952813ff43b --- /dev/null +++ b/media-video/totem/totem-3.30.0.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +PYTHON_REQ_USE="threads" + +inherit gnome.org gnome2-utils meson vala xdg python-single-r1 + +DESCRIPTION="Media player for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Videos" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +IUSE="cdr gtk-doc +introspection lirc nautilus +python test vala" +# see bug #359379 +REQUIRED_USE=" + python? ( introspection ${PYTHON_REQUIRED_USE} ) + vala? ( introspection ) +" + +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" + +# FIXME: +# Runtime dependency on gnome-session-2.91 +COMMON_DEPEND=" + >=dev-libs/glib-2.43.4:2 + >=x11-libs/gtk+-3.19.4:3[X,introspection?] + >=media-libs/gstreamer-1.6.0:1.0 + >=media-libs/gst-plugins-base-1.6.0:1.0[X,pango] + >=media-libs/gst-plugins-good-1.6.0:1.0 + >=media-libs/grilo-0.3.0:0.3[playlist] + >=dev-libs/libpeas-1.1.0[gtk] + >=dev-libs/totem-pl-parser-3.10.1:0=[introspection?] + >=media-libs/clutter-1.17.3:1.0[gtk] + >=media-libs/clutter-gst-2.99.2:3.0 + >=media-libs/clutter-gtk-1.8.1:1.0 + gnome-base/gnome-desktop:3= + gnome-base/gsettings-desktop-schemas + x11-libs/libX11 + >=x11-libs/cairo-1.14 + x11-libs/gdk-pixbuf:2 + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + + cdr? ( >=dev-libs/libxml2-2.6:2 ) + lirc? ( app-misc/lirc ) + nautilus? ( >=gnome-base/nautilus-2.91.3 ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] ) +" +RDEPEND="${COMMON_DEPEND} + media-plugins/grilo-plugins:0.3 + media-plugins/gst-plugins-meta:1.0 + media-plugins/gst-plugins-taglib:1.0 + x11-themes/adwaita-icon-theme + python? ( + >=dev-libs/libpeas-1.1.0[python,${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND} + dev-lang/perl + app-text/docbook-xml-dtd:4.5 + gtk-doc? ( >=dev-util/gtk-doc-1.14 ) + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + x11-base/xorg-proto + vala? ( $(vala_depend) ) +" +# perl for pod2man +# docbook-xml-dtd is needed for user doc +# Prevent dev-python/pylint dep, bug #482538 + +PATCHES=( + "${FILESDIR}"/${PV}-vala-errormsg.patch + "${FILESDIR}"/${PV}-control-plugins.patch # Do not force all plugins + "${FILESDIR}"/3.26-gst-inspect-sandbox.patch # Allow disabling calls to gst-inspect (sandbox issue) +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +src_configure() { + # Disabled: sample-python, sample-vala, zeitgeist-dp + # brasero-disc-recorder and gromit require gtk+[X], but totem itself does + # for now still too, so no point in optionality based on that yet. + local plugins="apple-trailers,autoload-subtitles" + plugins+=",im-status,gromit,media-player-keys,ontop" + plugins+=",properties,recent,screensaver,screenshot" + plugins+=",skipto,variable-rate,vimeo" + use cdr && plugins+=",brasero-disc-recorder" + use lirc && plugins+=",lirc" + use nautilus && plugins+=",save-file" + use python && plugins+=",dbusservice,pythonconsole,opensubtitles" + use vala && plugins+=",rotation" + + local emesonargs=( + -Denable-easy-codec-installation=yes + -Denable-python=$(usex python yes no) + -Denable-vala=$(usex vala yes no) + -Dwith-plugins=${plugins} + -Denable-nautilus=$(usex nautilus yes no) + $(meson_use gtk-doc enable-gtk-doc) + -Denable-introspection=$(usex introspection yes no) + -Dgst-inspect=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + if use python ; then + python_optimize "${ED}"usr/$(get_libdir)/totem/plugins/ + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index bd4eac2a0166..5d2294e8d872 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -4,7 +4,9 @@ AUX vlc-2.2.8-freerdp-2.patch 4478 BLAKE2B 24b34ae2015de5197a275e393a761535d3386 AUX vlc-2.2.8-libupnp-slot-1.8.patch 725 BLAKE2B eb217ef57f0709fa1d0bdf1644610588f373e17d18c2642ee6489ca00311772307d8fc67a07ecc8d29810b80aa8f14c40298285c3319d8ddede2552d28d2837e SHA512 890b91405cbf6105c932566fd7799fdccd1b27f1e0df0c6dae1511aeead2c28eb5fea7642b01af1abbcf546aae0559408c0ddf2ec82c92809f3b02d1d477bb51 AUX vlc-9999-libupnp-slot-1.8.patch 763 BLAKE2B 6bc8cf46f029db27d6d30d96e871d3bcfddee004e4e8469e1526a6a38fb5cc11a24a19888443e5f9062d7145665d594e142c12f3a9693967f195bab3b33ada38 SHA512 dd3375997a1935d3a227231785f35e300e3f992034da6a9c3019e28c68c1f005cbdd67190672264b342abc719e69005f965599f7af975e2bbd4cfccd89e3770d DIST vlc-3.0.4.tar.xz 24934112 BLAKE2B b8e680e178f5d34b187d5ee613a75e247b9ef500b18843a6c987479d1afc2e723111a7d3f2ac2ec8c2f34cbd36e2e7a9c0e0add6e594418fc429ec8878f0b1b0 SHA512 55c5a45a1573d559f8d62272dc446bebfb328bd48f938e634693a45032e1a3095148e634de5bc53a3a3c0e4858f7df3ed7e5dc91f3f5447e47d0ab5775171271 +DIST vlc-3.0.6.tar.xz 25699704 BLAKE2B 91c43fa3ceb6f55a3808c64a661ca453f0872f01eecc801921eb1b9f9cc462478b1fcd6f7cc36f33b7e1085320710b27a42a3b7b49dd74338fe63a3a46f36b0f SHA512 7c72e98f30ce5c5a94d74e097fa9960442f89240079b042a729f8a33dd7fedee2538c86c99738ccef2eb27f29055f0221d4c70316e3312c5ebba9565eaa15c52 EBUILD vlc-3.0.4.ebuild 13148 BLAKE2B 5b7ca68d78ffa3807705b3468d3b410b28808123b2dc56604fde529d0d18aba0876064022105f0a0cd24b5bee4d466b169c648c24544c20b61f0031a5ecc3062 SHA512 c546a5398ad1ae41157763b39bc36946c05e8944c39c3df02c550043e205f9aa405a64fad19f55b936a0caca2a0e163f3e629406fe6b0ba92cd907854806cc5d -EBUILD vlc-3.0.9999.ebuild 13264 BLAKE2B 3a45f9e018b98f09cf8b6c33cb8345f8dfb49abd31ffb0c39dde8a5adc7c3842177594d6ff4cb99f4c95e690daf1161ccb8c76459259f140da26db390489d8fd SHA512 0ef5e06d575cfe92aa336bb17bcbdac2c09a692310fa496db8768f3ce4ecc8f32ba20d0bad67da6c3e2278dfda9b828cb440b08c9b583f1cebc342cef8829aaf -EBUILD vlc-9999.ebuild 13247 BLAKE2B c7290d19ffe01ba299b8c3a9d320f414300fb60bb4536f05e6b4c6aa84fafdbbd787b20378b92386e3d40dab32f0ffbe406aa787d34abdb09f5f383abba67406 SHA512 56e2413f3d4bb15c01e8def45977630bb4280503c99bc47fc4304111d50ec2b63a21c401f559139c8909be182c39df333d216b4b989bfdda55337ac425e3dd1a -MISC metadata.xml 4878 BLAKE2B 9bceb02311f2a36536e92ed03e0bb8b7cc34139246ac40fc8450e1e7a245af4353cf3e8b526e5742a1bd85f3c21f2297bbf767ac38f129745a34d7a5114e2ff0 SHA512 8bcc809e4ea0956819a4802f3b3292dac8f9fed49935c33d6b3f80120998bd16681f2ad0218557f9e7e2989421028fba327caa34a81b5ffc22a321a834182cb1 +EBUILD vlc-3.0.6.ebuild 13449 BLAKE2B 5cb15a244371750ad391322cdd20dc0bda48657c191341bf0a977763c4f72e89ef00566f125b33344880c1139b607bbf9ce66a2ece786ed2af0f6df0730a4d43 SHA512 4b4b4990f6473cd8d1f0337c833316b240c0e3c68ca954109bfdc33361039a8b3306d6767bc9d5ac33a72faa891b80b776e09f3ff5743633a8aabbc428926996 +EBUILD vlc-3.0.9999.ebuild 13442 BLAKE2B d3c9a30af6e4ed8bab1e7ce601c3c6660405196192a7feb18a8d3e254ebb41b1aab3a7d3e092d6d83ec6e006d8ece235c7ac19c9bb866c713d9329cbe99e2f4b SHA512 a407ea8b98ce3ac828c266c3c8712370609e018df9e46622a23fa90fa1032beb73bc51450f087a35dc269f9765a4111241f1678315d62d44647318b714b135de +EBUILD vlc-9999.ebuild 13425 BLAKE2B 50b812df40511e99bc3c571b267dada553451054f115425b03f2c1d28148d2fd3c3c855c1f6742103a6cd96c2a5767be0c1a78ff9c42004aabd4b10549bf87cd SHA512 ccae9000dc217220a654e88eedb0e78de8bc86aec8e602b97a0b7bf50a09a08cc94f8227a318fc287584fc7b9b2b5354c5a1ba6c3e204f8aebbaa7e5bc760175 +MISC metadata.xml 5061 BLAKE2B 88d5027fa2a50db6a100bcb7cb6755ba56e056fc9cbb7d031e8c65d506082914421aa7b88809f07b34969388216f6fa402d045b48cb2919e6d61696eef76a1c7 SHA512 0ad4e4ba9d609ee349adf68d959629a7979757652fb841ce12e23a712d2f08a555211c5a5ac1f2f9b12acca307de19fbc04b9bccef402018a371892ffd9b7967 diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml index 1e1da8166718..8a7aef8ab363 100644 --- a/media-video/vlc/metadata.xml +++ b/media-video/vlc/metadata.xml @@ -6,12 +6,14 @@ <name>Gentoo Video project</name> </maintainer> <use> + <flag name="10bit">Enable H264 10-bit encoding support with <pkg>media-libs/x264</pkg></flag> <flag name="aom">Enable experimental support for AV1 codec</flag> <flag name="archive">Enable support for libarchive stream extractor</flag> <flag name="aribsub">Enable support for decoding ARIB STD-B24 subtitles</flag> <flag name="bluray">Enable libbluray for Blu-ray disc support</flag> <flag name="chromaprint">Enable libchromaprint for Chromaprint based audio fingerprinter support</flag> <flag name="chromecast">Enable experimental support for Google Chromecast</flag> + <flag name="dav1d">Enable support for <pkg>media-libs/dav1d</pkg> AV1 decoder</flag> <flag name="dc1394">Enable IIDC cameras support</flag> <flag name="directx">Enable Win32 DirectX, D3D11va and DxVA2 support</flag> <flag name="dvbpsi">Enable support for Mpeg-TS files (.ts, .m2ts, .mts) via <pkg>media-libs/libdvbpsi</pkg></flag> diff --git a/media-video/vlc/vlc-3.0.6.ebuild b/media-video/vlc/vlc-3.0.6.ebuild new file mode 100644 index 000000000000..77c3ccca2221 --- /dev/null +++ b/media-video/vlc/vlc-3.0.6.ebuild @@ -0,0 +1,502 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PV="${PV/_/-}" +MY_PV="${MY_PV/-beta/-test}" +MY_P="${PN}-${MY_PV}" +if [[ ${PV} = *9999 ]] ; then + if [[ ${PV%.9999} != ${PV} ]] ; then + EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git" + else + EGIT_REPO_URI="https://git.videolan.org/git/vlc.git" + fi + SCM="git-r3" +else + if [[ ${MY_P} = ${P} ]] ; then + SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" + else + SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" + fi + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" +fi +inherit autotools flag-o-matic gnome2-utils toolchain-funcs virtualx xdg-utils ${SCM} + +DESCRIPTION="Media player and framework with support for most multimedia files and streaming" +HOMEPAGE="https://www.videolan.org/vlc/" + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5-9" # vlc - vlccore + +IUSE="10bit a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast + dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac + fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate + libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua + macosx-notifications macosx-qtkit mad matroska modplug mp3 mpeg mtp musepack ncurses + neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 + rdp run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl + svg taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx + wayland wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse +" +REQUIRED_USE=" + chromecast? ( encode ) + directx? ( ffmpeg ) + fontconfig? ( truetype ) + libcaca? ( X ) + libtar? ( skins ) + libtiger? ( kate ) + postproc? ( ffmpeg ) + skins? ( qt5 truetype X xml ) + ssl? ( gcrypt ) + vaapi? ( ffmpeg X ) + vdpau? ( ffmpeg X ) +" +RDEPEND=" + net-dns/libidn:= + sys-libs/zlib:0[minizip] + virtual/libintl:0 + virtual/opengl + a52? ( media-libs/a52dec:0 ) + alsa? ( media-libs/alsa-lib:0 ) + aom? ( media-libs/libaom:= ) + archive? ( app-arch/libarchive:= ) + aribsub? ( media-libs/aribb24 ) + bidi? ( + dev-libs/fribidi:0 + media-libs/freetype:2[harfbuzz] + media-libs/harfbuzz + virtual/ttf-fonts:0 + ) + bluray? ( media-libs/libbluray:0= ) + cddb? ( media-libs/libcddb:0 ) + chromaprint? ( media-libs/chromaprint:0= ) + chromecast? ( + >=dev-libs/protobuf-2.5.0:= + >=net-libs/libmicrodns-0.0.9:= + ) + dav1d? ( media-libs/dav1d ) + dbus? ( sys-apps/dbus:0 ) + dc1394? ( + media-libs/libdc1394:2 + sys-libs/libraw1394:0 + ) + dts? ( media-libs/libdca:0 ) + dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:0= ) + dvd? ( + >=media-libs/libdvdnav-4.9:0 + >=media-libs/libdvdread-4.9:0 + ) + faad? ( media-libs/faad2:0 ) + fdk? ( <media-libs/fdk-aac-2.0.0:0= ) + ffmpeg? ( + !libav? ( >=media-video/ffmpeg-3.1.3:0=[vaapi?,vdpau?] ) + libav? ( >=media-video/libav-12.2:0=[vaapi?,vdpau?] ) + ) + flac? ( + media-libs/flac:0 + media-libs/libogg:0 + ) + fluidsynth? ( media-sound/fluidsynth:0 ) + fontconfig? ( media-libs/fontconfig:1.0 ) + gcrypt? ( + dev-libs/libgcrypt:0= + dev-libs/libgpg-error:0 + ) + gme? ( media-libs/game-music-emu:0 ) + gnome-keyring? ( app-crypt/libsecret ) + gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) + ieee1394? ( + sys-libs/libavc1394:0 + sys-libs/libraw1394:0 + ) + jack? ( virtual/jack ) + jpeg? ( virtual/jpeg:0 ) + kate? ( media-libs/libkate:0 ) + libass? ( + media-libs/fontconfig:1.0 + media-libs/libass:0= + ) + libcaca? ( media-libs/libcaca:0 ) + libnotify? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libnotify:0 + ) + libsamplerate? ( media-libs/libsamplerate:0 ) + libtar? ( dev-libs/libtar:0 ) + libtiger? ( media-libs/libtiger:0 ) + linsys? ( media-libs/zvbi ) + lirc? ( app-misc/lirc:0 ) + live? ( media-plugins/live:0 ) + lua? ( >=dev-lang/lua-5.1:0 ) + mad? ( media-libs/libmad ) + matroska? ( + dev-libs/libebml:0= + media-libs/libmatroska:0= + ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-sound/mpg123 ) + mpeg? ( media-libs/libmpeg2 ) + mtp? ( media-libs/libmtp:0= ) + musepack? ( media-sound/musepack-tools:0 ) + ncurses? ( sys-libs/ncurses:0=[unicode] ) + nfs? ( >=net-fs/libnfs-0.10.0:= ) + ogg? ( media-libs/libogg:0 ) + opencv? ( media-libs/opencv:0= ) + opus? ( >=media-libs/opus-1.0.3:0 ) + png? ( media-libs/libpng:0= ) + postproc? ( libav? ( media-libs/libpostproc:0= ) ) + projectm? ( + media-fonts/dejavu:0 + media-libs/libprojectm:0 + ) + pulseaudio? ( media-sound/pulseaudio:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + X? ( + dev-qt/qtx11extras:5 + x11-libs/libX11 + ) + ) + rdp? ( >=net-misc/freerdp-2.0.0_rc0:0=[client] ) + samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) + sdl-image? ( media-libs/sdl-image:0 ) + sftp? ( net-libs/libssh2:0 ) + shout? ( media-libs/libshout:0 ) + sid? ( media-libs/libsidplay:2 ) + skins? ( + x11-libs/libXext:0 + x11-libs/libXinerama:0 + x11-libs/libXpm:0 + ) + soxr? ( media-libs/soxr ) + speex? ( + >=media-libs/speex-1.2.0:0 + media-libs/speexdsp:0 + ) + srt? ( net-libs/srt ) + ssl? ( net-libs/gnutls:0 ) + svg? ( + gnome-base/librsvg:2 + x11-libs/cairo:0 + ) + taglib? ( >=media-libs/taglib-1.9:0 ) + theora? ( media-libs/libtheora:0 ) + tremor? ( media-libs/tremor:0 ) + truetype? ( + media-libs/freetype:2 + virtual/ttf-fonts:0 + !fontconfig? ( media-fonts/dejavu:0 ) + ) + twolame? ( media-sound/twolame:0 ) + udev? ( virtual/udev:0 ) + upnp? ( net-libs/libupnp:= ) + v4l? ( media-libs/libv4l:0 ) + vaapi? ( x11-libs/libva:0=[drm,wayland?,X?] ) + vdpau? ( x11-libs/libvdpau:0 ) + vnc? ( net-libs/libvncserver:0 ) + vorbis? ( media-libs/libvorbis:0 ) + vpx? ( media-libs/libvpx:0= ) + wayland? ( + >=dev-libs/wayland-1.15 + dev-libs/wayland-protocols + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-keysyms + ) + x264? ( >=media-libs/x264-0.0.20160712:0=[10bit?] ) + x265? ( media-libs/x265:0= ) + xml? ( dev-libs/libxml2:2 ) + zeroconf? ( net-dns/avahi:0[dbus] ) + zvbi? ( media-libs/zvbi ) +" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.19.8:* + virtual/pkgconfig:* + amd64? ( dev-lang/yasm:* ) + x86? ( dev-lang/yasm:* ) + X? ( x11-base/xorg-proto ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system + "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch # bug #593460 + "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164 +) + +DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + has_version '>=net-libs/libupnp-1.8.0' && \ + eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch + + # Bootstrap when we are on a git checkout. + if [[ ${PV} = *9999 ]] ; then + ./bootstrap + fi + + # Make it build with libtool 1.5 + rm m4/lt* m4/libtool.m4 || die + + # We are not in a real git checkout due to the absence of a .git directory. + touch src/revision.txt || die + + # Don't use --started-from-file when not using dbus. + if ! use dbus ; then + sed -i 's/ --started-from-file//' share/vlc.desktop.in || die + fi + + # Disable running of vlc-cache-gen, we do that in pkg_postinst + sed -e "/test.*build.*host/s/\$(host)/nothanks/" \ + -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen" + + eautoreconf + + # Disable automatic running of tests. + find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die +} + +src_configure() { + local myeconfargs=( + --disable-aa + --disable-dependency-tracking + --disable-optimizations + --disable-rpath + --disable-update-check + --enable-fast-install + --enable-screen + --enable-vcd + --enable-vlc + $(use_enable a52) + $(use_enable alsa) + $(use_enable altivec) + $(use_enable aom) + $(use_enable archive) + $(use_enable aribsub) + $(use_enable bidi fribidi) + $(use_enable bidi harfbuzz) + $(use_enable bluray) + $(use_enable cddb libcddb) + $(use_enable chromaprint) + $(use_enable chromecast) + $(use_enable chromecast microdns) + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable dbus) + $(use_enable dbus kwallet) + $(use_enable dc1394) + $(use_enable debug) + $(use_enable directx) + $(use_enable directx d3d11va) + $(use_enable directx dxva2) + $(use_enable dts dca) + $(use_enable dvbpsi) + $(use_enable dvd dvdnav) + $(use_enable dvd dvdread) + $(use_enable encode sout) + $(use_enable encode vlm) + $(use_enable faad) + $(use_enable fdk fdkaac) + $(use_enable ffmpeg avcodec) + $(use_enable ffmpeg avformat) + $(use_enable ffmpeg swscale) + $(use_enable flac) + $(use_enable fluidsynth) + $(use_enable fontconfig) + $(use_enable gcrypt libgcrypt) + $(use_enable gme) + $(use_enable gnome-keyring secret) + $(use_enable gstreamer gst-decode) + $(use_enable ieee1394 dv1394) + $(use_enable jack) + $(use_enable jpeg) + $(use_enable kate) + $(use_enable libass) + $(use_enable libcaca caca) + $(use_enable libnotify notify) + $(use_enable libsamplerate samplerate) + $(use_enable libtar) + $(use_enable libtiger tiger) + $(use_enable linsys) + $(use_enable lirc) + $(use_enable live live555) + $(use_enable lua) + $(use_enable macosx-notifications osx-notifications) + $(use_enable macosx-qtkit) + $(use_enable mad) + $(use_enable matroska) + $(use_enable modplug mod) + $(use_enable mp3 mpg123) + $(use_enable mpeg libmpeg2) + $(use_enable mtp) + $(use_enable musepack mpc) + $(use_enable ncurses) + $(use_enable neon) + $(use_enable ogg) + $(use_enable omxil) + $(use_enable omxil omxil-vout) + $(use_enable opencv) + $(use_enable optimisememory optimize-memory) + $(use_enable opus) + $(use_enable png) + $(use_enable postproc) + $(use_enable projectm) + $(use_enable pulseaudio pulse) + $(use_enable qt5 qt) + $(use_enable rdp freerdp) + $(use_enable run-as-root) + $(use_enable samba smbclient) + $(use_enable sdl-image) + $(use_enable sftp) + $(use_enable shout) + $(use_enable sid) + $(use_enable skins skins2) + $(use_enable soxr) + $(use_enable speex) + $(use_enable srt) + $(use_enable ssl gnutls) + $(use_enable svg) + $(use_enable svg svgdec) + $(use_enable taglib) + $(use_enable theora) + $(use_enable tremor) + $(use_enable twolame) + $(use_enable udev) + $(use_enable upnp) + $(use_enable v4l v4l2) + $(use_enable vaapi libva) + $(use_enable vdpau) + $(use_enable vnc) + $(use_enable vorbis) + $(use_enable vpx) + $(use_enable wayland) + $(use_enable wma-fixed) + $(use_with X x) + $(use_enable X xcb) + $(use_enable X xvideo) + $(use_enable x264) + $(use_enable x265) + $(use_enable xml libxml2) + $(use_enable zeroconf avahi) + $(use_enable zvbi) + $(use_enable !zvbi telx) + --with-kde-solid=/usr/share/solid/actions + --disable-asdcp + --disable-coverage + --disable-cprof + --disable-crystalhd + --disable-decklink + --disable-gles2 + --disable-goom + --disable-kai + --disable-kva + --disable-libplacebo + --disable-maintainer-mode + --disable-merge-ffmpeg + --disable-mfx + --disable-mmal + --disable-opensles + --disable-oss + --disable-rpi-omxil + --disable-schroedinger + --disable-shine + --disable-sndio + --disable-spatialaudio + --disable-vsxu + --disable-wasapi + ) + # ^ We don't have these disabled libraries in the Portage tree yet. + + if use x264; then + myeconfargs+=( $(use_enable 10bit x26410b) ) + else + myeconfargs+=( --disable-x26410b ) + fi + + # Compatibility fix for Samba 4. + use samba && append-cppflags "-I/usr/include/samba-4.0" + + if use x86; then + # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 + append-cflags $(test-flags-CC -fno-stack-check) + # Bug 569774 + replace-flags -Os -O2 + fi + + # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8 + append-cxxflags -std=c++11 + + # FIXME: Needs libresid-builder from libsidplay:2 which is in another directory... + append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" + + xdg_environment_reset # bug 608256 + + if use truetype || use bidi; then + myeconfargs+=( --enable-freetype ) + else + myeconfargs+=( --disable-freetype ) + fi + + if use truetype || use projectm; then + local dejavu="/usr/share/fonts/dejavu/" + myeconfargs+=( + --with-default-font=${dejavu}/DejaVuSans.ttf + --with-default-font-family=Sans + --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf + --with-default-monospace-font-family=Monospace + ) + fi + + econf ${myeconfargs[@]} + + # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. + # Other values may break the build (bug 523144), so definition should not be removed. + # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h + sed -i '1i#undef _FORTIFY_SOURCE' config.h || die +} + +src_test() { + virtx emake check-TESTS +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then + einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" + "/usr/$(get_libdir)/vlc/vlc-cache-gen" "/usr/$(get_libdir)/vlc/plugins/" + else + ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" + ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" + ewarn "If you do not do it, vlc will take a long time to load." + fi + + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then + rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat" + fi + + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} diff --git a/media-video/vlc/vlc-3.0.9999.ebuild b/media-video/vlc/vlc-3.0.9999.ebuild index 793f7690453d..a42a129f841e 100644 --- a/media-video/vlc/vlc-3.0.9999.ebuild +++ b/media-video/vlc/vlc-3.0.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,10 +29,10 @@ HOMEPAGE="https://www.videolan.org/vlc/" LICENSE="LGPL-2.1 GPL-2" SLOT="0/5-9" # vlc - vlccore -IUSE="a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast dbus - dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth - fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass - libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua +IUSE="10bit a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast + dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac + fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate + libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications macosx-qtkit mad matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl @@ -75,6 +75,7 @@ RDEPEND=" >=dev-libs/protobuf-2.5.0:= >=net-libs/libmicrodns-0.0.9:= ) + dav1d? ( media-libs/dav1d ) dbus? ( sys-apps/dbus:0 ) dc1394? ( media-libs/libdc1394:2 @@ -211,7 +212,7 @@ RDEPEND=" x11-libs/xcb-util x11-libs/xcb-util-keysyms ) - x264? ( media-libs/x264:0= ) + x264? ( >=media-libs/x264-0.0.20160712:0=[10bit?] ) x265? ( media-libs/x265:0= ) xml? ( dev-libs/libxml2:2 ) zeroconf? ( net-dns/avahi:0[dbus] ) @@ -418,6 +419,12 @@ src_configure() { ) # ^ We don't have these disabled libraries in the Portage tree yet. + if use x264; then + myeconfargs+=( $(use_enable 10bit x26410b) ) + else + myeconfargs+=( --disable-x26410b ) + fi + # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index 0f094ec3e453..a2dda47b1dd8 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,10 +29,10 @@ HOMEPAGE="https://www.videolan.org/vlc/" LICENSE="LGPL-2.1 GPL-2" SLOT="0/5-9" # vlc - vlccore -IUSE="a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast dbus - dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth - fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate kms libass - libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua +IUSE="10bit a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast + dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac + fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate kms + libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications macosx-qtkit mad matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl @@ -75,6 +75,7 @@ RDEPEND=" >=dev-libs/protobuf-2.5.0:= >=net-libs/libmicrodns-0.0.9:= ) + dav1d? ( media-libs/dav1d ) dbus? ( sys-apps/dbus:0 ) dc1394? ( media-libs/libdc1394:2 @@ -214,7 +215,7 @@ RDEPEND=" x11-libs/xcb-util x11-libs/xcb-util-keysyms ) - x264? ( media-libs/x264:0= ) + x264? ( >=media-libs/x264-0.0.20160712:0=[10bit?] ) x265? ( media-libs/x265:0= ) xml? ( dev-libs/libxml2:2 ) zeroconf? ( net-dns/avahi:0[dbus] ) @@ -419,6 +420,12 @@ src_configure() { ) # ^ We don't have these disabled libraries in the Portage tree yet. + if use x264; then + myeconfargs+=( $(use_enable 10bit x26410b) ) + else + myeconfargs+=( --disable-x26410b ) + fi + # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" diff --git a/media-video/x264-encoder/Manifest b/media-video/x264-encoder/Manifest index 43dac5fb29ad..228a02a4ebe1 100644 --- a/media-video/x264-encoder/Manifest +++ b/media-video/x264-encoder/Manifest @@ -1,5 +1,5 @@ AUX gpac.patch 507 BLAKE2B 7872c56ed87e96a247b63b92c6a23c094346fea9ee5127a6086a45efd064b4c00ddf2cd2191772bcbd54365c56ef550f3f5e0ecf2c2ab35a2e0c9dc3197ec9b9 SHA512 9da7a1ffe637e39863e5828547923424b9c072d194d3ddadcc9a6c31f7803f5456b3ba88d470458a84d37b0c07374983adc124f3710ae7122a81a13ea9b4ae0e DIST x264-snapshot-20170701-2245.tar.bz2 750527 BLAKE2B ccf276da31383ab4b4a1ac48866bc49b4b2bc5913361c933fa2359de4d6e90cca091dd4aba781f3735a5b28d6ce006aa9d4e149ba48745b80cb971c2952ca867 SHA512 28fc9850c36ac385fced6dec9a0f68a5605a68805e1ef7b8cedcd78917eaa1ad6e47e57fe5a74fee0a6e482f3a33de6011f675e6c77b5db94c8fe01d5c5f3e9f EBUILD x264-encoder-0.0.20170701.ebuild 2153 BLAKE2B f02d87b81eed8ff4778bc31e36b7309aeb0bc82819c77dfcb4a02268fd3758cdb18eddd4338099074c9eccd11bf6cf925fc6e524202bf8977677f6eb8b5cb958 SHA512 214e20a611544cebf87b7a4b5d01688f4926d6d9d2685b37e6a0ddea9d419e2a0ed5cec51c0e3c3b9cfbab39e8ec5252b451f9bb3d26facc19c7f03cdf7c144c -EBUILD x264-encoder-9999.ebuild 2155 BLAKE2B 4a1ac4e8a49544996c39952a84f91cafa363d1dccc4b500af3b6419a5e9dc9fe27dfd29f259337949bd2a6eb16d723eff3f8a70ca07b95ca90cabf07c4e81026 SHA512 684327257e53797928802134cb1bac95266667a7999b3ad1b9edd1a0dab525d69ecec743924625522c91202c89c6b386d53375af55999a817090e8ef46d803c2 +EBUILD x264-encoder-9999.ebuild 2129 BLAKE2B b3f83ed8c5bb1b9df53d59329d9b8b711e045374183acfb23113ae4817371c1390d894caa940b838c2e1e2c2b2ea2319a8ebf4c5ec8f65661113e647d2888e30 SHA512 75425b85162966277993d7df3edcb0a4f159c519596c51e236fc6941d790ebc712781494f5f8eb65c41c7e38ce57f162ac81dd25b3b48812157d3b6472639581 MISC metadata.xml 587 BLAKE2B c768f1adecd9c56480a7ae1c3c4907230d5e1ffd7884abdf569de00f64bc34faf6314e473928540d6c9fa747bfaf2573717b2fdca0996a80f69ea7330c3c6226 SHA512 383e8540e2bde9190f48030956ff00eebb86f02781dfeffee9507198e00ee9d7f6cba6e05e5b9c7e8c692b0d5935531c162d7b5efe61a7f1ce2a88458ae2ec04 diff --git a/media-video/x264-encoder/x264-encoder-9999.ebuild b/media-video/x264-encoder/x264-encoder-9999.ebuild index 4958c30688e0..ae007c71112c 100644 --- a/media-video/x264-encoder/x264-encoder-9999.ebuild +++ b/media-video/x264-encoder/x264-encoder-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit flag-o-matic toolchain-funcs @@ -12,8 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.videolan.org/git/x264.git" SRC_URI="" else - inherit versionator - MY_P="x264-snapshot-$(get_version_component_range 3)-2245" + MY_P="x264-snapshot-$(ver_cut 3)-2245" SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" S="${WORKDIR}/${MY_P}" @@ -21,13 +20,16 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="10bit avs custom-cflags ffmpeg ffmpegsource +interlaced mp4 +threads" +IUSE="avs custom-cflags ffmpeg ffmpegsource +interlaced libav mp4 +threads" REQUIRED_USE="ffmpegsource? ( ffmpeg )" RDEPEND=" - ~media-libs/x264-${PV}[10bit=,interlaced=,threads=] - ffmpeg? ( virtual/ffmpeg ) + ~media-libs/x264-${PV}[interlaced=,threads=] + ffmpeg? ( + !libav? ( media-video/ffmpeg:= ) + libav? ( media-video/libav:= ) + ) ffmpegsource? ( media-libs/ffmpegsource ) mp4? ( >=media-video/gpac-0.5.2:= )" @@ -35,8 +37,8 @@ ASM_DEP=">=dev-lang/nasm-2.13" DEPEND="${RDEPEND} amd64? ( ${ASM_DEP} ) x86? ( ${ASM_DEP} ) - x86-fbsd? ( ${ASM_DEP} ) - virtual/pkgconfig" + x86-fbsd? ( ${ASM_DEP} )" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/gpac.patch" ) @@ -52,7 +54,6 @@ src_configure() { --system-libx264 \ --host="${CHOST}" \ --disable-lsmash \ - $(usex 10bit "--bit-depth=10" "") \ $(usex avs "" "--disable-avs") \ $(usex ffmpeg "" "--disable-lavf --disable-swscale") \ $(usex ffmpegsource "" "--disable-ffms") \ |