summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-06-19 18:33:33 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-06-19 18:33:33 +0000
commit2e3bbb7a60ab96cbf61940c7134b53db2d6b5bc7 (patch)
tree8a077b924b9abd2671fb5e0b4524c8bf5ce8f99a /dev-ruby/qt4-qtruby
parentRemove versions affected by bug #163146 (diff)
downloadgentoo-2-2e3bbb7a60ab96cbf61940c7134b53db2d6b5bc7.tar.gz
gentoo-2-2e3bbb7a60ab96cbf61940c7134b53db2d6b5bc7.tar.bz2
gentoo-2-2e3bbb7a60ab96cbf61940c7134b53db2d6b5bc7.zip
version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-ruby/qt4-qtruby')
-rw-r--r--dev-ruby/qt4-qtruby/ChangeLog10
-rw-r--r--dev-ruby/qt4-qtruby/files/FindQwt.cmake.diff22
-rw-r--r--dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.83
-rw-r--r--dev-ruby/qt4-qtruby/files/libCMakeLists.diff11
-rw-r--r--dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild35
5 files changed, 79 insertions, 2 deletions
diff --git a/dev-ruby/qt4-qtruby/ChangeLog b/dev-ruby/qt4-qtruby/ChangeLog
index 984b69da0560..a4168eb19e46 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.8 2006/11/07 13:21:57 caleb Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/ChangeLog,v 1.9 2007/06/19 18:33:33 caleb Exp $
+
+*qt4-qtruby-1.4.8 (19 Jun 2007)
+
+ 19 Jun 2007; Caleb Tennis <caleb@gentoo.org> +files/FindQwt.cmake.diff,
+ +files/libCMakeLists.diff, +qt4-qtruby-1.4.8.ebuild:
+ version bump
07 Nov 2006; Caleb Tennis <caleb@gentoo.org> -files/kalyptus-fix.diff,
-qt4-qtruby-1.4.5.ebuild, -qt4-qtruby-1.4.6.ebuild,
diff --git a/dev-ruby/qt4-qtruby/files/FindQwt.cmake.diff b/dev-ruby/qt4-qtruby/files/FindQwt.cmake.diff
new file mode 100644
index 000000000000..a0efef72dc89
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/files/FindQwt.cmake.diff
@@ -0,0 +1,22 @@
+--- cmake/modules/FindQwt.cmake.orig 2007-06-19 12:54:17.000000000 -0400
++++ cmake/modules/FindQwt.cmake 2007-06-19 12:56:40.000000000 -0400
+@@ -18,16 +18,12 @@
+
+ IF(QT4_FOUND)
+ FIND_PATH(QWT_INCLUDE_DIR qwt.h
+- /usr/local/qwt/include
+- /usr/local/include
+- /usr/include/qwt
+- /usr/include
++ /usr/include/qwt5
+ )
+
+- SET(QWT_NAMES ${QWT_NAMES} qwt libqwt)
+ FIND_LIBRARY(QWT_LIBRARY
+- NAMES ${QWT_NAMES}
+- PATHS /usr/local/qwt/lib /usr/local/lib /usr/lib
++ NAMES libqwt.so.5
++ PATHS /usr/lib
+ )
+
+ IF (QWT_LIBRARY AND QWT_INCLUDE_DIR)
diff --git a/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.8 b/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.8
new file mode 100644
index 000000000000..7d243e45c2ad
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/files/digest-qt4-qtruby-1.4.8
@@ -0,0 +1,3 @@
+MD5 64ee3cfac6eef8d0fba04b6bf506fc7c qt4-qtruby-1.4.8.tgz 770981
+RMD160 90f3d88687b9340309fa903d2125b1984e13b08f qt4-qtruby-1.4.8.tgz 770981
+SHA256 ebc8b88e5ce076ab5af29a7e5ab136d5889164ecb6d9308f6e5947188140a44e qt4-qtruby-1.4.8.tgz 770981
diff --git a/dev-ruby/qt4-qtruby/files/libCMakeLists.diff b/dev-ruby/qt4-qtruby/files/libCMakeLists.diff
new file mode 100644
index 000000000000..2bf02541d46a
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/files/libCMakeLists.diff
@@ -0,0 +1,11 @@
+--- ruby/qtruby/src/lib/CMakeLists.txt.orig 2007-06-19 14:12:12.000000000 -0400
++++ ruby/qtruby/src/lib/CMakeLists.txt 2007-06-19 14:12:29.000000000 -0400
+@@ -1,7 +1,7 @@
+
+ add_subdirectory( Qt )
+
+-install( FILES Qt.rb Qt4.rb Qt3.rb DESTINATION ${RUBY_SITE_LIB_DIR} )
++install( FILES Qt4.rb Qt3.rb DESTINATION ${RUBY_SITE_LIB_DIR} )
+
+ #original Makefile.am contents follow:
+
diff --git a/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild
new file mode 100644
index 000000000000..59f6437a709b
--- /dev/null
+++ b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild
@@ -0,0 +1,35 @@
+# 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.8.ebuild,v 1.1 2007/06/19 18:33:33 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/21925/qt4-qtruby-1.4.8.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"
+
+src_unpack() {
+ unpack $A
+ cd ${S}
+ epatch ${FILESDIR}/FindQwt.cmake.diff
+ epatch ${FILESDIR}/libCMakeLists.diff
+}
+
+
+src_compile() {
+ cd ${S} && cmake -DCMAKE_INSTALL_PREFIX=/usr/ . && make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}