aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-17 09:00:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-17 11:01:24 +0000
commit95d050778c1527c92a15f2f72045ef4994dc39f9 (patch)
tree33294ac5c1b8cefd51282ce938738d12c32465d0
parentc88561056b23acdcd61b796d6279e3078ca151bf (diff)
downloadaports-95d050778c1527c92a15f2f72045ef4994dc39f9.tar.gz
aports-95d050778c1527c92a15f2f72045ef4994dc39f9.tar.bz2
aports-95d050778c1527c92a15f2f72045ef4994dc39f9.tar.xz
main/xf86-video-modesetting: let xorg server driver take over
-rw-r--r--main/xf86-video-modesetting/APKBUILD54
1 files changed, 14 insertions, 40 deletions
diff --git a/main/xf86-video-modesetting/APKBUILD b/main/xf86-video-modesetting/APKBUILD
index f256cc6e7b..4121295b07 100644
--- a/main/xf86-video-modesetting/APKBUILD
+++ b/main/xf86-video-modesetting/APKBUILD
@@ -2,57 +2,31 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-modesetting
pkgver=0.9.0
-pkgrel=5
-pkgdesc="X.org generic modesetting video drive"
+pkgrel=6
+pkgdesc="dummy package for compat - can safelu be removed"
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-modesetting/"
arch="all"
license="MIT"
-depends=""
-depends_dev="xorg-server-dev udev-dev libdrm-dev"
-makedepends="$depends_dev autoconf automake libtool util-macros"
+depends="xorg-server"
+depends_dev=""
+makedepends=""
install=""
-subpackages="$pkgname-doc"
-source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-modesetting-$pkgver.tar.bz2
- drmmode_shadow.patch
- 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch
- "
+subpackages=""
+source=""
+
+# this is a dummy package that is only provided for simplifying upgrades
+# upsers should uninstlal this package and use the driver shipped with
+# xorg server
-_builddir="$srcdir"/xf86-video-modesetting-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- libtoolize --force && aclocal -I m4 && autoconf \
- && automake --add-missing || return 1
+ return 0
}
build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ return 0
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1
+ mkdir -p "$pkgdir"
}
-md5sums="da588d4f54111c2deae035998058ce10 xf86-video-modesetting-0.9.0.tar.bz2
-9b1ea59cf9cb3987b3703fdf48f824bd drmmode_shadow.patch
-f72b7661394a515728f822990a971ddc 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"
-sha256sums="90cf085573203dfadd48ea69bd694c4d04ccbe088b6855e9c85c34bb8a95d75c xf86-video-modesetting-0.9.0.tar.bz2
-91c22639428c871ea52ef8eee2b286f47ceaafe5c979303014dbe54c5ba9365e drmmode_shadow.patch
-372d3c5bca33809ba4615ab0a9fe68794eeaad53dd816598ec59378df339d8f2 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"
-sha512sums="0e581deb3f09e932475c1ebf1e5a69239f6e0ac4d37bcc25ee9bc30083c1285c4a5645df960c7bd7103584512eff4149463195a985f469bd24f52059fd487cec xf86-video-modesetting-0.9.0.tar.bz2
-98c6bd20ce0a71b307e3d8f7d9e75892dbd586f029fb2385ff36de1d9e2bf09171bec5c2bf497f149488d48b0738a93db20fc7b04e43840e540bf1ed6a6dc534 drmmode_shadow.patch
-2357ee86c139762d0c1a85bbbb84d81a617a4cf338ddf0b4e07c2be828615a94a2a140cb1e0222438ca1df7d5609acd7d6af7c0b31588f92cd405cd9f2b041e3 0001-modesetting-24bpp-are-too-confusing-shadow-our-way-o.patch"