summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-06-20 20:27:26 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-06-20 20:27:26 +0000
commit8c2bcd66167a4748a461e645bcbcc8384c593197 (patch)
treef3a03921101d464f8a32aeb7cded29489c993e06 /dev-ruby/qt4-qtruby
parentfix #182670; thanks to Travis Wyatt (diff)
downloadgentoo-2-8c2bcd66167a4748a461e645bcbcc8384c593197.tar.gz
gentoo-2-8c2bcd66167a4748a461e645bcbcc8384c593197.tar.bz2
gentoo-2-8c2bcd66167a4748a461e645bcbcc8384c593197.zip
version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-ruby/qt4-qtruby')
-rw-r--r--dev-ruby/qt4-qtruby/ChangeLog8
-rw-r--r--dev-ruby/qt4-qtruby/files/FindQwt5.cmake.diff28
-rw-r--r--dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.93
-rw-r--r--dev-ruby/qt4-qtruby/qt4-qtruby-1.4.9.ebuild41
4 files changed, 79 insertions, 1 deletions
diff --git a/dev-ruby/qt4-qtruby/ChangeLog b/dev-ruby/qt4-qtruby/ChangeLog
index a7f9f5103559..c3c879090b78 100644
--- a/dev-ruby/qt4-qtruby/ChangeLog
+++ b/dev-ruby/qt4-qtruby/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/qt4-qtruby
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.10 2007/06/20 11:59:12 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.11 2007/06/20 20:27:26 caleb Exp $
+
+*qt4-qtruby-1.4.9 (20 Jun 2007)
+
+ 20 Jun 2007; Caleb Tennis <caleb@gentoo.org> +files/FindQwt5.cmake.diff,
+ +qt4-qtruby-1.4.9.ebuild:
+ version bump
20 Jun 2007; Caleb Tennis <caleb@gentoo.org> qt4-qtruby-1.4.8.ebuild:
Add checks for opengl, dbus
diff --git a/dev-ruby/qt4-qtruby/files/FindQwt5.cmake.diff b/dev-ruby/qt4-qtruby/files/FindQwt5.cmake.diff
new file mode 100644
index 000000000000..4e0e327bc4f2
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/files/FindQwt5.cmake.diff
@@ -0,0 +1,28 @@
+--- cmake/modules/FindQwt5.cmake.orig 2007-06-20 16:12:02.000000000 -0400
++++ cmake/modules/FindQwt5.cmake 2007-06-20 16:14:00.000000000 -0400
+@@ -29,8 +29,7 @@
+ IF( QT4_FOUND )
+ # Is Qwt5 installed? Look for header files
+ FIND_PATH( Qwt5_INCLUDE_DIR qwt.h
+- PATHS ${QT_INCLUDE_DIR} /usr/local/qwt/include /usr/local/include /usr/include/qwt /usr/include
+- PATH_SUFFIXES qwt qwt5 qwt-qt4 qwt5-qt4 qwt-qt3 qwt5-qt3 include qwt/include qwt5/include qwt-qt4/include qwt5-qt4/include qwt-qt3/include qwt5-qt3/include ENV PATH)
++ PATHS ${QT_INCLUDE_DIR} /usr/include/qwt5)
+
+ # Find Qwt version
+ IF( Qwt5_INCLUDE_DIR )
+@@ -41,7 +40,7 @@
+ STRING(REGEX REPLACE ".*#define[\\t\\ ]+QWT_VERSION_STR[\\t\\ ]+\"([0-9]+\\.[0-9]+\\.[0-9]+)\".*" "\\1" Qwt_VERSION "${QWT_GLOBAL_H}")
+
+ # Find Qwt5 library linked to Qt4
+- FIND_LIBRARY( Qwt5_Qt4_TENTATIVE_LIBRARY NAMES qwt5-qt4 qwt-qt4 qwt5 qwt PATHS /usr/local/qwt/lib /usr/local/lib /usr/lib )
++ FIND_LIBRARY( Qwt5_Qt4_TENTATIVE_LIBRARY NAMES libqwt.so.5 PATHS /usr/lib )
+ IF( UNIX AND NOT CYGWIN)
+ IF( Qwt5_Qt4_TENTATIVE_LIBRARY )
+ #MESSAGE("Qwt5_Qt4_TENTATIVE_LIBRARY = ${Qwt5_Qt4_TENTATIVE_LIBRARY}")
+@@ -101,4 +100,4 @@
+ MESSAGE(FATAL_ERROR "Could not find Qwt 5.x")
+ ENDIF (NOT Qwt5_FOUND AND Qwt5_FIND_REQUIRED)
+
+-ENDIF( QT4_FOUND )
+\ No newline at end of file
++ENDIF( QT4_FOUND )
diff --git a/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.9 b/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.9
new file mode 100644
index 000000000000..5bf8ed3eba90
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.9
@@ -0,0 +1,3 @@
+MD5 b63717da097a0988067b80bff0274a21 qt4-qtruby-1.4.9.tgz 774524
+RMD160 e4f451d860e69a071bc13d57515d979bb1c79166 qt4-qtruby-1.4.9.tgz 774524
+SHA256 fa2ef6f3b081d3997de407346612fc6ae4b4e06afd82dc69c9bc0022e7b2eb15 qt4-qtruby-1.4.9.tgz 774524
diff --git a/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.9.ebuild b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.9.ebuild
new file mode 100644
index 000000000000..96ef2e866ef3
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.9.ebuild,v 1.1 2007/06/20 20:27:26 caleb Exp $
+
+inherit toolchain-funcs eutils qt4
+
+DESCRIPTION="Ruby bindings for QT4"
+HOMEPAGE="http://rubyforge.org/projects/korundum"
+SRC_URI="http://rubyforge.org/frs/download.php/21951/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+DEPEND=">=virtual/ruby-1.8
+ =x11-libs/qt-4*"
+RDEPEND="${DEPEND}
+ >=dev-util/cmake-2.4.6"
+
+SLOT="0"
+
+QT4_BUILT_WITH_USE_CHECK="opengl dbus"
+
+pkg_setup() {
+ qt4_pkg_setup
+}
+
+src_unpack() {
+ unpack $A
+ cd ${S}
+ epatch ${FILESDIR}/libCMakeLists.diff
+ epatch ${FILESDIR}/FindQwt5.cmake.diff
+}
+
+
+src_compile() {
+ cd ${S} && cmake -DCMAKE_INSTALL_PREFIX=/usr/ . && make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}