summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2006-10-15 20:27:04 +0000
committerHanno Böck <hanno@gentoo.org>2006-10-15 20:27:04 +0000
commit21ce5518034f754219a59f992678d486acc46a81 (patch)
treef39480b164b4be7793804d578118062aa65ac5d6 /media-libs
parentMarking amd64, sparc stable (diff)
downloadgentoo-2-21ce5518034f754219a59f992678d486acc46a81.tar.gz
gentoo-2-21ce5518034f754219a59f992678d486acc46a81.tar.bz2
gentoo-2-21ce5518034f754219a59f992678d486acc46a81.zip
libcaca beta version bump
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libcaca/ChangeLog8
-rw-r--r--media-libs/libcaca/files/digest-libcaca-0.99_beta73
-rw-r--r--media-libs/libcaca/files/libcaca-0.99_beta7-gcc41.diff11
-rw-r--r--media-libs/libcaca/libcaca-0.99_beta7.ebuild63
4 files changed, 84 insertions, 1 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog
index 8bbd480db69a..39558fedf8f3 100644
--- a/media-libs/libcaca/ChangeLog
+++ b/media-libs/libcaca/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libcaca
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.32 2006/09/27 23:15:12 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.33 2006/10/15 20:27:04 hanno Exp $
+
+*libcaca-0.99_beta7 (15 Oct 2006)
+
+ 15 Oct 2006; Hanno Boeck <hanno@gentoo.org> +libcaca-0.99_beta7.ebuild,
+ +files/libcaca-0.99_beta7-gcc41.diff:
+ Version bump.
*libcaca-0.99_beta5 (27 Sep 2006)
diff --git a/media-libs/libcaca/files/digest-libcaca-0.99_beta7 b/media-libs/libcaca/files/digest-libcaca-0.99_beta7
new file mode 100644
index 000000000000..45b27ed4c3ce
--- /dev/null
+++ b/media-libs/libcaca/files/digest-libcaca-0.99_beta7
@@ -0,0 +1,3 @@
+MD5 b6e8cb4b440ad156df86eb699fe05fe2 libcaca-0.99.beta7.tar.gz 712055
+RMD160 b94fc0b5dc9fdfd446c44d74ee090b44ba92b39b libcaca-0.99.beta7.tar.gz 712055
+SHA256 192290da6898ed5cbd1d92b9d3cdcfcf69635d89371f49ea1e5b18bdb7d1aca0 libcaca-0.99.beta7.tar.gz 712055
diff --git a/media-libs/libcaca/files/libcaca-0.99_beta7-gcc41.diff b/media-libs/libcaca/files/libcaca-0.99_beta7-gcc41.diff
new file mode 100644
index 000000000000..00630dcf3606
--- /dev/null
+++ b/media-libs/libcaca/files/libcaca-0.99_beta7-gcc41.diff
@@ -0,0 +1,11 @@
+--- libcaca-0.99.beta7/cxx/cucul++.h~ 2006-10-14 23:51:04.035166402 +0200
++++ libcaca-0.99.beta7/cxx/cucul++.h 2006-10-14 23:51:04.036166250 +0200
+@@ -91,7 +91,7 @@
+ Buffer();
+ ~Buffer();
+ char const *const * getExportList(void);
+- void *Buffer::getData(void);
++ void *getData(void);
+ void loadMemory(void *buf, unsigned long int size);
+ void loadFile(char const *filename);
+ unsigned long int getSize();
diff --git a/media-libs/libcaca/libcaca-0.99_beta7.ebuild b/media-libs/libcaca/libcaca-0.99_beta7.ebuild
new file mode 100644
index 000000000000..5e4e0b6aad03
--- /dev/null
+++ b/media-libs/libcaca/libcaca-0.99_beta7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta7.ebuild,v 1.1 2006/10/15 20:27:04 hanno Exp $
+
+inherit eutils autotools libtool
+
+MY_P="${P/_beta/.beta}"
+
+DESCRIPTION="A library that creates colored ASCII-art graphics"
+HOMEPAGE="http://sam.zoy.org/libcaca"
+SRC_URI="http://sam.zoy.org/files/${MY_P}.tar.gz"
+
+LICENSE="WTFPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="ncurses slang doc imlib X opengl nocxx"
+
+RDEPEND="ncurses? ( >=sys-libs/ncurses-5.3 )
+ slang? ( =sys-libs/slang-1.4* )
+ imlib? ( media-libs/imlib2 )
+ X? ( x11-libs/libX11
+ x11-libs/libXt )
+ opengl? ( virtual/opengl
+ virtual/glut )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.99_beta4-deoptimise.patch"
+ epatch ${FILESDIR}/${P}-gcc41.diff
+
+ eautoreconf
+ elibtoolize
+}
+
+src_compile() {
+ # temp font fix #44128
+ export VARTEXFONTS="${T}/fonts"
+
+ econf \
+ $(use_enable doc) \
+ $(use_enable ncurses) \
+ $(use_enable slang) \
+ $(use_enable imlib imlib2) \
+ $(use_enable X x11) $(use_with X x) --x-libraries=/usr/$(get_libdir) \
+ $(use_enable opengl) \
+ $(use_enable !nocxx cxx) \
+ || die "econf failed"
+ emake || die "emake failed"
+ unset VARTEXFONTS
+}
+
+src_install() {
+ mv doc/man/man3caca doc/man/man3
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog NEWS NOTES README TODO
+}