mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
replace xf86-video-armsoc with -git built from the same tag
this makes it so we don't have to use tarballs and can just pull the correct commit
This commit is contained in:
parent
06f2e20a76
commit
edacac7bdd
3 changed files with 22 additions and 52 deletions
|
@ -6,36 +6,38 @@
|
||||||
|
|
||||||
buildarch=4
|
buildarch=4
|
||||||
|
|
||||||
pkgname="xf86-video-armsoc"
|
pkgname=xf86-video-armsoc-git
|
||||||
pkgver=20130319
|
pkgver=145.47a3271
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/xf86-video-armsoc"
|
||||||
|
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
||||||
|
}
|
||||||
|
epoch=1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=('compat_post_X_1.13.patch')
|
conflicts=(xf86-video-armsoc)
|
||||||
md5sums=('12ccb37f9bdfe2e920d95a2cca832295')
|
replaces=(xf86-video-armsoc)
|
||||||
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git"
|
provides=(xf86-video-armsoc)
|
||||||
|
|
||||||
|
source=('compat_post_X_1.13.patch'
|
||||||
|
"git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271")
|
||||||
|
|
||||||
|
md5sums=('12ccb37f9bdfe2e920d95a2cca832295'
|
||||||
|
'SKIP')
|
||||||
_gitname="xf86-video-armsoc"
|
_gitname="xf86-video-armsoc"
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd "$srcdir"
|
cd "$srcdir/$_gitname"
|
||||||
msg "Connecting to git server..."
|
|
||||||
|
|
||||||
if [[ -d "$_gitname" ]]; then
|
|
||||||
cd "$_gitname" && git pull origin
|
|
||||||
msg "The local files are updated."
|
|
||||||
else
|
|
||||||
git clone "$_gitroot" "$_gitname"
|
|
||||||
cd "$_gitname"
|
|
||||||
fi
|
|
||||||
msg "GIT checkout done or server timeout"
|
|
||||||
|
|
||||||
msg "Patching source..."
|
msg "Patching source..."
|
||||||
# X 1.13 compatibility from the Linaro upstream
|
# X 1.13 compatibility from the Linaro upstream
|
||||||
git apply ${srcdir}/compat_post_X_1.13.patch
|
git apply ${srcdir}/compat_post_X_1.13.patch
|
||||||
|
}
|
||||||
|
build() {
|
||||||
|
cd "$_gitname"
|
||||||
msg "Starting build..."
|
msg "Starting build..."
|
||||||
./autogen.sh --prefix=/usr
|
./autogen.sh --prefix=/usr
|
||||||
make
|
make
|
||||||
|
@ -48,3 +50,4 @@ package() {
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Maintainer: Mike Brown <mbrown@archlinuxarm.org>
|
|
||||||
|
|
||||||
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg
|
|
||||||
|
|
||||||
buildarch=4
|
|
||||||
|
|
||||||
pkgname="xf86-video-armsoc"
|
|
||||||
pkgver=20121126
|
|
||||||
pkgrel=3
|
|
||||||
arch=('armv7h')
|
|
||||||
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
|
||||||
license=('GPL2')
|
|
||||||
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
|
||||||
options=('!libtool')
|
|
||||||
source=("xf86-video-armsoc.tar.gz")
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}/${pkgname}"
|
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=/usr
|
|
||||||
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
pkgdesc="armsoc framebuffer driver for X"
|
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}"
|
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" install
|
|
||||||
}
|
|
||||||
md5sums=('2b20b595c197194ebc29f22fb7246c31')
|
|
Binary file not shown.
Loading…
Reference in a new issue