summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-07-24 06:31:58 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-07-24 06:31:58 +0000
commitc5feb38b79a1f28a50b89f1b573273cef208bb4e (patch)
tree6fd1dfa4017425ee37afdf7cac93c0dee3828105 /media-sound/djplay/djplay-0.5.0.ebuild
parentFixed encoding in ChangeLog (diff)
downloadgentoo-2-c5feb38b79a1f28a50b89f1b573273cef208bb4e.tar.gz
gentoo-2-c5feb38b79a1f28a50b89f1b573273cef208bb4e.tar.bz2
gentoo-2-c5feb38b79a1f28a50b89f1b573273cef208bb4e.zip
run gettextize so that translations are installed and we can run a full eautoreconf
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/djplay/djplay-0.5.0.ebuild')
-rw-r--r--media-sound/djplay/djplay-0.5.0.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/media-sound/djplay/djplay-0.5.0.ebuild b/media-sound/djplay/djplay-0.5.0.ebuild
index 2c392dcc5ace..9fd21947cc9e 100644
--- a/media-sound/djplay/djplay-0.5.0.ebuild
+++ b/media-sound/djplay/djplay-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/djplay/djplay-0.5.0.ebuild,v 1.3 2009/07/24 06:08:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/djplay/djplay-0.5.0.ebuild,v 1.4 2009/07/24 06:31:58 aballier Exp $
EAPI=1
@@ -34,7 +34,8 @@ DEPEND="media-libs/alsa-lib
mad? ( media-libs/libmad )
mpeg? ( media-libs/libmpeg3 )"
#sdl? ( media-libs/libsdl )
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+ sys-devel/gettext"
src_unpack() {
unpack ${A}
@@ -43,7 +44,11 @@ src_unpack() {
epatch "${FILESDIR}/${P}-libmpeg3.patch"
epatch "${FILESDIR}/${P}-gcc44.patch"
- eautoconf || die "eautoconf failed"
+ # Stolen from enlightenment.eclass
+ cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize"
+ sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
+ "${T}/gettextize" -f --no-changelog || die "gettexize failed"
+ eautoreconf
}
src_compile() {