Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
- Loading branch information
Showing
6 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
AUX 99-displaylink.rules 113 SHA256 3431cefa78a0ece4f7994162c01953a9cf71bc987982c0cf955ca6139640b406 SHA512 ce4ea24557dd3c93dd4b8565b117fa16d0d8a073f9709c7bf107e760009d4af47bac487a9518f55c0d692dc1e094c69870bacb470fad1272ff1a8fe01041eec9 WHIRLPOOL 39ffde49039d44fcee9a247723adfd56b7a3db09427c3f27b0c6c870e6ec57fce80dfcdde35b5ec7c1bf698d3937823ef4eeaa7633a7c7f7df7d9dc357e6f192 | ||
AUX displaylink.service 303 SHA256 342e83abfe2a38d5635ea928345e933d2ad127ebd3f7caca476663d4f583684b SHA512 68d18640509f77d8bd7e615e55930c91fdb091b47ef77a292ad154365e4e9d0a4070d7572c73f519824568c32b20f7bed19aeebaa4ced20ed4655475d29d59f2 WHIRLPOOL 97265a42701186f3e779d592071508b1610b2ed06fca4b1599b21292bb6efeca4d6deb3dbb537eeba0e4e31e19855ca07df015932258a579d934a43a1751acd6 | ||
DIST DisplayLink-Ubuntu-1.0.138.zip 5889686 SHA256 02db76f027be95a2defd098ebfc4b94e4d0ef0f9a7e56bb00139bc5ba5e70f4d SHA512 b0a67eb3109c9269e57c780476b0fa87bb94c1d25dc4c089ecef87ebc1fe9fe58a776f71237742e094fec6ead2207ac5c0d028e8f95bfcf796e907a4a7b993b1 WHIRLPOOL ebdf372567741b3ba58ba057fc9f9fec9bd04a43f1a4d8399ef1d2bf8dbe87d97539d410418de72b080229333d6dbd7780b26453d6600c9d9c88b9ca5d1d0b8d | ||
EBUILD displaylink-driver-1.0.138.ebuild 1717 SHA256 5175b1849b6e404df527884a680ab9d0f634e4628be1c037cac7fea520b35608 SHA512 45c66459f35c9e224d625b3dace398558cf3e6439f6750952c092af3189bba5bfbd7ae788b53f767eacd77a70cce919f0f7834c424d513a6b4121dcf89668f02 WHIRLPOOL 9ef0373a437214b81eef3d59ce990a2262fb82005d69f4de06e0c77c7ed55ad2932adb04be26b28492b76e0020c433c5d01665e871d64991f4a1310e771af3c0 |
74 changes: 74 additions & 0 deletions
74
x11-drivers/displaylink-driver/displaylink-driver-1.0.138.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils systemd udev | ||
|
||
DESCRIPTION="DisplayLink USB Graphics Software" | ||
|
||
HOMEPAGE="http://www.displaylink.com/downloads/ubuntu.php" | ||
|
||
SRC_URI="http://downloads.displaylink.com/publicsoftware/DisplayLink-Ubuntu-${PV}.zip" | ||
|
||
|
||
LICENSE="closed" | ||
|
||
SLOT="0" | ||
|
||
KEYWORDS="~amd64 ~x86" | ||
|
||
DEPEND="app-admin/chrpath" | ||
|
||
RDEPEND="virtual/libusb:1 | ||
x11-video/evdi" | ||
|
||
# Use the variable of the normal install script. | ||
# Perhaps we should use '/opt/...' for binary stuff. | ||
# Let's check this later... | ||
# ATM I do not know if the executable require that location. | ||
DST_COREDIR="/usr/lib/displaylink" | ||
DST_DLM_BASENAME="DisplayLinkManager" | ||
|
||
QA_PREBUILT="${DST_COREDIR}/${DST_DLM_BASENAME}" | ||
|
||
src_unpack() { | ||
default | ||
sh ./"${P}".run --noexec --keep | ||
} | ||
|
||
src_install() { | ||
case "${ARCH}" in | ||
amd64) DLM="${S}/x64/DisplayLinkManager";; | ||
x86) DLM="${S}/x86/DisplayLinkManager";; | ||
*) die "invalid ARCH (${ARCH})";; | ||
esac | ||
|
||
# Remove DT_RPATH | ||
chrpath -d "${DLM}" | ||
exeinto "${DST_COREDIR}" | ||
newexe "${DLM}" "${DST_DLM_BASENAME}" | ||
|
||
insinto "${DST_COREDIR}" | ||
doins "${S}/"*.spkg | ||
doins "${S}/LICENSE" | ||
|
||
systemd_dounit "${FILESDIR}"/displaylink.service | ||
|
||
udev_dorules "${FILESDIR}"/99-displaylink.rules | ||
} | ||
|
||
pkg_postinst() { | ||
einfo | ||
einfo "You should enable the display link service:" | ||
einfo " systemctl enable displaylink.service" | ||
einfo "and perhaps restart your system." | ||
einfo | ||
einfo "If all went fine, you should see an additional provider in X:" | ||
einfo " xrandr --listproviders" | ||
einfo "set the provider output source using e.g." | ||
einfo " xrandr --setprovideroutputsource 1 0" | ||
einfo "and configure your displays" | ||
einfo | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="179", ATTR{bNumInterfaces}=="*5", GROUP="plugdev", MODE="0660" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Unit] | ||
Description=DisplayLink Manager Service | ||
After=display-manager.service | ||
Conflicts=getty@tty7.service | ||
|
||
[Service] | ||
ExecStartPre=/sbin/modprobe evdi | ||
ExecStart=/usr/lib/displaylink/DisplayLinkManager | ||
Restart=always | ||
WorkingDirectory=/usr/lib/displaylink | ||
RestartSec=5 | ||
|
||
[Install] | ||
WantedBy=graphical.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EBUILD evdi-2015.08.04.0.ebuild 723 SHA256 91a15880ca213615b6623cea4316ab303cf68c671ec3e8135bb857767d533dd6 SHA512 513d1890d4dc2969a5a72720a6e14ee1914f1213d9a84fe7952a78479857f708ec127da123c88fc05d8657afbd8dec6abd696f0d49974e8e1ebad34aeef60b19 WHIRLPOOL d35a916a77caba79a5a8a92051519074feb6ef8e41f33cf302cb1efa16e9e7492edcefc9be2025a016adea2158c5969a5367161f6cbd547050770c7378ee1895 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils linux-info linux-mod git-r3 | ||
|
||
DESCRIPTION="Extensible Virtual Display Interface" | ||
HOMEPAGE="https://github.com/DisplayLink/evdi" | ||
#SRC_URI="ftp://foo.example.org/${P}.tar.gz" | ||
EGIT_REPO_URI="git://github.com/DisplayLink/evdi.git" | ||
EGIT_COMMIT=a378a15708bd1fe219aa35a6c4c0f80b5eca7d3c | ||
|
||
LICENSE="GPL-2" | ||
|
||
SLOT="0" | ||
|
||
KEYWORDS="~amd64 ~x86" | ||
|
||
#S=${WORKDIR}/${P} | ||
|
||
MODULE_NAMES="evdi(video:${S}/module)" | ||
LIB_PATH="${S}/library" | ||
|
||
src_compile() { | ||
linux-mod_src_compile | ||
|
||
pushd "${LIB_PATH}" | ||
default | ||
popd | ||
} | ||
|
||
src_install() { | ||
linux-mod_src_install | ||
|
||
pushd "${LIB_PATH}" | ||
dolib.so libevdi.so | ||
popd | ||
} | ||
|