From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-video/videocut/Manifest | 7 ++++ .../videocut/files/01-fix-hardened-ftbfs.diff | 16 +++++++++ media-video/videocut/files/videocut | 3 ++ media-video/videocut/metadata.xml | 10 ++++++ media-video/videocut/videocut-0.2.0.ebuild | 40 ++++++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 media-video/videocut/Manifest create mode 100644 media-video/videocut/files/01-fix-hardened-ftbfs.diff create mode 100644 media-video/videocut/files/videocut create mode 100644 media-video/videocut/metadata.xml create mode 100644 media-video/videocut/videocut-0.2.0.ebuild (limited to 'media-video/videocut') diff --git a/media-video/videocut/Manifest b/media-video/videocut/Manifest new file mode 100644 index 000000000000..4d71e7bd8940 --- /dev/null +++ b/media-video/videocut/Manifest @@ -0,0 +1,7 @@ +AUX 01-fix-hardened-ftbfs.diff 430 SHA256 237d16f4a6156f7500da221d0db0785dd4112eb7bf45e3522793be8f48856379 SHA512 d3f08e83e07ff0c4aa1adffd693c27bf1d3fe5657852c20c06a4148e684adfde125d3be8add5cb9e1c9a2edbd794c43dfbbe32a53870261fdd6188cc055183e5 WHIRLPOOL a271890b941b52c625fe6582f18158454881ced9c4a6ada176652bc88866ed2c8efb0f190386307eca408e3e4332c6ee90fd1f02faab4a02d38870f1a3cd029e +AUX videocut 60 SHA256 cc70d4d53acaca4dcdbb5d14b83687c73081759c9253ea25f6c9663d2a279fef SHA512 3dbf593688ae8516a896a33b7f9611af2ea859b87d43e99ebb97cd8e2041f1ba859dd7c40310fe0b837ecf637b27b97ce2445577ec6a38da8b120867a5e4942b WHIRLPOOL 026d8feddd1d220346df0b0257768dd04ffe443cddd7e4335ff642fb1d7a481995981ff65cdc2b18aaf62ffce84c4eaaef2a4924f7df2fbc12858a7908296bee +DIST videocut_0.2.0.tar.gz 146915 SHA256 234abbf01848150a1a74cb3b886a6021ec77c7f936991db26c082778c93ce1e1 SHA512 878f42a8ffe19cd5d9e3f9380eb549ea7eeb6fc378b00a883c98760b7d6bba36bcd31477a21799c92c288b421538e17e42d641593f691f528f24b209eab21478 WHIRLPOOL efa574ecbe9c3fac7f54429e48fb81d0ab90b9c03f78a987d58b46d415d9f08dd0d7773df38fe349b3562aa0d7cdd865a5ef9836e953795f01820a307652ab48 +EBUILD videocut-0.2.0.ebuild 823 SHA256 8f381309fa45bfc1529ef89eabc44dabdb270abefc36bd09380c42d6f8c918d4 SHA512 0cb51cea17fac95119512a0b3838423f1fcb501643a86ca6a7e6e4b528b4dbe35e8d52f318c5ef60f90802ef2f42d96944252cb084c509b7d61c80a446beeeb4 WHIRLPOOL e2b8aa40f4565232754c22a84175da5ce1c6c8a2c80ea3c617514f3b87ca4551d6c015f57585e7f72f9293173edda7330bcae166919300881c51741ad35b7314 +MISC ChangeLog 2938 SHA256 6b4c40256ab85750bcb689d858227ac135fd65cf9a68b3c3a6fe19e86d9a2c7b SHA512 d7d7c2c4e506ea6cd517afeb069ea82827a4f89f78f0303ae1bc54dfd8e457315de1057b05141e498a2f9732f725d6b52c267ee466e8c818fbe2666e7bb0cbb3 WHIRLPOOL b5d9a42318a9af4956ee0587c7a15dd4973838afeaa0c96d1b95b7f2241b6d12416ad4877ae5d231a0932e03137cca2829c989afa50e3e1f07c5a03f639356f1 +MISC ChangeLog-2015 823 SHA256 c7dd5c53f31b5cd01cef9fe66ff29cbddd2732f585bc66f1233a4397423bd599 SHA512 79e5d607fd938afdb4fe24a8feb8b7997baf63afb3535bc7bcdcd245d57428c82a8d435669107ccabc8a6be49e5697ecc735b97b542a254091f5d42a68799e34 WHIRLPOOL e4f10ce2db8256766cae545422dc6123df3223257b8d07bd1561cdc79b8f0ac073b46c3c0dc31751cf9d00cf58b23f47b277ac2f214cc22c4079dc994cefe77c +MISC metadata.xml 301 SHA256 088adb5fcba1f7c03491242919afea1e1f35be9def36ac788c03bc54440a22ed SHA512 08d8d487403d8f7f5c85c499faf72ea758f79412e93ae980ef061ca7ffc96b13f5033191d52a725c16388eefea6400a5f3abbb94f1251f0110427903666b7f8f WHIRLPOOL 89ba0d493a590d4a2b7f95250aabcd3e8c4afa4a295aeaae2bbda62592e14868467e29b1935dba301b512b7f0546263fce62f5be090b7624219e49e3fe5bbd18 diff --git a/media-video/videocut/files/01-fix-hardened-ftbfs.diff b/media-video/videocut/files/01-fix-hardened-ftbfs.diff new file mode 100644 index 000000000000..47fe7f97842c --- /dev/null +++ b/media-video/videocut/files/01-fix-hardened-ftbfs.diff @@ -0,0 +1,16 @@ +# Fix FTBFS with enabled hardened flags and gcc-4.6 failure +# https://bugs.gentoo.org/show_bug.cgi?id=380439 + +--- a/src/TPreviewPanel/TPreviewPanel.cpp ++++ b/src/TPreviewPanel/TPreviewPanel.cpp +@@ -167,7 +167,9 @@ + + void TPreviewPanel::adjustItems() + { +- backgroundRect->setSize(&QRectF(0, 0, 1, 1)); ++ QRectF myRect(0, 0, 1, 1); ++ backgroundRect->setSize(&myRect); ++ + logo->setSize(QRect(0, 0, 1, 1)); + + // adjust meta text diff --git a/media-video/videocut/files/videocut b/media-video/videocut/files/videocut new file mode 100644 index 000000000000..5a33c7232fcb --- /dev/null +++ b/media-video/videocut/files/videocut @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/videocut +exec /usr/libexec/videocut diff --git a/media-video/videocut/metadata.xml b/media-video/videocut/metadata.xml new file mode 100644 index 000000000000..4f5dd18f15c1 --- /dev/null +++ b/media-video/videocut/metadata.xml @@ -0,0 +1,10 @@ + + + + + media-video@gentoo.org + + + videocut + + diff --git a/media-video/videocut/videocut-0.2.0.ebuild b/media-video/videocut/videocut-0.2.0.ebuild new file mode 100644 index 000000000000..4e980534dda8 --- /dev/null +++ b/media-video/videocut/videocut-0.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit eutils qt4-r2 + +DESCRIPTION="A program to create compositions from video files" +HOMEPAGE="https://code.google.com/p/videocut/" +SRC_URI="https://${PN}.googlecode.com/files/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtgui:4 + dev-qt/qtsvg:4 + media-libs/xine-lib" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P}.orig + +PATCHES=( "${FILESDIR}"/01-fix-hardened-ftbfs.diff ) + +src_compile() { + emake || die + lrelease i18n/*.ts +} + +src_install() { + exeinto /usr/libexec + doexe build/result/${PN} || die + dobin "${FILESDIR}"/${PN} || die + insinto /usr/share/${PN}/i18n + doins -r i18n/*.qm || die + domenu ${PN}.desktop + doicon videocut.svg + dodoc ABOUT AUTHORS THANKSTO +} -- cgit v1.2.3