mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
new package: add package 'splashutils'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
70b131a193
commit
19e019a3e0
49
packages/sysutils/splashutils/build
Executable file
49
packages/sysutils/splashutils/build
Executable file
@ -0,0 +1,49 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-debug \
|
||||
--disable-static-binaries \
|
||||
--disable-deprecated \
|
||||
--disable-fbcondecor \
|
||||
--disable-helper \
|
||||
--disable-misc \
|
||||
--with-gnu-ld \
|
||||
--without-gpm \
|
||||
--without-mng \
|
||||
--with-png \
|
||||
--without-ttf \
|
||||
--without-ttf-kernel \
|
||||
--with-essential-prefix="/" \
|
||||
--with-essential-bindir="/bin" \
|
||||
--with-essential-sbindir="/sbin" \
|
||||
--with-essential-libdir="/lib" \
|
||||
--with-themedir="/etc/splash" \
|
||||
--without-klibc
|
||||
|
||||
make
|
36
packages/sysutils/splashutils/meta
Normal file
36
packages/sysutils/splashutils/meta
Normal file
@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="splashutils"
|
||||
PKG_VERSION="1.5.4.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dev.gentoo.org/~spock/projects/fbsplash"
|
||||
PKG_URL="http://dev.gentoo.org/~spock/projects/fbsplash/archive//$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="libpng libjpeg-turbo"
|
||||
PKG_BUILD_DEPENDS="toolchain libpng libjpeg-turbo"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="splashutils:"
|
||||
PKG_LONGDESC="splashutils.."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
@ -0,0 +1,24 @@
|
||||
diff -Naur splashutils-1.5.4.4/src/fbsplash.h splashutils-1.5.4.4.patch/src/fbsplash.h
|
||||
--- splashutils-1.5.4.4/src/fbsplash.h 2011-06-12 23:45:22.000000000 +0200
|
||||
+++ splashutils-1.5.4.4.patch/src/fbsplash.h 2012-02-16 07:54:55.028245671 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <linux/kd.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
-#define FBSPLASH_DIR "//lib/splash"
|
||||
+#define FBSPLASH_DIR "/run/splash"
|
||||
#define FBSPLASH_CACHEDIR FBSPLASH_DIR"/cache"
|
||||
#define FBSPLASH_PIDFILE FBSPLASH_CACHEDIR"/daemon.pid"
|
||||
#define FBSPLASH_PROFILE FBSPLASH_CACHEDIR"/profile"
|
||||
diff -Naur splashutils-1.5.4.4/src/fbsplash.h.in splashutils-1.5.4.4.patch/src/fbsplash.h.in
|
||||
--- splashutils-1.5.4.4/src/fbsplash.h.in 2011-06-12 23:43:39.000000000 +0200
|
||||
+++ splashutils-1.5.4.4.patch/src/fbsplash.h.in 2012-02-16 07:54:39.069954498 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <linux/kd.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
-#define FBSPLASH_DIR "@libdir@/splash"
|
||||
+#define FBSPLASH_DIR "/run/splash"
|
||||
#define FBSPLASH_CACHEDIR FBSPLASH_DIR"/cache"
|
||||
#define FBSPLASH_PIDFILE FBSPLASH_CACHEDIR"/daemon.pid"
|
||||
#define FBSPLASH_PROFILE FBSPLASH_CACHEDIR"/profile"
|
Loading…
x
Reference in New Issue
Block a user