xf86-video-intel: update to xf86-video-intel-0204e55, add mkpkg script to get and repack sources

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-03-11 16:04:04 +01:00 committed by Lukas Rusak
parent 378079819f
commit 71a097f2ad
2 changed files with 42 additions and 2 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="xf86-video-intel"
PKG_VERSION="300319e"
PKG_VERSION="0204e55"
PKG_REV="1"
PKG_ARCH="x86_64"
PKG_LICENSE="OSS"
@ -50,7 +50,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-backlight \
--disable-xaa \
--disable-dga \
--disable-tear-free \
--disable-rendernode \
--disable-create2 \
--disable-async-swap \
--with-xorg-module-dir=$XORG_PATH_MODULES"

View File

@ -0,0 +1,41 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC 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 of the License, or
# (at your option) any later version.
#
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>.
################################################################################
echo "getting sources..."
if [ ! -d xf86-video-intel.git ]; then
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel xf86-video-intel.git
fi
cd xf86-video-intel.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf xf86-video-intel-$GIT_REV
cp -R xf86-video-intel.git xf86-video-intel-$GIT_REV
echo "cleaning sources..."
rm -rf xf86-video-intel-$GIT_REV/.git
echo "packing sources..."
tar cvJf xf86-video-intel-$GIT_REV.tar.xz xf86-video-intel-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf xf86-video-intel-$GIT_REV