From 384f71da8e53454e124c2e09c1964a3cc9a51ada Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 9 Jan 2011 16:04:14 +0100 Subject: [PATCH] megaglest: add license headers Signed-off-by: Stephan Raue --- packages/addons/games/megaglest/addon | 20 +++++++++++++++++++ packages/addons/games/megaglest/meta | 20 +++++++++++++++++++ .../addons/games/megaglest/scripts/start.sh | 5 +++-- 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/packages/addons/games/megaglest/addon b/packages/addons/games/megaglest/addon index f0da030c25..e7c5e25314 100755 --- a/packages/addons/games/megaglest/addon +++ b/packages/addons/games/megaglest/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/megaglest/meta b/packages/addons/games/megaglest/meta index 792dc1d639..30224344bd 100644 --- a/packages/addons/games/megaglest/meta +++ b/packages/addons/games/megaglest/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="megaglest" PKG_VERSION="" PKG_REV="2" diff --git a/packages/addons/games/megaglest/scripts/start.sh b/packages/addons/games/megaglest/scripts/start.sh index 6bbfab476e..e32e88a3dc 100755 --- a/packages/addons/games/megaglest/scripts/start.sh +++ b/packages/addons/games/megaglest/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"`