diff options
author | Johannes Huber <johu@gentoo.org> | 2012-04-26 08:26:56 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2012-04-26 08:26:56 +0000 |
commit | 1c00b64e88cde6b95b54e54e675e7353d3b75777 (patch) | |
tree | 96830b679a597833369a338440c874478214fc4f /media-video | |
parent | remove old (diff) | |
download | gentoo-2-1c00b64e88cde6b95b54e54e675e7353d3b75777.tar.gz gentoo-2-1c00b64e88cde6b95b54e54e675e7353d3b75777.tar.bz2 gentoo-2-1c00b64e88cde6b95b54e54e675e7353d3b75777.zip |
Revision bump. Fix .desktop file, bumps EAPI, fixes build with python 3 as active version, respect linguas and correct dependencies by Michael (kensington) <gentoo@scribeofthenile.com>. Fixes bug #372667, bug #367943.
(Portage version: 2.2.0_alpha101/cvs/Linux i686)
Diffstat (limited to 'media-video')
5 files changed, 90 insertions, 5 deletions
diff --git a/media-video/qt-recordmydesktop/ChangeLog b/media-video/qt-recordmydesktop/ChangeLog index 6152f0d6751c..96bcaee62cfa 100644 --- a/media-video/qt-recordmydesktop/ChangeLog +++ b/media-video/qt-recordmydesktop/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for media-video/qt-recordmydesktop # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/ChangeLog,v 1.20 2012/04/24 19:32:25 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/ChangeLog,v 1.21 2012/04/26 08:26:56 johu Exp $ + +*qt-recordmydesktop-0.3.8-r2 (26 Apr 2012) + + 26 Apr 2012; Johannes Huber <johu@gentoo.org> + +files/qt-recordmydesktop-0.3.8-desktopfile.patch, + +qt-recordmydesktop-0.3.8-r2.ebuild, qt-recordmydesktop-0.3.8-r1.ebuild, + qt-recordmydesktop-0.3.8.ebuild: + Revision bump. Fix .desktop file, bumps EAPI, fixes build with python 3 as + active version, respect linguas and correct dependencies by Michael + (kensington) <gentoo@scribeofthenile.com>. Fixes bug #372667, bug #367943. 24 Apr 2012; Johannes Huber <johu@gentoo.org> metadata.xml: Add qt as co-maintainer herd. diff --git a/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-desktopfile.patch b/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-desktopfile.patch new file mode 100644 index 000000000000..77d5618a765d --- /dev/null +++ b/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-desktopfile.patch @@ -0,0 +1,18 @@ +Fixes errors reported by desktop-file-validate. + +--- src/qt-recordmydesktop.desktop ++++ src/qt-recordmydesktop.desktop +@@ -1,12 +1,11 @@ + [Desktop Entry] + Version=1.0 +-Encoding=UTF-8 + Name=qt-recordMyDesktop + Comment=Frontend for recordMyDesktop + Comment[fr]=Interface pour recordmydesktop + Exec=qt-recordMyDesktop + Terminal=false + Type=Application +-Icon=qt-recordmydesktop.png ++Icon=qt-recordmydesktop + Categories=AudioVideo;Recorder; + StartupNotify=false diff --git a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild index 6253a4973c0a..91d29b925855 100644 --- a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild +++ b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild,v 1.1 2010/11/15 20:38:20 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild,v 1.2 2012/04/26 08:26:56 johu Exp $ EAPI="2" diff --git a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r2.ebuild b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r2.ebuild new file mode 100644 index 000000000000..9607d817ca04 --- /dev/null +++ b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r2.ebuild,v 1.1 2012/04/26 08:26:56 johu Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.6" +RESTRICT_PYTHON_ABIS="3.*" +inherit autotools base eutils python + +DESCRIPTION="Qt4 interface for RecordMyDesktop" +HOMEPAGE="http://recordmydesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Test is buggy : bug #186752 +# Tries to run intl-toolupdate without it being substituted from +# configure, make test tries run make check in flumotion/test what +# makes me think that this file has been copied from flumotion without +# much care... +RESTRICT="test" + +RDEPEND=">=media-video/recordmydesktop-0.3.8 + x11-apps/xwininfo" +DEPEND="${RDEPEND} + >=dev-python/PyQt4-4.1[X]" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +PATCHES=( + "${FILESDIR}/${P}-check-for-jack.patch" + "${FILESDIR}/${P}-desktopfile.patch" +) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + base_src_prepare + + # these deps are required by PyQt4, not this package + sed -e '/^PKG_CHECK_MODULES/d' -i configure.ac || die "sed failed" + eautoreconf + + python_convert_shebangs 2 src/qt-recordMyDesktop.in + + sed -e 's/@ALL_LINGUAS@//' -i po/Makefile.in.in \ + || die "respect linguas sed failed" + strip-linguas -i po + echo ${LINGUAS} | tr ' ' '\n' > po/LINGUAS +} diff --git a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild index 0b2600ef7cc8..c7ab4547bbef 100644 --- a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild +++ b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild,v 1.6 2009/12/21 11:26:37 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8.ebuild,v 1.7 2012/04/26 08:26:56 johu Exp $ EAPI="2" |