summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-02-22 18:13:08 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-02-22 18:13:08 +0000
commitec056036e7d79b69180a76f1865301dc1c8c3ac9 (patch)
tree63fbf7fc0ddd2aa071f5f9c1316803cd3e8917d9 /app-editors
parentPyQt 3.14 compatibility fix (diff)
downloadgentoo-2-ec056036e7d79b69180a76f1865301dc1c8c3ac9.tar.gz
gentoo-2-ec056036e7d79b69180a76f1865301dc1c8c3ac9.tar.bz2
gentoo-2-ec056036e7d79b69180a76f1865301dc1c8c3ac9.zip
lib64 compatibility fix
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/cute/ChangeLog7
-rw-r--r--app-editors/cute/Manifest6
-rw-r--r--app-editors/cute/cute-0.2.9-r1.ebuild62
-rw-r--r--app-editors/cute/files/digest-cute-0.2.9-r11
4 files changed, 73 insertions, 3 deletions
diff --git a/app-editors/cute/ChangeLog b/app-editors/cute/ChangeLog
index 657fd1153d8d..4f5225ac559b 100644
--- a/app-editors/cute/ChangeLog
+++ b/app-editors/cute/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/cute
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/cute/ChangeLog,v 1.8 2005/01/01 13:22:37 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/cute/ChangeLog,v 1.9 2005/02/22 18:13:08 carlo Exp $
+
+*cute-0.2.9-r1 (22 Feb 2005)
+
+ 22 Feb 2005; Carsten Lohrke <carlo@gentoo.org> +cute-0.2.9-r1.ebuild:
+ lib64 compatibility fix
19 Dec 2004; Carsten Lohrke <carlo@gentoo.org> cute-0.2.8.ebuild,
cute-0.2.9.ebuild:
diff --git a/app-editors/cute/Manifest b/app-editors/cute/Manifest
index 0adb8c3499f5..c5752a756365 100644
--- a/app-editors/cute/Manifest
+++ b/app-editors/cute/Manifest
@@ -1,6 +1,8 @@
-MD5 5a626b506727fde6e382fac503b1b42d ChangeLog 876
MD5 f2a7febcaaeb44cf0a2f5696e40ca5e6 cute-0.2.8.ebuild 1510
-MD5 70f06600556327dcfbc31fa03f610042 metadata.xml 155
+MD5 1741760bb7bb89c85a764396dc01d2f5 cute-0.2.9-r1.ebuild 1935
MD5 07779fc58220370c6afe104910bb22fd cute-0.2.9.ebuild 1509
+MD5 30ad99182a0c0682a1a7664a29417356 ChangeLog 1005
+MD5 70f06600556327dcfbc31fa03f610042 metadata.xml 155
MD5 ef50d0c86bf0b3220772e647250bbcbe files/digest-cute-0.2.8 63
MD5 d8e651c892fe13f3ed796b87faac96bd files/digest-cute-0.2.9 63
+MD5 d8e651c892fe13f3ed796b87faac96bd files/digest-cute-0.2.9-r1 63
diff --git a/app-editors/cute/cute-0.2.9-r1.ebuild b/app-editors/cute/cute-0.2.9-r1.ebuild
new file mode 100644
index 000000000000..a6248f609252
--- /dev/null
+++ b/app-editors/cute/cute-0.2.9-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/cute/cute-0.2.9-r1.ebuild,v 1.1 2005/02/22 18:13:08 carlo Exp $
+
+inherit distutils
+
+MY_P=${PN}-${PV/*.*.*.*/${PV%.*}-${PV##*.}}
+
+DESCRIPTION="CUTE is a Qt and Scintilla based text editor which can be easily extended using Python"
+HOMEPAGE="http://cute.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cute/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="doc"
+
+DEPEND="sys-apps/sed
+ virtual/python
+ <dev-python/qscintilla-1.6"
+
+src_unpack() {
+ unpack ${A}
+ distutils_python_version
+ cd ${S} ; sed -i -e "s:qscintilla::" cute.pro
+ rm -rf ${S}/qscintilla ; cd ${S}/cute
+
+ sed -i -r -e "s:#define DOC_PATH.*:#define DOC_PATH \"/usr/share/doc/${P}/index.html\":" config.h
+
+ # (multi-)lib fix
+ sed -i -r -e "s:^QEXTSCINTILLADIR =.*:QEXTSCINTILLADIR = /usr/$(get_libdir):" \
+ -e "s:^PYTHON_INCLUDE_DIR =.*:PYTHON_INCLUDE_DIR = /usr/include/python${PYVER}/:" \
+ -e "s:^PYTHON_LIB_DIR =.*:PYTHON_LIB_DIR = /usr/$(get_libdir)/python${PYVER}/:" \
+ -e "s:unix\:INCLUDEPATH=.*:unix\:INCLUDEPATH= ${QTDIR}/include /usr/include \\\\:" \
+ -e "s:-lpython2.2:-lpython${PYVER}:" \
+ -e "s:SCINTILLADIR/lib:SCINTILLADIR:" cute.pro
+
+ echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> cute.pro
+}
+
+src_compile() {
+ cd ${S}/cute
+ [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings"
+ addpredict "$QTDIR/etc/settings"
+ qmake -o Makefile cute.pro
+ emake || die
+}
+
+src_install() {
+ dobin ${S}/bin/cute
+ use doc && ( dohtml -r ${S}/cute/doc/doc/*
+ dosym index.html /usr/share/doc/${PF}/html/book1.html
+ insinto /usr/share/doc/${PF}/api
+ doins ${S}/cute/cute-api/html/* )
+ insinto /usr/share/cute/langs
+ doins ${S}/cute/langs/*
+ insinto /usr/share/cute/lib/scripts/
+ doins ${S}/cute/scripts/*
+ insinto /usr/share/icons
+ doins ${S}/cute/icons/cute.xpm
+ dodoc changelog.txt LICENSE INSTALL README
+} \ No newline at end of file
diff --git a/app-editors/cute/files/digest-cute-0.2.9-r1 b/app-editors/cute/files/digest-cute-0.2.9-r1
new file mode 100644
index 000000000000..506f8125c51c
--- /dev/null
+++ b/app-editors/cute/files/digest-cute-0.2.9-r1
@@ -0,0 +1 @@
+MD5 08da2882c51f2199ac0812a3500ddec6 cute-0.2.9.tar.gz 1252932