summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-04-28 19:44:45 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-04-28 19:44:45 +0000
commit4d68e0ce0491a2ab179a34a15b8d3a8ea91f47a8 (patch)
tree85f782606581fe1f2f5acb44e2d9438522d30cfe
parentlibgeier remove unneeded deps (diff)
downloadgentoo-2-4d68e0ce0491a2ab179a34a15b8d3a8ea91f47a8.tar.gz
gentoo-2-4d68e0ce0491a2ab179a34a15b8d3a8ea91f47a8.tar.bz2
gentoo-2-4d68e0ce0491a2ab179a34a15b8d3a8ea91f47a8.zip
Update build with no linguas enabled. Per bug #267702.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
-rw-r--r--media-sound/kwave/ChangeLog6
-rw-r--r--media-sound/kwave/files/0.8.2-fix_gettext.patch14
-rw-r--r--media-sound/kwave/kwave-0.8.2.ebuild4
3 files changed, 22 insertions, 2 deletions
diff --git a/media-sound/kwave/ChangeLog b/media-sound/kwave/ChangeLog
index 6a75dc395415..1e026c5f84aa 100644
--- a/media-sound/kwave/ChangeLog
+++ b/media-sound/kwave/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/kwave
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/ChangeLog,v 1.10 2009/04/27 16:43:25 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/ChangeLog,v 1.11 2009/04/28 19:44:45 scarabeus Exp $
+
+ 28 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org>
+ +files/0.8.2-fix_gettext.patch, kwave-0.8.2.ebuild:
+ Update build with no linguas enabled. Per bug #267702.
*kwave-0.8.2 (27 Apr 2009)
diff --git a/media-sound/kwave/files/0.8.2-fix_gettext.patch b/media-sound/kwave/files/0.8.2-fix_gettext.patch
new file mode 100644
index 000000000000..baa141b87e20
--- /dev/null
+++ b/media-sound/kwave/files/0.8.2-fix_gettext.patch
@@ -0,0 +1,14 @@
+diff -ur kwave-0.8.2.old/po/CMakeLists.txt kwave-0.8.2/po/CMakeLists.txt
+--- kwave-0.8.2.old/po/CMakeLists.txt 2009-04-28 15:46:01.000000000 +0300
++++ kwave-0.8.2/po/CMakeLists.txt 2009-04-28 15:55:03.000000000 +0300
+@@ -25,7 +25,9 @@
+ ENDIF (NOT ${_lang_short} STREQUAL "en")
+ ENDFOREACH(_lang ${KWAVE_BUILD_LINGUAS})
+
+-GETTEXT_CREATE_TRANSLATIONS(kwave.pot ALL ${_po_files})
++IF(DEFINED _po_files )
++ GETTEXT_CREATE_TRANSLATIONS(kwave.pot ALL ${_po_files})
++ENDIF(DEFINED _po_files )
+
+ #############################################################################
+ #############################################################################
diff --git a/media-sound/kwave/kwave-0.8.2.ebuild b/media-sound/kwave/kwave-0.8.2.ebuild
index d60a6a68b637..5c952b71892f 100644
--- a/media-sound/kwave/kwave-0.8.2.ebuild
+++ b/media-sound/kwave/kwave-0.8.2.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/kwave/kwave-0.8.2.ebuild,v 1.1 2009/04/27 16:43:25 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.8.2.ebuild,v 1.2 2009/04/28 19:44:45 scarabeus Exp $
EAPI="2"
@@ -30,6 +30,8 @@ DEPEND="${RDEPEND}
>=kde-base/kdesdk-misc-${KDE_MINIMAL}
media-gfx/imagemagick"
+PATCHES=( "${PV}-fix_gettext.patch" )
+
src_configure() {
use mmx && append-flags "-mmmx"
mycmakeargs="${mycmakeargs}