diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/qx11grab |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/qx11grab')
-rw-r--r-- | media-video/qx11grab/Manifest | 6 | ||||
-rw-r--r-- | media-video/qx11grab/files/qx11grab-0.4.12-ffmpeg3.patch | 22 | ||||
-rw-r--r-- | media-video/qx11grab/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/qx11grab/qx11grab-0.4.12.ebuild | 55 |
4 files changed, 91 insertions, 0 deletions
diff --git a/media-video/qx11grab/Manifest b/media-video/qx11grab/Manifest new file mode 100644 index 000000000000..1b107b5de838 --- /dev/null +++ b/media-video/qx11grab/Manifest @@ -0,0 +1,6 @@ +AUX qx11grab-0.4.12-ffmpeg3.patch 868 SHA256 89f3c0e21b45e4ba4cda49c1627fb712a43022c9283b64d1ffcd28b0ef3d0ee6 SHA512 63018b4524bc8f7c8d87d817a1a8e946f8175a198dd223594dabbb12fc62a51985f2763e6e0e08203a09b35b946dc4fb1fd61c64d7fc5f21658a4ac6fc9f1356 WHIRLPOOL 26b516f25fe1cf05e8bfd7fa8cef79614d4a28383686fd8cc0aa54cfed13174b152998d8c950f8ed6bd9c2212c15bd0bc16c367548bffcdbea72f8915d38928a +DIST qx11grab-0.4.12.tar.xz 392304 SHA256 0f3d7ecb2e9d6fed3fd0c48cbc527c15f46a0f1befa666d0f6941f49df3ed7ca SHA512 6731d2bfc4fa889cf14da597408d86ddb68a33c5ed1ede3f4c49ed2746cebb71c2dd23cab17c2c03e52a60cfbbce928519a21d86fb5572fd88934e8bdf29cdb9 WHIRLPOOL 32663033215268f2bbe556332e95166539aaf95a740e634c6c6238aa322907dd0d4896c36eb0eea7a1b2378e54ef7a105e3d6327df06978ba8e15cdb1023e789 +EBUILD qx11grab-0.4.12.ebuild 1327 SHA256 b44cf292b249d03df0758928f7a07e16e0cdac25621f653f4e1be7a9d4536611 SHA512 cba879366f5e680a48c5fd924d78d2f0b1ffff17d38f319f84e67bf3779b3e928083198a0b75552fb988674a1bb17a628ee427e2dd41a52579ad812dae25d763 WHIRLPOOL 0455717ee938aebe0b45dfba796de0aef27ae51d8e20c4c0d269cc03ad3f89096976b0f9d5fc796026e9cbb9c761a515580ae9c1bfe88e000a0af508f3a282a7 +MISC ChangeLog 3778 SHA256 f61351dae191b5767b6b3fd458348ec0db46d11f09924c2e0388f502c9be98ae SHA512 99b92a11a77728c3963aa9462aedc7bc5b64fc0880b93fc458c3353a064c64c7b25b8f1fde2f5b2c14b889f5c0a3b678209379eb0a31eeff6256fd8433565935 WHIRLPOOL 3596014a650c3aa362bbaeb7bbfcdfb8dffc0fc1f2cc7feb52dc62c0a267ecb62efe37a58eba3d5a31b437ca7210401cad0e2ac827ca99c95c9060b2e97989b5 +MISC ChangeLog-2015 7648 SHA256 3233eba947d1b907ddcaea10affa8e1beecaf4d6bfcd64fc0ddcecc655e2074f SHA512 7b866bbf7b4a5e26b470385c32aa21471721094c9be36699c3583b21a2c3f8bfab6a6acae2c9ba5ee16ba5ebf3a633fe42ebb3a2068de32e9299b6f2855c5b6b WHIRLPOOL cde33350373ed292e592a40cc0dbbf808e06332d3af0079557eacfd3e0d252f302d2336b816b141de8a4cc7fcc5fbb46579d38ad2ee056b6f62d39dd43594c27 +MISC metadata.xml 247 SHA256 690d3e08cdd71b405f5361dfa3f33007ce9ec9d0ae7628e9271891da9e2bda92 SHA512 b43c8e84c3c753b49b203921a5aca792639a36d6efdbe16c069ff9abfbce0585718bb3824c03abdd7bd19ada13fb0a98a378c85ed369ac5fdc53ad3b3d5465d2 WHIRLPOOL dffc398d6bdbe8a8afc8863675a819a7bd69ae4d098ffbddad4c21ab8f1a850ab8ede71f98e34999b0605ad01ea93c8864cd681b50d3e153aa3d0901ddb10743 diff --git a/media-video/qx11grab/files/qx11grab-0.4.12-ffmpeg3.patch b/media-video/qx11grab/files/qx11grab-0.4.12-ffmpeg3.patch new file mode 100644 index 000000000000..a5d20ed5161d --- /dev/null +++ b/media-video/qx11grab/files/qx11grab-0.4.12-ffmpeg3.patch @@ -0,0 +1,22 @@ +Index: qx11grab-0.4.12/src/avoptions/avoptions.cpp +=================================================================== +--- qx11grab-0.4.12.orig/src/avoptions/avoptions.cpp ++++ qx11grab-0.4.12/src/avoptions/avoptions.cpp +@@ -178,14 +178,14 @@ namespace QX11Grab + { + QList<FFOption> list; + avcodec_register_all(); +- for ( int i = 0; i < PIX_FMT_NB; i++ ) ++ int i = 0; ++ for ( const AVPixFmtDescriptor* pix_desc = av_pix_fmt_desc_next(NULL); pix_desc != NULL; pix_desc = av_pix_fmt_desc_next(pix_desc)) + { +- const AVPixFmtDescriptor* pix_desc = &av_pix_fmt_descriptors[ static_cast<PixelFormat> ( i ) ]; + if ( ! pix_desc->name ) + continue; + + FFOption opt; +- opt.id = i; ++ opt.id = i++; + opt.name = QString::fromUtf8 ( pix_desc->name ); + opt.value = QVariant ( pix_desc->name ); + /*: ToolTip */ diff --git a/media-video/qx11grab/metadata.xml b/media-video/qx11grab/metadata.xml new file mode 100644 index 000000000000..17237689dcfd --- /dev/null +++ b/media-video/qx11grab/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-video/qx11grab/qx11grab-0.4.12.ebuild b/media-video/qx11grab/qx11grab-0.4.12.ebuild new file mode 100644 index 000000000000..236df54b6bc3 --- /dev/null +++ b/media-video/qx11grab/qx11grab-0.4.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="X11 desktop video grabber tray" +HOMEPAGE="http://qx11grab.hjcms.de/" +SRC_URI="http://qx11grab.hjcms.de/downloads/${PV}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="libav opengl pulseaudio" + +RDEPEND=" + dev-libs/qjson + >=dev-qt/qtcore-4.7.4:4 + >=dev-qt/qtdbus-4.7.4:4 + >=dev-qt/qtgui-4.7.4:4[accessibility] + >=media-libs/alsa-lib-1.0.26 + >=media-libs/fontconfig-2.4 + >=media-libs/freetype-2.4:2 + >=sys-apps/dbus-1.6.4 + >=x11-libs/libX11-1.3.4 + >=x11-libs/libXrandr-1.3 + libav? ( >=media-video/libav-9:0=[X,encode,truetype] ) + !libav? ( >=media-video/ffmpeg-1.1:0=[X,encode,truetype] ) + opengl? ( >=dev-qt/qtopengl-4.7.4:4 ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" +PDEPEND="virtual/freedesktop-icon-theme" + +PATCHES=( "${FILESDIR}/${P}-ffmpeg3.patch" ) + +src_prepare() { + cmake-utils_src_prepare + + # install docs into standard Gentoo location + sed -i -e "/DESTINATION share/ s:\${CMAKE_PROJECT_NAME}:doc/${PF}:" \ + CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DENABLE_KDE_SUPPORT=OFF + $(cmake-utils_use_enable opengl) + $(cmake-utils_use_enable pulseaudio PULSE) + ) + cmake-utils_src_configure +} |