aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 10:48:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:04 +0000
commitf9377ff50c577dc343a6b2c54660a14c9e95f6d3 (patch)
tree2ed41e8ce597aa01e277d7bc56009091012228e4
parent445268fd004e0d62fe7a2a9c7a160061cbe0c7ca (diff)
downloadaports-f9377ff50c577dc343a6b2c54660a14c9e95f6d3.tar.bz2
aports-f9377ff50c577dc343a6b2c54660a14c9e95f6d3.tar.xz
main/xf86-video-sunleo: upgrade to 1.2.2
-rw-r--r--main/xf86-video-sunleo/APKBUILD29
-rw-r--r--main/xf86-video-sunleo/git-fixes.patch42
2 files changed, 7 insertions, 64 deletions
diff --git a/main/xf86-video-sunleo/APKBUILD b/main/xf86-video-sunleo/APKBUILD
index e0ba073395..c692c5a1fc 100644
--- a/main/xf86-video-sunleo/APKBUILD
+++ b/main/xf86-video-sunleo/APKBUILD
@@ -1,32 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-sunleo
-pkgver=1.2.1
-pkgrel=4
+pkgver=1.2.2
+pkgrel=0
pkgdesc="Leo video driver"
url="http://xorg.freedesktop.org/"
arch="all"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev fontsproto randrproto
videoproto renderproto"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
- git-fixes.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -37,13 +27,8 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="6f998ea58bf3c86307991cce67720940 xf86-video-sunleo-1.2.1.tar.bz2
-c3199c542604db52a3c43cc79da64ebd git-fixes.patch"
-sha256sums="1ace84e14edbbf76728d61af7b1440a461ddf22f1dba0f025879d286311f491d xf86-video-sunleo-1.2.1.tar.bz2
-b185411f00b19214b9e95b2ca766373b652e9f94ca9a06cdf8fdc08dca07c359 git-fixes.patch"
-sha512sums="52f1578dba4f77e2d999ea2017325df6ac324d60ec2e62677ef9a900aabb183650bcd0923b5a0a1cd7c13c9e80c8a47223b96be651e5a5ecb635654f3eb67af1 xf86-video-sunleo-1.2.1.tar.bz2
-0d299c8e26b585536dc2d97ebdfff243e15f600e4b35fe377b17cf0031b5419719d980da017981eb0881f067d4497538061c1b60e20107cfed13b6eedff51dd8 git-fixes.patch"
+sha512sums="467559e608b59dcf2a50cbaddc218ad0778e88515906fed9d6346db09187f3f7645482113882bcf81428d4af3d3f2cccec7f24663c12c23a411f8a87551ef23f xf86-video-sunleo-1.2.2.tar.bz2"
diff --git a/main/xf86-video-sunleo/git-fixes.patch b/main/xf86-video-sunleo/git-fixes.patch
deleted file mode 100644
index 2b973b8833..0000000000
--- a/main/xf86-video-sunleo/git-fixes.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e9b0b0d5765fb9b20be05642f01531c41d148335 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Wed, 12 Nov 2014 11:03:08 +1000
-Subject: drop mifillarc.h include
-
-
-diff --git a/src/leo_accel.c b/src/leo_accel.c
-index 3c509ba..2ecb759 100644
---- a/src/leo_accel.c
-+++ b/src/leo_accel.c
-@@ -34,7 +34,6 @@
- #include <X11/fonts/fontstruct.h>
- #include "dixfontstr.h"
- #include "fb.h"
--#include "mifillarc.h"
- #include "miwideline.h"
- #include "mi.h"
-
---
-cgit v0.10.2
-
-From 7cab298aa9ea095237c1ab288496d6deb05c3f67 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Wed, 12 Nov 2014 14:17:35 +1000
-Subject: drop miwideline.h include
-
-
-diff --git a/src/leo_accel.c b/src/leo_accel.c
-index 2ecb759..3981f61 100644
---- a/src/leo_accel.c
-+++ b/src/leo_accel.c
-@@ -34,7 +34,6 @@
- #include <X11/fonts/fontstruct.h>
- #include "dixfontstr.h"
- #include "fb.h"
--#include "miwideline.h"
- #include "mi.h"
-
- #include "leo.h"
---
-cgit v0.10.2
-