diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-13 18:51:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-13 18:51:28 +0000 |
commit | 1b43fa1fd624aa7e14f3929e3a0c8c1b60f64ce6 (patch) | |
tree | fb1d400ab45c27052042117aa8df65dc5eba4ad0 /media-libs/libcaca | |
parent | Mask libcaca before adding it, as things like xine will break till (diff) | |
download | gentoo-2-1b43fa1fd624aa7e14f3929e3a0c8c1b60f64ce6.tar.gz gentoo-2-1b43fa1fd624aa7e14f3929e3a0c8c1b60f64ce6.tar.bz2 gentoo-2-1b43fa1fd624aa7e14f3929e3a0c8c1b60f64ce6.zip |
Add 0.99 version.
(Portage version: 2.1.1)
Diffstat (limited to 'media-libs/libcaca')
-rw-r--r-- | media-libs/libcaca/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libcaca/files/digest-libcaca-0.99_beta4 | 3 | ||||
-rw-r--r-- | media-libs/libcaca/files/libcaca-0.99_beta4-deoptimise.patch | 22 | ||||
-rw-r--r-- | media-libs/libcaca/libcaca-0.99_beta4.ebuild | 62 |
4 files changed, 94 insertions, 1 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog index 69c40becf078..4f7c2ea04b08 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.30 2006/09/04 05:32:32 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.31 2006/09/13 18:51:28 flameeyes Exp $ + +*libcaca-0.99_beta4 (13 Sep 2006) + + 13 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/libcaca-0.99_beta4-deoptimise.patch, +libcaca-0.99_beta4.ebuild: + Add 0.99 version. 04 Sep 2006; Joshua Kinard <kumba@gentoo.org> libcaca-0.9-r2.ebuild: Marked stable on mips. diff --git a/media-libs/libcaca/files/digest-libcaca-0.99_beta4 b/media-libs/libcaca/files/digest-libcaca-0.99_beta4 new file mode 100644 index 000000000000..ab58fe11958f --- /dev/null +++ b/media-libs/libcaca/files/digest-libcaca-0.99_beta4 @@ -0,0 +1,3 @@ +MD5 7d9d9b9e093e5235980716278636a67d libcaca-0.99.beta4.tar.gz 702914 +RMD160 df353e6b11f801c2393b0a1868eb7abf5615380e libcaca-0.99.beta4.tar.gz 702914 +SHA256 d2e4241e0161772f4ab532d535781b35fdbfa9135b9a80460332539892ad6318 libcaca-0.99.beta4.tar.gz 702914 diff --git a/media-libs/libcaca/files/libcaca-0.99_beta4-deoptimise.patch b/media-libs/libcaca/files/libcaca-0.99_beta4-deoptimise.patch new file mode 100644 index 000000000000..95bd56c8c63c --- /dev/null +++ b/media-libs/libcaca/files/libcaca-0.99_beta4-deoptimise.patch @@ -0,0 +1,22 @@ +Index: libcaca-0.99.beta4/configure.ac +=================================================================== +--- libcaca-0.99.beta4.orig/configure.ac ++++ libcaca-0.99.beta4/configure.ac +@@ -209,7 +209,7 @@ fi + if test "${enable_vga}" = "yes"; then + ac_cv_my_have_vga="yes" + CPPFLAGS="${CPPFLAGS} -I. -D__KERNEL__ -nostdinc -include kernel/kernel.h" +- CFLAGS="${CFLAGS} -fno-builtin -O2 -Wall" ++ CFLAGS="${CFLAGS} -Wall" + CCASFLAGS="${CCASFLAGS} -I." + LDFLAGS="${LDFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000" + AC_DEFINE(USE_VGA, 1, Define to 1 to activate the VGA backend driver) +@@ -229,7 +229,7 @@ AC_SUBST(MATH_LIBS) + AC_SUBST(CACA_LIBS) + + # 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 + # [Jylam] Removed -Wshadow in order to avoid ncurses/gl conflict + # (Comme quoi on est pas les seuls porcs) diff --git a/media-libs/libcaca/libcaca-0.99_beta4.ebuild b/media-libs/libcaca/libcaca-0.99_beta4.ebuild new file mode 100644 index 000000000000..a48b33008850 --- /dev/null +++ b/media-libs/libcaca/libcaca-0.99_beta4.ebuild @@ -0,0 +1,62 @@ +# 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_beta4.ebuild,v 1.1 2006/09/13 18:51:28 flameeyes 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/${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="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}/${P}-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 +} |