From 08b1dc7a7bf7a4c76d67e7d046957c86bc42f7e0 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 29 Oct 2010 13:34:14 +0000 Subject: Patch sources to find documentation in the correct location. Bug #343117 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64) --- x11-misc/screengrab/ChangeLog | 8 ++++++- x11-misc/screengrab/screengrab-0.8.1-r1.ebuild | 32 ++++++++++++++++++++++++++ x11-misc/screengrab/screengrab-0.8.1.ebuild | 31 ------------------------- 3 files changed, 39 insertions(+), 32 deletions(-) create mode 100644 x11-misc/screengrab/screengrab-0.8.1-r1.ebuild delete mode 100644 x11-misc/screengrab/screengrab-0.8.1.ebuild (limited to 'x11-misc/screengrab') diff --git a/x11-misc/screengrab/ChangeLog b/x11-misc/screengrab/ChangeLog index b2b95a292d67..c11ed7d870ba 100644 --- a/x11-misc/screengrab/ChangeLog +++ b/x11-misc/screengrab/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/screengrab # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.6 2010/10/05 01:14:54 chiiph Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.7 2010/10/29 13:34:14 hwoarang Exp $ + +*screengrab-0.8.1-r1 (29 Oct 2010) + + 29 Oct 2010; Markos Chandras + -screengrab-0.8.1.ebuild, +screengrab-0.8.1-r1.ebuild: + Patch sources to find documentation in the correct location. Bug #343117 *screengrab-0.8.1 (05 Oct 2010) diff --git a/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild b/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild new file mode 100644 index 000000000000..73555d7fc56d --- /dev/null +++ b/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild,v 1.1 2010/10/29 13:34:14 hwoarang Exp $ + +EAPI="2" + +inherit cmake-utils + +DESCRIPTION="Qt tool for geting screenshots" +HOMEPAGE="http://code.google.com/p/screengrab-qt/" +SRC_URI="http://screengrab-qt.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/qt-gui:4" +RDEPEND="${DEPEND}" + +src_prepare() { + # fix documentation installation (bug #314495) + sed -i "s/doc\/screengrab/doc\/${PF}/" ${PN}.pro \ + || die "failed to fix documentation path" + # do not install license + sed -i "/LICENSE.txt/d" CMakeLists.txt \ + || die "failed to patch cmakelists" + # install docs in the right dir + sed -i "s#DESTINATION share/doc/screengrab#DESTINATION share/doc/${PF}#" \ + CMakeLists.txt || die "failed to patch doc dir" + sed -i "s:screengrab%1html:${PF}%1html:" src/mainwindow.cpp || die +} diff --git a/x11-misc/screengrab/screengrab-0.8.1.ebuild b/x11-misc/screengrab/screengrab-0.8.1.ebuild deleted file mode 100644 index ca5ce5c32b4b..000000000000 --- a/x11-misc/screengrab/screengrab-0.8.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.8.1.ebuild,v 1.1 2010/10/05 01:14:54 chiiph Exp $ - -EAPI="2" - -inherit cmake-utils - -DESCRIPTION="Qt tool for geting screenshots" -HOMEPAGE="http://code.google.com/p/screengrab-qt/" -SRC_URI="http://screengrab-qt.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="x11-libs/qt-gui:4" -RDEPEND="${DEPEND}" - -src_prepare() { - # fix documentation installation (bug #314495) - sed -i "s/doc\/screengrab/doc\/${PF}/" ${PN}.pro \ - || die "failed to fix documentation path" - # do not install license - sed -i "/LICENSE.txt/d" CMakeLists.txt \ - || die "failed to patch cmakelists" - # install docs in the right dir - sed -i "s#DESTINATION share/doc/screengrab#DESTINATION share/doc/${PF}#" \ - CMakeLists.txt || die "failed to patch doc dir" -} -- cgit v1.2.3-65-gdbad