From d75e0b756bcdc06b42857f80da845752c086dc69 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sat, 10 Oct 2015 05:26:53 +1100 Subject: x11-misc/screengrab: unbundle x11-libs/libqxt Gentoo-bug: 562676 Package-Manager: portage-2.2.20.1 --- x11-misc/screengrab/screengrab-1.2.1-r1.ebuild | 40 ++++++++++++++++++++++++++ x11-misc/screengrab/screengrab-1.2.1.ebuild | 37 ------------------------ 2 files changed, 40 insertions(+), 37 deletions(-) create mode 100644 x11-misc/screengrab/screengrab-1.2.1-r1.ebuild delete mode 100644 x11-misc/screengrab/screengrab-1.2.1.ebuild (limited to 'x11-misc/screengrab') diff --git a/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild b/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild new file mode 100644 index 00000000000..39d1f1919ba --- /dev/null +++ b/x11-misc/screengrab/screengrab-1.2.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Qt application for getting screenshots" +HOMEPAGE="http://screengrab.doomer.org" +SRC_URI="https://github.com/DOOMer/screengrab/archive/1.2.1.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + x11-libs/libqxt + x11-libs/libX11 +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "/LICENSE.txt/d" CMakeLists.txt || die + rm -r src/3rdparty || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSG_DOCDIR=${PF} + -DSG_USE_SYSTEM_QXT=ON + ) + + cmake-utils_src_configure +} diff --git a/x11-misc/screengrab/screengrab-1.2.1.ebuild b/x11-misc/screengrab/screengrab-1.2.1.ebuild deleted file mode 100644 index e3e928b53a7..00000000000 --- a/x11-misc/screengrab/screengrab-1.2.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils - -DESCRIPTION="Qt application for getting screenshots" -HOMEPAGE="http://screengrab.doomer.org" -SRC_URI="https://github.com/DOOMer/screengrab/archive/1.2.1.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-qt/qtcore:4 - dev-qt/qtgui:4 - x11-libs/libX11 -" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -i -e "/LICENSE.txt/d" CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DSG_DOCDIR=${PF} - ) - - cmake-utils_src_configure -} -- cgit v1.2.1