summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2010-04-30 22:50:20 +0000
committerHarald van Dijk <truedfx@gentoo.org>2010-04-30 22:50:20 +0000
commita2a8509b8ba0603c35605b09190877ec97f5a2ed (patch)
tree0f84a0a54fd323dbea0d8fec750b5beb658d7899
parent30 Apr 2010; Zac Medico <zmedico@gentoo.org> +calibre-0.6.50.ebuild: (diff)
downloadgentoo-2-a2a8509b8ba0603c35605b09190877ec97f5a2ed.tar.gz
gentoo-2-a2a8509b8ba0603c35605b09190877ec97f5a2ed.tar.bz2
gentoo-2-a2a8509b8ba0603c35605b09190877ec97f5a2ed.zip
Version bump (#317833)
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--app-editors/ted/ChangeLog7
-rw-r--r--app-editors/ted/ted-2.21.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/app-editors/ted/ChangeLog b/app-editors/ted/ChangeLog
index 0c0c0128e59c..0f843b8cf70e 100644
--- a/app-editors/ted/ChangeLog
+++ b/app-editors/ted/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/ted
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.30 2010/03/08 21:20:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.31 2010/04/30 22:50:20 truedfx Exp $
+
+*ted-2.21 (30 Apr 2010)
+
+ 30 Apr 2010; Harald van Dijk <truedfx@gentoo.org> +ted-2.21.ebuild:
+ Version bump (#317833)
08 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> ted-2.20.ebuild,
+files/ted-2.20-libpng14.patch:
diff --git a/app-editors/ted/ted-2.21.ebuild b/app-editors/ted/ted-2.21.ebuild
new file mode 100644
index 000000000000..48246be5249a
--- /dev/null
+++ b/app-editors/ted/ted-2.21.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.21.ebuild,v 1.1 2010/04/30 22:50:20 truedfx Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="X-based rich text editor"
+HOMEPAGE="http://www.nllgg.nl/Ted"
+SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+
+ >=media-libs/tiff-3.5.7
+ >=media-libs/jpeg-6b:0
+ >=media-libs/libpng-1.2.3"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/Ted-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.20-libpng14.patch
+
+ sed -i -e 's|/Ted/|/share/Ted/|' \
+ "${S}"/appFrame/appFrameConfig.h.in \
+ "${S}"/Ted/tedConfig.h.in || die
+ mkdir lib || die
+}
+
+src_configure() {
+ for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage
+ do
+ cd "${S}"/${dir}
+ econf --cache-file=../config.cache || die "configure ${dir} failed"
+ done
+}
+
+src_compile() {
+ emake package.shared || die "make package.shared failed"
+}
+
+src_install() {
+ cd "${S}"/tedPackage
+ RPM_BUILD_ROOT=${D} ./installTed.sh COMMON || die "install failed"
+
+ dodir /usr/share
+ mv "${D}"usr/Ted "${D}"usr/share/Ted
+}