Add fixed evdi-pre-release

This commit is contained in:
Travis Burtrum 2017-07-11 12:46:29 -04:00
parent 3e49c3651f
commit b5047bd222
3 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# Maintainer: PlusMinus
_libname=evdi
pkgname=$_libname-pre-release
pkgver=1.4.1
pkgrel=8
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64')
url="https://github.com/DisplayLink/evdi"
license=('GPL')
groups=()
depends=(dkms)
makedepends=(libdrm)
optdepends=()
provides=("$_libname=$pkgver")
conflicts=($_libname)
backup=()
options=()
install=$pkgname.install
changelog=$pkgname.Changelog
source=($_libname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
md5sums=('eece77058251418d5707457aa8ae914e')
noextract=()
build() {
# We only need to build the library in this step, dkms will build the module
cd "$_libname-$pkgver/library"
make
}
package() {
# Predfine some target folders
SRCDIR="$pkgdir/usr/src/$_libname-$pkgver" # This one is needed for dkms
LIBNAME=lib$_libname
cd "$_libname-$pkgver"
install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so
install -d $SRCDIR
install -D -m 755 module/* $SRCDIR
}

View File

@ -0,0 +1,19 @@
v1.4.1
Synchronisation of code base to make it in line with Chrome OS kernels
v1.4.0
Compilation fixes for kernel 4.10
API compatibility enforcement between the library and module.
v1.3.43
Adding support for indicating an area limit a client that connects to EVDI has.
v1.3.42
Fixes for Kernels 4.9 and 4.10.
API change: Extension of evdi_connect function, allowing to register modes that the client supports, regardless of the fact they are not necessarily listed in the EDID of a monitor.
v1.2.64
Highlights: fixes for kernel 4.8.
v1.2.55
Module and library code to be included in DisplayLink USB Graphics Software for Ubuntu, version 1.2.

View File

@ -0,0 +1,20 @@
# old version (without -$pkgrel): ${1%%-*}
# new version (without -$pkgrel): ${2%%-*}
post_install() {
echo 'DKMS install...'
dkms install evdi/${1%%-*}
}
pre_upgrade() {
pre_remove ${2%%-*}
}
post_upgrade() {
post_install ${1%%-*}
}
pre_remove() {
echo 'DKMS remove...'
dkms remove evdi/${1%%-*} --all
}