diff --git a/packages/x11/driver/xf86-video-intel/package.mk b/packages/x11/driver/xf86-video-intel/package.mk index e7ce87f9bd..0581d40d43 100644 --- a/packages/x11/driver/xf86-video-intel/package.mk +++ b/packages/x11/driver/xf86-video-intel/package.mk @@ -22,8 +22,8 @@ PKG_REV="1" PKG_ARCH="x86_64" PKG_LICENSE="OSS" PKG_SITE="http://intellinuxgraphics.org/" -PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_URL="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/$PKG_VERSION.tar.xz" +PKG_SOURCE_DIR="$PKG_VERSION" PKG_DEPENDS_TARGET="toolchain libXcomposite util-macros fontsproto systemd xorg-server" PKG_PRIORITY="optional" PKG_SECTION="x11/driver" diff --git a/tools/mkpkg/mkpkg_xf86-video-intel b/tools/mkpkg/mkpkg_xf86-video-intel deleted file mode 100755 index d0f0232930..0000000000 --- a/tools/mkpkg/mkpkg_xf86-video-intel +++ /dev/null @@ -1,41 +0,0 @@ -#!/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 . -################################################################################ - -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