From b81007749aa09f2c6b2cae2ea3407230efdc836a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 9 Jan 2011 16:04:14 +0100 Subject: [PATCH] wesnoth: add license headers Signed-off-by: Stephan Raue --- packages/addons/games/wesnoth/addon | 20 +++++++++++++++++++ packages/addons/games/wesnoth/build | 20 +++++++++++++++++++ packages/addons/games/wesnoth/meta | 20 +++++++++++++++++++ .../addons/games/wesnoth/scripts/start.sh | 5 +++-- 4 files changed, 63 insertions(+), 2 deletions(-) diff --git a/packages/addons/games/wesnoth/addon b/packages/addons/games/wesnoth/addon index a2adc8a93d..ab1201c576 100755 --- a/packages/addons/games/wesnoth/addon +++ b/packages/addons/games/wesnoth/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/wesnoth/build b/packages/addons/games/wesnoth/build index 963cdd1de3..39f7d58a1c 100755 --- a/packages/addons/games/wesnoth/build +++ b/packages/addons/games/wesnoth/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 $PKG_BUILD diff --git a/packages/addons/games/wesnoth/meta b/packages/addons/games/wesnoth/meta index 785bbbb3b8..9578045115 100644 --- a/packages/addons/games/wesnoth/meta +++ b/packages/addons/games/wesnoth/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="wesnoth" PKG_VERSION="1.9.1" PKG_REV="2" diff --git a/packages/addons/games/wesnoth/scripts/start.sh b/packages/addons/games/wesnoth/scripts/start.sh index 84bd763da1..3ba315dbb1 100755 --- a/packages/addons/games/wesnoth/scripts/start.sh +++ b/packages/addons/games/wesnoth/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"`