[Buildroot] [PATCH]: Added splashy package.

Belisko Marek marek.belisko at gmail.com
Thu Aug 5 13:35:06 UTC 2010


Splashy is a next generation boot splashing system for Unix-like systems.
It's only compile tested (don't have a board with display).

Splashy is located at server which need certificate. To avoid that
configure wget option with
--no-check-certificate to properly package download.

>From 4458d3897120d1a68d986c3d77f65bb1a198247a Mon Sep 17 00:00:00 2001
From: Marek Belisko <marek.belisko at gmail.com>
Date: Thu, 5 Aug 2010 15:29:36 +0200
Subject: [PATCH] Added splashy package.

Signed-off-by: Marek Belisko <marek.belisko at gmail.com>
---
 package/Config.in          |    1 +
 package/file/file.mk       |    6 ++++++
 package/splashy/Config.in  |   10 ++++++++++
 package/splashy/splashy.mk |   21 +++++++++++++++++++++
 4 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 package/splashy/Config.in
 create mode 100644 package/splashy/splashy.mk

diff --git a/package/Config.in b/package/Config.in
index 4d0c779..484e526 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -105,6 +105,7 @@ source "package/sdl_sound/Config.in"
 source "package/sdl_net/Config.in"
 source "package/sdl_ttf/Config.in"
 source "package/sdl_gfx/Config.in"
+source "package/splashy/Config.in"

 comment "other GUIs"
 source "package/qt/Config.in"
diff --git a/package/file/file.mk b/package/file/file.mk
index b8281d0..e998be9 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -7,8 +7,14 @@
 FILE_VERSION = 5.04
 FILE_SITE = ftp://ftp.astron.com/pub/file/
 FILE_DEPENDENCIES = host-file zlib
+FILE_INSTALL_STAGING = YES
 HOST_FILE_DEPENDENCIES = host-zlib

+define FILE_INSTALL_STAGING_CMDS
+	$(INSTALL) -D $(@D)/src/.libs/libmagic.a $(STAGING_DIR)/usr/lib/libmagic.a
+	$(INSTALL) -D $(@D)/src/magic.h $(STAGING_DIR)/usr/include/magic.h
+endef
+
 define FILE_UNINSTALL_TARGET_CMDS
 	$(MAKE) DESTDIR=$(TARGET_DIR) uninstall -C $(FILE_DIR)
 	rm -f $(TARGET_DIR)/usr/lib/libmagic.*
diff --git a/package/splashy/Config.in b/package/splashy/Config.in
new file mode 100644
index 0000000..f5457ab
--- /dev/null
+++ b/package/splashy/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SPLASHY
+	bool "splashy"
+	select BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBMAGIC
+	select BR2_PACKAGE_LIBPNG
+	help
+	  boot splashing system.
+
+	  http://splashy.alioth.debian.org/wiki/about
diff --git a/package/splashy/splashy.mk b/package/splashy/splashy.mk
new file mode 100644
index 0000000..9c446e8
--- /dev/null
+++ b/package/splashy/splashy.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# splashy
+#
+#############################################################
+
+SPLASHY_VERSION:=0.3.13
+SPLASHY_SITE = https://alioth.debian.org/frs/download.php/2691/
+SPLASHY_SOURCE = splashy-$(SPLASHY_VERSION).tar.gz
+SPLASHY_LIBTOOL_PATCH = NO
+SPLASHY_INSTALL_STAGING = YES
+SPLASHY_DEPENDENCIES = directfb libglib2 file libpng
+
+define LIBMAGIC_INSTALL_STAGING_CMDS
+	$(INSTALL) -D $(@D)/sysdep.h $(STAGING_DIR)/usr/include/sysdep.
+	cp -dpf $(@D)/libsplashycnf.so* $(STAGING_DIR)/usr/lib
+endef
+
+$(eval $(call AUTOTARGETS,package,splashy))
+
+
-- 
1.7.1



-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com


More information about the buildroot mailing list