summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-06 00:35:00 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-06 00:35:00 +0000
commit4eac9e1b520562359be678798bcc8ceabcef8285 (patch)
tree62151659bb9edc49020e17cabc66616feb25b130 /media-libs/libcaca
parentbump scons dep to latest available, will hopefuly fix bug #225695 (diff)
downloadgentoo-2-4eac9e1b520562359be678798bcc8ceabcef8285.tar.gz
gentoo-2-4eac9e1b520562359be678798bcc8ceabcef8285.tar.bz2
gentoo-2-4eac9e1b520562359be678798bcc8ceabcef8285.zip
version bump
(Portage version: 2.2_rc6/cvs/Linux 2.6.25.7 x86_64)
Diffstat (limited to 'media-libs/libcaca')
-rw-r--r--media-libs/libcaca/ChangeLog8
-rw-r--r--media-libs/libcaca/files/libcaca-0.99_beta14-deoptimise.patch22
-rw-r--r--media-libs/libcaca/libcaca-0.99_beta14.ebuild65
3 files changed, 94 insertions, 1 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog
index 44261205b99f..bbadb33fdb6e 100644
--- a/media-libs/libcaca/ChangeLog
+++ b/media-libs/libcaca/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libcaca
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.60 2008/05/12 08:27:04 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.61 2008/08/06 00:34:59 aballier Exp $
+
+*libcaca-0.99_beta14 (06 Aug 2008)
+
+ 06 Aug 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/libcaca-0.99_beta14-deoptimise.patch, +libcaca-0.99_beta14.ebuild:
+ version bump
12 May 2008; Alexis Ballier <aballier@gentoo.org>
+files/libcaca-0.99_beta13-ruby-Makefile.am.patch,
diff --git a/media-libs/libcaca/files/libcaca-0.99_beta14-deoptimise.patch b/media-libs/libcaca/files/libcaca-0.99_beta14-deoptimise.patch
new file mode 100644
index 000000000000..fc3e3bffddc5
--- /dev/null
+++ b/media-libs/libcaca/files/libcaca-0.99_beta14-deoptimise.patch
@@ -0,0 +1,22 @@
+Index: libcaca-0.99.beta14/configure.ac
+===================================================================
+--- libcaca-0.99.beta14.orig/configure.ac
++++ libcaca-0.99.beta14/configure.ac
+@@ -290,7 +290,7 @@ fi
+ if test "${enable_vga}" = "yes"; then
+ ac_cv_my_have_vga="yes"
+ CPPFLAGS="${CPPFLAGS} -I. -D__KERNEL__ -nostdinc -include kernel/kernel.h -fno-stack-protector"
+- CFLAGS="${CFLAGS} -fno-builtin -O2 -Wall -fno-stack-protector"
++ CFLAGS="${CFLAGS} -Wall -fno-stack-protector"
+ CCASFLAGS="${CCASFLAGS} -I. -fno-stack-protector"
+ LDFLAGS="${LDFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 -fno-stack-protector"
+ AC_DEFINE(USE_VGA, 1, Define to 1 to activate the VGA backend driver)
+@@ -347,7 +347,7 @@ fi
+ AC_SUBST(CUCUL_TYPES)
+
+ # Optimizations
+-CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer"
++CFLAGS="${CFLAGS}"
+ # Code qui fait des warnings == code de porc == deux baffes dans ta gueule
+ CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
+
diff --git a/media-libs/libcaca/libcaca-0.99_beta14.ebuild b/media-libs/libcaca/libcaca-0.99_beta14.ebuild
new file mode 100644
index 000000000000..05393497dc51
--- /dev/null
+++ b/media-libs/libcaca/libcaca-0.99_beta14.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta14.ebuild,v 1.1 2008/08/06 00:34:59 aballier Exp $
+
+inherit eutils autotools libtool mono
+
+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/${PN}/${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="doc imlib mono ncurses nocxx opengl ruby slang X"
+
+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 )
+ mono? ( dev-lang/mono )
+ ruby? ( virtual/ruby )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen
+ virtual/latex-base
+ || ( dev-texlive/texlive-fontsrecommended app-text/tetex app-text/ptex ) )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.99_beta14-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 gl) \
+ $(use_enable !nocxx cxx) \
+ $(use_enable mono csharp) \
+ $(use_enable ruby) \
+ || die "econf failed"
+ emake || die "emake failed"
+ unset VARTEXFONTS
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS NOTES README
+}