summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-21 17:10:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-21 17:10:26 +0000
commit3b1785627f7a269b6a2bc714a5536b268c25eaad (patch)
tree4efeeeb534af67044e6d21ff36d799f03ae1d95c /media-sound/kwave
parentRequire dev-lang/python[xml] (Bug #259577) (diff)
downloadhistorical-3b1785627f7a269b6a2bc714a5536b268c25eaad.tar.gz
historical-3b1785627f7a269b6a2bc714a5536b268c25eaad.tar.bz2
historical-3b1785627f7a269b6a2bc714a5536b268c25eaad.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.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/kwave')
-rw-r--r--media-sound/kwave/ChangeLog6
-rw-r--r--media-sound/kwave/Manifest4
-rw-r--r--media-sound/kwave/kwave-0.8.2.ebuild39
3 files changed, 36 insertions, 13 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/Manifest b/media-sound/kwave/Manifest
index ce9d191b9fdd..74333c9d07ca 100644
--- a/media-sound/kwave/Manifest
+++ b/media-sound/kwave/Manifest
@@ -1,5 +1,5 @@
AUX 0.8.2-fix_gettext.patch 654 RMD160 1e76d3181991edbe7e94f4e6258c26008f1a0040 SHA1 49d186c79b2ee541b9c0947d3b4b58e9c36cf7aa SHA256 e12b40c17f4822f20502edc24ad6c9d06f39d8dd0e08f23c40874c94498775b5
DIST kwave-0.8.2-1.tar.bz2 2134080 RMD160 2b5821f28cb0e5d9d96befeae2759524dd26097d SHA1 c4681dbba8af01bf8c83d089a8a1aa196dd57c5e SHA256 4704960f7fa06e4bbbc13d315bfd2e1a1347e3c06c1b69a4b4d863be884e5e44
-EBUILD kwave-0.8.2.ebuild 1230 RMD160 f9aa8d56a96613db877af5db6dc9f5651bd9a315 SHA1 af17211dbc39839a538d18a62e5093b480f39698 SHA256 17f68a1654581befe0e29783110e72c090f4c0b9afb3f76122c5892fb9cfecd1
-MISC ChangeLog 2400 RMD160 23f75fd784fed4f220932375565b1c1a96dbfcf8 SHA1 78a9d2f96e70baa964638bb357c8c2eb56c5ab82 SHA256 061b6c5bd40991fcf3f34c5030499a2c95ae8332d610e84b0470fe7bb7100f0c
+EBUILD kwave-0.8.2.ebuild 1601 RMD160 ab8f93f529abc058c73774dbca0eacfada8567e9 SHA1 ffabffb685a3b949984b537ff7c248f7b2b76288 SHA256 d3e2fd94c20e3a7457e8e2821a195c209622babf789eb78ca57db3745a3a9ead
+MISC ChangeLog 2628 RMD160 38cd3e35275604d33af5bedca7af6cfc179336f2 SHA1 82c06b7ce18f5a72fed78d6f442b646ea936c52c SHA256 41ae1bf488076ce79997e2f480c34dd8bd45cd5f2a0685eb8dcebebd24c32ac2
MISC metadata.xml 517 RMD160 0f693008ebbd4520bfeeb3292ae37570da04eaaf SHA1 c8b99c21604452a4eb80b0f57707931b5a22a3a7 SHA256 460292b9dd1af2739b377d06f424cdc3138ef169427fd5c7d7800ac8e885cd11
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
+}