From 0a960c07111ee6ea8fe74ed36eec8ac4a0662d18 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 9 Jan 2011 16:04:14 +0100 Subject: [PATCH] sauerbraten: add license headers Signed-off-by: Stephan Raue --- packages/addons/games/sauerbraten/addon | 20 +++++++++++++++++++ packages/addons/games/sauerbraten/build | 20 +++++++++++++++++++ packages/addons/games/sauerbraten/meta | 20 +++++++++++++++++++ .../addons/games/sauerbraten/scripts/start.sh | 5 +++-- 4 files changed, 63 insertions(+), 2 deletions(-) diff --git a/packages/addons/games/sauerbraten/addon b/packages/addons/games/sauerbraten/addon index 176e3a77ba..596303330d 100755 --- a/packages/addons/games/sauerbraten/addon +++ b/packages/addons/games/sauerbraten/addon @@ -1,5 +1,25 @@ #!/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 mkdir -p $ADDON_BUILD/mkimage diff --git a/packages/addons/games/sauerbraten/build b/packages/addons/games/sauerbraten/build index 31f182879b..a4483170c9 100755 --- a/packages/addons/games/sauerbraten/build +++ b/packages/addons/games/sauerbraten/build @@ -1,5 +1,25 @@ #!/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 $BUILD/$1/src diff --git a/packages/addons/games/sauerbraten/meta b/packages/addons/games/sauerbraten/meta index 31cd24d3f4..1a8d50f79a 100644 --- a/packages/addons/games/sauerbraten/meta +++ b/packages/addons/games/sauerbraten/meta @@ -1,3 +1,23 @@ +################################################################################ +# 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="sauerbraten" PKG_VERSION="2010_07_28" PKG_REV="2" diff --git a/packages/addons/games/sauerbraten/scripts/start.sh b/packages/addons/games/sauerbraten/scripts/start.sh index b2aee1e3d6..4621174255 100755 --- a/packages/addons/games/sauerbraten/scripts/start.sh +++ b/packages/addons/games/sauerbraten/scripts/start.sh @@ -1,8 +1,8 @@ #!/bin/sh ################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv +# 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 @@ -20,6 +20,7 @@ # http://www.gnu.org/copyleft/gpl.html ################################################################################ + RESOLUTION=`xrandr | grep Screen | cut -f2 -d"," | sed -e "s/ //g" -e "s/current//g"` RESOLUTION_WIDTH=`echo $RESOLUTION | cut -f1 -d "x"` RESOLUTION_HEIGHT=`echo $RESOLUTION | cut -f2 -d "x"`