summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-21 16:27:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-21 16:27:16 +0000
commit494d467976ec7de97a059dd3599467d2adb20cdb (patch)
treea358505cc9193b33be4743d84aba2b5502bac6c2 /media-sound/k3guitune
parentFix compilation with glibc-2.10 (Bug #270682) (diff)
downloadhistorical-494d467976ec7de97a059dd3599467d2adb20cdb.tar.gz
historical-494d467976ec7de97a059dd3599467d2adb20cdb.tar.bz2
historical-494d467976ec7de97a059dd3599467d2adb20cdb.zip
Desktop entry and Icon.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/k3guitune')
-rw-r--r--media-sound/k3guitune/ChangeLog6
-rw-r--r--media-sound/k3guitune/Manifest6
-rw-r--r--media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch40
-rw-r--r--media-sound/k3guitune/files/k3guitune.xpm51
-rw-r--r--media-sound/k3guitune/k3guitune-1.01.ebuild14
5 files changed, 110 insertions, 7 deletions
diff --git a/media-sound/k3guitune/ChangeLog b/media-sound/k3guitune/ChangeLog
index 9fc5480cfb67..c32c0092cc93 100644
--- a/media-sound/k3guitune/ChangeLog
+++ b/media-sound/k3guitune/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/k3guitune
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.23 2009/05/21 15:50:45 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.24 2009/05/21 16:27:07 ssuominen Exp $
+
+ 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> k3guitune-1.01.ebuild,
+ +files/k3guitune-1.01-desktop-entry.patch, +files/k3guitune.xpm:
+ Desktop entry and Icon.
21 May 2009; Samuli Suominen <ssuominen@gentoo.org> -k3guitune-1.0.ebuild,
k3guitune-1.01.ebuild:
diff --git a/media-sound/k3guitune/Manifest b/media-sound/k3guitune/Manifest
index 3a79edff5f92..e090b0d6878d 100644
--- a/media-sound/k3guitune/Manifest
+++ b/media-sound/k3guitune/Manifest
@@ -1,7 +1,9 @@
AUX k3guitune-1.0-gcc43.patch 676 RMD160 b0dce1252fd3efe3319c660ff37b2aa4b248b071 SHA1 131bd10b6492df6fe7b6cf1e03f8186abe094722 SHA256 908bdccd7f61b7b8ebd1674166a7291ae5af5cacf788eeee6d24020746e93c55
+AUX k3guitune-1.01-desktop-entry.patch 1711 RMD160 fce7583d6161a3dc0b9781431e7540a1d2f348af SHA1 c96e342210ad1daff3dd82aaab4038991b943e06 SHA256 44da9b8ec186c66dedda684bcf878343a6e2a41baa4d77f88a0fb70bcf7f67c3
AUX k3guitune-1.01-fftw.patch 1077 RMD160 fb7c4d97a50db0656c31f61a78a9cdbd8d4f11d3 SHA1 9aaaa6126998ae8af4949a475344565539688dc9 SHA256 82da1b0c51a09733459423a60a42731768e9fdffb5b3ea3fc11b9ef7632de6a2
+AUX k3guitune.xpm 1449 RMD160 621ad6c8d15e6ba25098ac7851493d3705691d65 SHA1 a49258dada20319d0e87133715e16debc907d8ab SHA256 64eafb2ee3e5018abd590e0598df2d1307eb8ec55f5bbfa216bd08ab28404e7b
DIST k3guitune-1.01.tar.gz 1650319 RMD160 65e50ebde164767f41790cc447b36f793ba80757 SHA1 60adc200670026e5ab49f9cb79539ab275be3bc8 SHA256 19cfcb611991757100ceb8b37b173085fb5cb8d355527a76e4022ebc5ae060e3
DIST kde-admindir-3.5.5.tar.bz2 187274 RMD160 24528f3bf94e7d1a1036b6e5af180719785839ed SHA1 b640d2606305201b0ec030555c324d326440efff SHA256 1aa56856e432839ec74a67ab33fc21b56ed4f1b4b5c60bfd5b953cb2d3423153
-EBUILD k3guitune-1.01.ebuild 1590 RMD160 b47eb12bde429235a245dade27d78caaf7763e91 SHA1 d940d0b93a58a75afeae962db4176e55290ff742 SHA256 839dee025b332a8d0fc0a89086298071791ed36bfcd19d813726e3931a872a72
-MISC ChangeLog 3355 RMD160 ecc6469addfd5ddcc9a8bf55205d194bb543e38c SHA1 9bf085bc7b313bc84063bc3b85b6090f4661a187 SHA256 5aec6b89af04950cff4f3a802efa4efb8e6ca3133ee24a200590993a6c8b37f6
+EBUILD k3guitune-1.01.ebuild 1703 RMD160 b1c9c3b112137f0f3fc5713be46384d7c2257bec SHA1 f42fbd518748b63b86d5238d3a4a29c157dfc46f SHA256 03e643f26ceef5982b3907bd3f825d0aaa32b7ce5b6a8d8e907818c2860b6b84
+MISC ChangeLog 3526 RMD160 591e0f1919f14c3312fa1f3808db7d53600fb2d1 SHA1 5a5ee46b6e33878a5a5914de9ac2952909ce35fd SHA256 453c490bb7dc3f921ac84ee703b5d5c64c67b49243adb197c5f702328e50acec
MISC metadata.xml 175 RMD160 8217c4a76a964b25b18eb6446b5364cf64b138a8 SHA1 8ae12528d1d4edb7a19134a659e8e7e8027fdec8 SHA256 2f35f6077ef4ecfad27847015b45c84c02488fb5a80413e5537e28b410141053
diff --git a/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch b/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch
new file mode 100644
index 000000000000..80bf2818acfb
--- /dev/null
+++ b/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch
@@ -0,0 +1,40 @@
+diff -ur k3guitune-1.01.orig/k3guitune/k3guitune.desktop k3guitune-1.01/k3guitune/k3guitune.desktop
+--- k3guitune-1.01.orig/k3guitune/k3guitune.desktop 2007-12-15 15:16:27.000000000 +0200
++++ k3guitune-1.01/k3guitune/k3guitune.desktop 2009-05-21 19:19:27.000000000 +0300
+@@ -1,12 +1,13 @@
+ # KDE Config File
+ [Desktop Entry]
+-Encoding=UTF-8
++Version=1.0
+ Type=Application
+-Exec=k3guitune -caption "%c" %i %m
+-Icon=
+-DocPath=k3guitune/index.html
++Exec=k3guitune -caption "%c" %i
++Icon=k3guitune
++X-KDE-DocPath=k3guitune/index.html
+ Comment=
+ Comment[de]=
+-Terminal=0
++Terminal=false
+ Name=K3GuiTune
+ Name[de]=K3GuiTune
++Categories=AudioVideo;KDE;
+diff -ur k3guitune-1.01.orig/k3guitune/Makefile.am k3guitune-1.01/k3guitune/Makefile.am
+--- k3guitune-1.01.orig/k3guitune/Makefile.am 2007-12-15 15:16:27.000000000 +0200
++++ k3guitune-1.01/k3guitune/Makefile.am 2009-05-21 19:25:00.000000000 +0300
+@@ -7,11 +7,11 @@
+ EXTRA_DIST = k3guitune.desktop k2guitune_meta_unload.cpp logview.cpp logview.h main.cpp osziview.cpp osziview.h resources.h guitune.cpp guitune.h k2guitune.cpp k2guitune.h k3guituneui.rc soundinput.h soundinput.cpp audiodlg.h audiodlg.cpp
+
+ install-data-local:
+- $(mkinstalldirs) $(kde_appsdir)/Multimedia/
+- $(INSTALL_DATA) $(srcdir)/k3guitune.desktop $(kde_appsdir)/Multimedia/k3guitune.desktop
++ $(mkinstalldirs) $(datadir)/applications/kde
++ $(INSTALL_DATA) $(srcdir)/k3guitune.desktop $(datadir)/applications/kde/k3guitune.desktop
+
+ uninstall-local:
+- -rm -f $(kde_appsdir)/Multimedia/k3guitune.desktop
++ -rm -f $(datadir)/applications/kde/k3guitune.desktop
+
+ # These paths are KDE specific. Use them:
+ # kde_appsdir Where your application's menu entry (.desktop) should go to.
diff --git a/media-sound/k3guitune/files/k3guitune.xpm b/media-sound/k3guitune/files/k3guitune.xpm
new file mode 100644
index 000000000000..77f6511d6653
--- /dev/null
+++ b/media-sound/k3guitune/files/k3guitune.xpm
@@ -0,0 +1,51 @@
+/* XPM */
+static char * guitune_logo_xpm[]={
+"32 32 16 1",
+"f c #808080",
+"k c #ffa858",
+"g c #a0a0a0",
+"e c #c3c3c3",
+"b c #00ff00",
+". c None",
+"i c #c05800",
+"# c #000000",
+"j c #ff8000",
+"m c #400000",
+"n c #800000",
+"l c #ffdca8",
+"d c #585858",
+"a c #ffffff",
+"c c #ff0000",
+"h c #00c0c0",
+"................................",
+"................................",
+"................................",
+"................................",
+".....................#######....",
+"#################..##aaaaaaa##..",
+"##b#####b#####b####aaabbbbbaaa##",
+"##b#####b#####b###aaccbbbddccaa#",
+"#b#b###b#b###b#b#.#accaaadacca#.",
+"#b#b###b#b###b#b#.#aaaaaedaaaa#.",
+"#b#b###b#b###b#b#..#aaaafgaaa#..",
+"hhhbhhbhhbhhbhhbh###aaaadgaaa#..",
+"####b#b###b#b####iii#a#####a#...",
+"####b#b###b#b####iji##iiii###...",
+"####b#b###b#b####ijiiiijjii#....",
+"#####b#####b########jjjjjji#....",
+"#####b#####b######k#kikjkii#####",
+"#################l#l#ljlklmlmlml",
+"#iijijjjnmmjlil#l#l#l#lilnlnlnln",
+"#iiijjjjnmmlilil#l#l#lilklnlnlnl",
+"#iijjjjjnmmjlil#k#k#k#kjkii#####",
+"#iiijjjjjmmjkkki#####ijjjji#....",
+"#iijjjjjjmmjjjjki###ijjjjji#....",
+".#iijjjjjmmjjjjjiiiijjjjjji#....",
+".#ijijjjjjjjjjjjjjjjjjjjjj#.....",
+".#iiijjjjjjjjjjjjjjjjjjjji#.....",
+"..#ijijjjjjjjjjji###jjjjii#.....",
+"...#iiijjjjijjii#nnn#iiin#......",
+"....##iijjijji##.....####.......",
+"......########..................",
+"................................",
+"................................"};
diff --git a/media-sound/k3guitune/k3guitune-1.01.ebuild b/media-sound/k3guitune/k3guitune-1.01.ebuild
index 5d29dd60b9ad..198df64e5355 100644
--- a/media-sound/k3guitune/k3guitune-1.01.ebuild
+++ b/media-sound/k3guitune/k3guitune-1.01.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/k3guitune/k3guitune-1.01.ebuild,v 1.7 2009/05/21 16:01:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-1.01.ebuild,v 1.8 2009/05/21 16:27:07 ssuominen Exp $
EAPI=2
ARTS_REQUIRED=never
@@ -30,10 +30,11 @@ for X in ${LANGS} ${LANGS_DOC} ; do
IUSE="${IUSE} linguas_${X}"
done
-src_unpack() {
- kde_src_unpack
+src_prepare() {
+ kde_src_prepare
epatch "${FILESDIR}"/${PN}-1.0-gcc43.patch \
- "${FILESDIR}"/${P}-fftw.patch
+ "${FILESDIR}"/${P}-fftw.patch \
+ "${FILESDIR}"/${P}-desktop-entry.patch
for X in ${LANGS} ; do
use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po"
@@ -59,3 +60,8 @@ src_configure() {
kde_src_configure
}
+
+src_install() {
+ kde_src_install
+ doicon "${FILESDIR}"/${PN}.xpm
+}