summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/alsaplayer/ChangeLog8
-rw-r--r--media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild17
2 files changed, 15 insertions, 10 deletions
diff --git a/media-sound/alsaplayer/ChangeLog b/media-sound/alsaplayer/ChangeLog
index d8a7f828d0f6..3b6533943271 100644
--- a/media-sound/alsaplayer/ChangeLog
+++ b/media-sound/alsaplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/alsaplayer
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.68 2009/03/01 09:39:39 redhatter Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.69 2009/05/29 15:18:36 ssuominen Exp $
+
+ 29 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ alsaplayer-0.99.80-r1.ebuild:
+ Add icon for desktop entry.
*alsaplayer-0.99.80-r1 (01 Mar 2009)
diff --git a/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild
index 7e961c30a47f..b6aa772e5470 100644
--- a/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild
+++ b/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild,v 1.1 2009/03/01 09:39:39 redhatter Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.80-r1.ebuild,v 1.2 2009/05/29 15:18:36 ssuominen Exp $
+EAPI=2
inherit autotools eutils
DESCRIPTION="A heavily multi-threaded pluggable audio player."
@@ -33,16 +34,14 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}_rc3-flags.patch \
"${FILESDIR}"/${P}-missing_limits_h.patch \
"${FILESDIR}"/${P}-enable-libid3tag.patch
eautoreconf
}
-src_compile() {
+src_configure() {
use xosd || export ac_cv_lib_xosd_xosd_create="no"
use doc || export ac_cv_prog_HAVE_DOXYGEN="false"
@@ -64,19 +63,21 @@ src_compile() {
$(use_enable nas) \
$(use_enable opengl) \
$(use_enable oss) \
- $(use_enable sparc) \
$(use_enable vorbis oggvorbis) \
$(use_enable alsa) \
$(use_enable nls) \
$(use_enable mad) \
--disable-dependency-tracking \
${myconf}
+}
- emake CFLAGS="${CFLAGS}" || die "emake failed."
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" docdir="${D}/usr/share/doc/${PF}" install \
- || die "emake install failed."
+ || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO docs/*.txt
+ newicon interface/gtk2/pixmaps/logo.xpm ${PN}.xpm
}