summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-08-16 17:49:46 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-08-16 17:49:46 +0000
commit657b648896bd055d425e360dd3a57d04a2ef67ce (patch)
tree9aef2487528f5313ab6d604e59437f76576b1f34 /x11-misc/screengrab
parentpartially sync live ebuild (diff)
downloadgentoo-2-657b648896bd055d425e360dd3a57d04a2ef67ce.tar.gz
gentoo-2-657b648896bd055d425e360dd3a57d04a2ef67ce.tar.bz2
gentoo-2-657b648896bd055d425e360dd3a57d04a2ef67ce.zip
Version bump. Thanks to upstream maintainer Artem Galichkin <doomer3d@gmail.com> for the ebuild
(Portage version: 2.1.13.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'x11-misc/screengrab')
-rw-r--r--x11-misc/screengrab/ChangeLog10
-rw-r--r--x11-misc/screengrab/files/screengrab-1.0-detect-lib64.patch27
-rw-r--r--x11-misc/screengrab/metadata.xml6
-rw-r--r--x11-misc/screengrab/screengrab-1.0.ebuild31
4 files changed, 73 insertions, 1 deletions
diff --git a/x11-misc/screengrab/ChangeLog b/x11-misc/screengrab/ChangeLog
index 0ab545e57e81..497aa4f715cc 100644
--- a/x11-misc/screengrab/ChangeLog
+++ b/x11-misc/screengrab/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-misc/screengrab
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.29 2013/06/12 18:07:39 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.30 2013/08/16 17:49:46 hwoarang Exp $
+
+*screengrab-1.0 (16 Aug 2013)
+
+ 16 Aug 2013; Markos Chandras <hwoarang@gentoo.org>
+ +files/screengrab-1.0-detect-lib64.patch, +screengrab-1.0.ebuild,
+ metadata.xml:
+ Version bump. Thanks to upstream maintainer Artem Galichkin
+ <doomer3d@gmail.com> for the ebuild
12 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> screengrab-0.9.96.ebuild:
Stable on amd64 and x86, wrt bug #473098
diff --git a/x11-misc/screengrab/files/screengrab-1.0-detect-lib64.patch b/x11-misc/screengrab/files/screengrab-1.0-detect-lib64.patch
new file mode 100644
index 000000000000..308893d656e2
--- /dev/null
+++ b/x11-misc/screengrab/files/screengrab-1.0-detect-lib64.patch
@@ -0,0 +1,27 @@
+commit f613bc6d26095b891c7aa886de0bd6e5bfc5ce46
+Author: DOOMer <doomer3d@gmail.com>
+Date: Fri Aug 16 02:26:27 2013 +0400
+
+ Fix detect 'lib64' dir
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d31a477..c56d158 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -67,11 +67,13 @@ add_definitions( -DPREFIX="${CMAKE_INSTALL_PREFIX}")
+
+ message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
+
+-IF (IS64BITS AND RESPECTLIB64)
++string (COMPARE EQUAL "${CMAKE_SIZEOF_VOID_P}" "8" IS64BITS)
++
++IF (IS64BITS)
+ SET (LIBDIR "lib64")
+-ELSE (IS64BITS AND RESPECTLIB64)
++ELSE (IS64BITS )
+ SET (LIBDIR "lib")
+-ENDIF (IS64BITS AND RESPECTLIB64)
++ENDIF (IS64BITS )
+ set(SG_LIBDIR "${LIBDIR}/screengrab")
+ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${SG_LIBDIR}")
+ message(STATUS "Library path: "${CMAKE_INSTALL_RPATH})
diff --git a/x11-misc/screengrab/metadata.xml b/x11-misc/screengrab/metadata.xml
index bd0e6cb4dc57..89e086cd0db1 100644
--- a/x11-misc/screengrab/metadata.xml
+++ b/x11-misc/screengrab/metadata.xml
@@ -5,4 +5,10 @@
<upstream>
<remote-id type="google-code">screengrab-qt</remote-id>
</upstream>
+<upstream>
+ <maintainer status="active">
+ <email>doomer3d@gmail.com</email>
+ <name>Artem Galichkin</name>
+ </maintainer>
+</upstream>
</pkgmetadata>
diff --git a/x11-misc/screengrab/screengrab-1.0.ebuild b/x11-misc/screengrab/screengrab-1.0.ebuild
new file mode 100644
index 000000000000..3a4c052804e9
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-1.0.ebuild,v 1.1 2013/08/16 17:49:46 hwoarang Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Qt application for getting screenshots"
+HOMEPAGE="http://screengrab.doomer.org"
+# Mirror the tarball because upstream failed to provide a proper way to get it
+SRC_URI="http://screengrab.doomer.org/download/screengrab-1_0_/ -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-detect-lib64.patch )
+
+src_prepare() {
+ # Install docs into the right dir, but skip the license.
+ sed -i -e "/SG_DOCDIR/s:screengrab:${PF}:" \
+ CMakeLists.txt || die
+ cmake-utils_src_prepare
+}