* [Buildroot] [PATCH] sound-theme-borealis: new package
@ 2012-07-20 9:20 spdawson at gmail.com
2012-07-20 19:10 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: spdawson at gmail.com @ 2012-07-20 9:20 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/sound-theme-borealis/Config.in | 6 ++++++
.../sound-theme-borealis/sound-theme-borealis.mk | 21 ++++++++++++++++++++
3 files changed, 28 insertions(+)
create mode 100644 package/sound-theme-borealis/Config.in
create mode 100644 package/sound-theme-borealis/sound-theme-borealis.mk
diff --git a/package/Config.in b/package/Config.in
index d0daa18..ee523d9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -498,6 +498,7 @@ source "package/collectd/Config.in"
source "package/empty/Config.in"
source "package/mobile-broadband-provider-info/Config.in"
source "package/shared-mime-info/Config.in"
+source "package/sound-theme-borealis/Config.in"
source "package/sound-theme-freedesktop/Config.in"
endmenu
diff --git a/package/sound-theme-borealis/Config.in b/package/sound-theme-borealis/Config.in
new file mode 100644
index 0000000..fcc109f
--- /dev/null
+++ b/package/sound-theme-borealis/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_SOUND_THEME_BOREALIS
+ bool "sound-theme-borealis"
+ help
+ Borealis sound theme.
+
+ http://kde-look.org/content/show.php?content=12584
diff --git a/package/sound-theme-borealis/sound-theme-borealis.mk b/package/sound-theme-borealis/sound-theme-borealis.mk
new file mode 100644
index 0000000..c6db344
--- /dev/null
+++ b/package/sound-theme-borealis/sound-theme-borealis.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# sound-theme-borealis
+#
+#############################################################
+SOUND_THEME_BOREALIS_VERSION = 0.9a
+SOUND_THEME_BOREALIS_SITE = http://ico.bukvic.net/Linux/Borealis_soundtheme
+SOUND_THEME_BOREALIS_SOURCE = \
+ Borealis_sound_theme_ogg-$(SOUND_THEME_BOREALIS_VERSION).tar.bz2
+
+define SOUND_THEME_BOREALIS_INSTALL_TARGET_CMDS
+ $(INSTALL) -d $(TARGET_DIR)/usr/share/sounds/borealis/stereo
+ cp -a $(@D)/*.ogg $(TARGET_DIR)/usr/share/sounds/borealis/stereo
+ chmod 0644 $(TARGET_DIR)/usr/share/sounds/borealis/stereo/*.ogg
+endef
+
+define SOUND_THEME_BOREALIS_UNINSTALL_TARGET_CMDS
+ $(RM) -r $(TARGET_DIR)/usr/share/sounds/borealis
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] sound-theme-borealis: new package
2012-07-20 9:20 [Buildroot] [PATCH] sound-theme-borealis: new package spdawson at gmail.com
@ 2012-07-20 19:10 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-07-20 19:10 UTC (permalink / raw)
To: buildroot
Le Fri, 20 Jul 2012 10:20:03 +0100,
spdawson at gmail.com a ?crit :
> From: Simon Dawson <spdawson@gmail.com>
>
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
Committed, thanks. I have done a minor change on the installation
procedure, to use a loop of $(INSTALL) instead of creating the
directory, copying files, and fixing permissions afterwards.
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-20 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 9:20 [Buildroot] [PATCH] sound-theme-borealis: new package spdawson at gmail.com
2012-07-20 19:10 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.