libcaca bump
authorHanno Boeck <hanno@gentoo.org>
Fri, 17 Nov 2006 14:00:01 +0000 (14:00 +0000)
committerHanno Boeck <hanno@gentoo.org>
Fri, 17 Nov 2006 14:00:01 +0000 (14:00 +0000)
Package-Manager: portage-2.1.2_rc1-r7

media-libs/libcaca/ChangeLog
media-libs/libcaca/files/digest-libcaca-0.99_beta11 [new file with mode: 0644]
media-libs/libcaca/libcaca-0.99_beta11.ebuild [new file with mode: 0644]

index a256c0c088c2441ba222b2184945d2498a1e367b..f65b95e07aa63c8816bb117fe2b6d3eb9c21052d 100644 (file)
@@ -1,6 +1,11 @@
 # 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.35 2006/10/28 00:38:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.36 2006/11/17 14:00:01 hanno Exp $
+
+*libcaca-0.99_beta11 (17 Nov 2006)
+
+  17 Nov 2006; Hanno Boeck <hanno@gentoo.org> +libcaca-0.99_beta11.ebuild:
+  Version bump.
 
   28 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> -libcaca-0.9-r1.ebuild,
   libcaca-0.9-r2.ebuild, -libcaca-0.99_beta4.ebuild,
diff --git a/media-libs/libcaca/files/digest-libcaca-0.99_beta11 b/media-libs/libcaca/files/digest-libcaca-0.99_beta11
new file mode 100644 (file)
index 0000000..fe839cc
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 94f3ae45b9d7fed43a6511452e880937 libcaca-0.99.beta11.tar.gz 774028
+RMD160 96ee9953632bbb498f962fad58789d8544b9d562 libcaca-0.99.beta11.tar.gz 774028
+SHA256 a751ffecd96416d9e13d9676bb2abbe9fad25d1c62dc11ef6013e1badccc40ce libcaca-0.99.beta11.tar.gz 774028
diff --git a/media-libs/libcaca/libcaca-0.99_beta11.ebuild b/media-libs/libcaca/libcaca-0.99_beta11.ebuild
new file mode 100644 (file)
index 0000000..f4a398e
--- /dev/null
@@ -0,0 +1,65 @@
+# 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_beta11.ebuild,v 1.1 2006/11/17 14:00:01 hanno Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit eutils autotools libtool
+
+MY_P="${P/_beta/.beta}"
+
+DESCRIPTION="A library that creates colored ASCII-art graphics"
+HOMEPAGE="http://libcaca.zoy.org/"
+SRC_URI="http://libcaca.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"
+
+       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
+}