diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-21 17:10:26 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-21 17:10:26 +0000 |
commit | 2b60fae006acaa9a3b2e5e8153521a8c889d9e6a (patch) | |
tree | debc009f55ede53d572e022d9a4b640815d0acf1 /media-sound/kwave | |
parent | Require dev-lang/python[xml] (Bug #259577) (diff) | |
download | gentoo-2-2b60fae006acaa9a3b2e5e8153521a8c889d9e6a.tar.gz gentoo-2-2b60fae006acaa9a3b2e5e8153521a8c889d9e6a.tar.bz2 gentoo-2-2b60fae006acaa9a3b2e5e8153521a8c889d9e6a.zip |
Fix previous commit differently, if LINGUAS is not set, select all instead of just en as per standards. Uncompress kwave.svgz and update icon cache.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/kwave')
-rw-r--r-- | media-sound/kwave/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/kwave/kwave-0.8.2.ebuild | 39 |
2 files changed, 34 insertions, 11 deletions
diff --git a/media-sound/kwave/ChangeLog b/media-sound/kwave/ChangeLog index 734f3ba755c6..819aa76b5e87 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.13 2009/05/14 08:18:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/ChangeLog,v 1.14 2009/05/21 17:10:26 ssuominen Exp $ + + 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> kwave-0.8.2.ebuild: + Fix previous commit differently, if LINGUAS is not set, select all instead + of just en as per standards. Uncompress kwave.svgz and update icon cache. 14 May 2009; Samuli Suominen <ssuominen@gentoo.org> kwave-0.8.2.ebuild: If LINGUAS is unset, set it to en to avoid compilation failure. diff --git a/media-sound/kwave/kwave-0.8.2.ebuild b/media-sound/kwave/kwave-0.8.2.ebuild index 72be968af8d0..a10c94f41475 100644 --- a/media-sound/kwave/kwave-0.8.2.ebuild +++ b/media-sound/kwave/kwave-0.8.2.ebuild @@ -1,17 +1,17 @@ # 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.5 2009/05/14 08:18:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.8.2.ebuild,v 1.6 2009/05/21 17:10:26 ssuominen Exp $ EAPI=2 KDE_LINGUAS="cs de en fr" -inherit kde4-base +inherit gnome2-utils kde4-base DESCRIPTION="Kwave is a sound editor for KDE." HOMEPAGE="http://kwave.sourceforge.net/" SRC_URI="mirror://sourceforge/kwave/${P}-1.tar.bz2" -SLOT="1" LICENSE="GPL-2" +SLOT="1" KEYWORDS="~amd64 ~x86" IUSE="alsa debug doc flac mp3 ogg oss mmx" @@ -22,21 +22,20 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) flac? ( media-libs/flac ) mp3? ( media-libs/id3lib media-libs/libmad ) - ogg? ( media-libs/libogg media-libs/libvorbis ) -" - + ogg? ( media-libs/libogg media-libs/libvorbis )" DEPEND="${RDEPEND} >=kde-base/kdesdk-misc-${KDE_MINIMAL} media-gfx/imagemagick" -PATCHES=( "${FILESDIR}/${PV}-fix_gettext.patch" ) +PATCHES=("${FILESDIR}/${PV}-fix_gettext.patch") if [ -z "$LINGUAS" ]; then - LINGUAS="en" + LINGUAS="${KDE_LINGUAS}" fi src_configure() { use mmx && append-flags "-mmmx" + mycmakeargs="${mycmakeargs} $(cmake-utils_use_with alsa) $(cmake-utils_use_with doc) @@ -44,7 +43,27 @@ src_configure() { $(cmake-utils_use_with mp3) $(cmake-utils_use_with ogg) $(cmake-utils_use_with oss) - $(cmake-utils_use debug) - " + $(cmake-utils_use debug)" + kde4-base_src_configure } + +src_install() { + kde4-base_src_install + + cat "${D}"/usr/share/icons/hicolor/scalable/apps/kwave.svgz | gunzip -d > "${D}"/usr/share/icons/hicolor/scalable/apps/kwave.svg +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + kde4-base_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + kde4-base_pkg_postrm + gnome2_icon_cache_update +} |