summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 21:09:16 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 21:09:16 +0000
commit01b317b62c01c81dd0abd534c4aa554b5ed83898 (patch)
tree6c1e4e008709ccf69ae7574c801438843fea970d /media-libs/sdl-sound
parentSparc stable, Bug #217761. All tests pass. (diff)
downloadhistorical-01b317b62c01c81dd0abd534c4aa554b5ed83898.tar.gz
historical-01b317b62c01c81dd0abd534c4aa554b5ed83898.tar.bz2
historical-01b317b62c01c81dd0abd534c4aa554b5ed83898.zip
old
Diffstat (limited to 'media-libs/sdl-sound')
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch12
-rw-r--r--media-libs/sdl-sound/sdl-sound-1.0.2.ebuild54
2 files changed, 0 insertions, 66 deletions
diff --git a/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch b/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch
deleted file mode 100644
index c960692a93f9..000000000000
--- a/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-we use log() here, so need math.h
-
---- decoders/shn.c (revision 553)
-+++ decoders/shn.c (working copy)
-@@ -50,6 +50,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <math.h>
-
- #include "SDL_sound.h"
-
diff --git a/media-libs/sdl-sound/sdl-sound-1.0.2.ebuild b/media-libs/sdl-sound/sdl-sound-1.0.2.ebuild
deleted file mode 100644
index 61710d2f1fdf..000000000000
--- a/media-libs/sdl-sound/sdl-sound-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.2.ebuild,v 1.1 2008/04/17 21:37:24 vapier Exp $
-
-inherit eutils
-
-MY_P="${P/sdl-/SDL_}"
-DESCRIPTION="A library that handles the decoding of sound file formats"
-HOMEPAGE="http://icculus.org/SDL_sound/"
-SRC_URI="http://icculus.org/SDL_sound/downloads/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="flac mikmod vorbis speex physfs mp3 mpeg"
-
-RDEPEND=">=media-libs/libsdl-1.2
- flac? ( media-libs/flac )
- mikmod? ( >=media-libs/libmikmod-3.1.9 media-libs/libmodplug )
- vorbis? ( >=media-libs/libvorbis-1.0_beta4 )
- speex? ( media-libs/speex media-libs/libogg )
- physfs? ( dev-games/physfs )
- mpeg? ( media-libs/smpeg )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-headers.patch
-}
-
-src_compile() {
- econf \
- --disable-dependency-tracking \
- --enable-midi \
- $(use_enable mpeg smpeg) \
- $(use_enable mp3 mpglib) \
- $(use_enable flac) \
- $(use_enable speex) \
- $(use_enable mikmod) \
- $(use_enable mikmod modplug) \
- $(use_enable physfs) \
- $(use_enable vorbis ogg) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc CHANGELOG CREDITS README TODO
-}