From 2cd7a2ccf93ea5eb2f6d0037432313a9436fbfd4 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 1 Sep 2022 16:31:07 -0700 Subject: [PATCH] x11-drivers/displaylink-driver: add 5.6.1.59.184 --- x11-drivers/displaylink-driver/Manifest | 3 + .../displaylink-driver-5.6.1.59.184.ebuild | 70 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 x11-drivers/displaylink-driver/displaylink-driver-5.6.1.59.184.ebuild diff --git a/x11-drivers/displaylink-driver/Manifest b/x11-drivers/displaylink-driver/Manifest index 5f68fc3..2dfe0fb 100644 --- a/x11-drivers/displaylink-driver/Manifest +++ b/x11-drivers/displaylink-driver/Manifest @@ -3,7 +3,10 @@ AUX openrc_start_stop_functions 85 BLAKE2B d4182ffd673627f96603fae6a51427c9ac3c1 DIST displaylink-driver-5.4.1.55.174.zip 14500327 BLAKE2B 55a2e7dfc104cc785d49a2abe345d6a26639797bfe26e83a0e6910d5c1d7275e55b1e1794b91089adf728e61e535a81162c633230fabc54c1494969004fbd796 SHA512 075d69e96b2cc86c888206507d710c91073e944365759258b5b81086f126ee80386fd3dbddee8ee2b59e89b8474899cd26f191a307d41af8a76b08ca5bc2b18a DIST displaylink-driver-5.5.0.59.118.zip 16894726 BLAKE2B 626751dc96eff9533d57610a77c7a6880dd5ae49b6ae3de66c849111735cab2a4ab800e9e45e083963f1ec078cf619e8444972420ea8ba81003a12fa301c862c SHA512 4ff52abec9de7dbb517ad2c6a5358bfc90293ab92ec6b4ebf3962f16aaae55e8208b9c9920422836305fb7976e48a61ca0f951f9d34cea8bf484e37172225e39 DIST displaylink-driver-5.5.0.59.151.zip 16893957 BLAKE2B b18421f630979cdef6e70a353d3f7bb773998cbbaa09bd41f27c341ed83ef22b74dd75c3556aa8f1af2cfb5a55e0fed5b4592e847972da6bacc776725a90bd45 SHA512 76405879b48bd8e2fece56aab618465e25ff8e1b03fad9585279bf42b1a11654bc74a082e39ae4f46e873da00afb71f8ddfea5afcb4f1417d7f5f6fc56e3ac9b +DIST displaylink-driver-5.6.1.59.184.zip 16905857 BLAKE2B 2eb15bbf21802eaed0408fa218993fbbd07b92c8c313b39fde9f9a8961b96e75ed15902c20e66fb68b3c41e4abbe03c6224547a98cbde3250c3507bace94130d SHA512 1a52db6ebe78ead91ae1e62a5242977c85165f71196e7ac9ea2cb0964d1988fed47d23832a0e30112a6b254fbb54626dfb43b13d05bc47eee9d0ebbe242612fb EBUILD displaylink-driver-5.4.1.55.174.ebuild 1581 BLAKE2B 312346aa665fbeb1aa1279e71ba629f08d859f1e80e9e5b41c655c5cda727088384c1907880a1761afbee0d6558c1eb912e4f1ac9e90431c881cf2997dcb1b8f SHA512 d4dea8ee1bd91bc54db574dc4cd82845eb47c75af9820ce870d2b3eb19a8482a26b280ab36065394459df6006e9b5a2dad999df858ab0984890a2adb90227c5b EBUILD displaylink-driver-5.5.0.59.118.ebuild 1618 BLAKE2B 7037e7f130773c2569ef405af857b41fa0ff17ea783253572ad1d80dbcc2548e6d01f003f5e93e0b1dfe1af0e541bb858b033f2bfaf7f6ca3253369074977084 SHA512 c7b71a8c13fd4cad1369c07b1184b95059ee8cbdba037ed8d37f74409fd401c9bd5ba66750dc92fc204a1a73ea684903996eddd3a05eeaa96ebeea55c56c3116 EBUILD displaylink-driver-5.5.0.59.151.ebuild 1612 BLAKE2B 3ff0e5fd492aefee0107c394b39e488e35c5f2a7d3c8b6ea950ad9cc58a43c27bc0acaa26b6772d8d00ff6fd23b2af9f2cdc171acfeeaf0bd981decc953d47f1 SHA512 f1392e9d787b7c69476e9a07ff8d2141b078b4b59b6f993b4ac02b8b262cff28e0fd1af8c378f791cc65194aa47e99f7af8e7bfd0f1ff30bdb0a5726c380b979 +EBUILD displaylink-driver-5.6.1.59.184.ebuild 1645 BLAKE2B f63c3a879a4ec21fd9dce569c94ad1b2bf17d39a88e041e8627ae03f9eeb06336b02d2d25da848548959c71c737218d4040426519ef0b0dd56fc629e438169b4 SHA512 ca945d75b66ca4550c2298013fc2baaeaa38d36c388dda823e26d4cd2023e5a7eda3a3d658695fb2f6ceba383bf4626ae27e99c21f352c2dfbed80758c80217e +MISC .displaylink-driver-5.6.1.59.184.ebuild.swp 12288 BLAKE2B 55641cd8c14d4bc2b2d8b120448b2af07475b450cf5e94993764f1df4f85a071d52115c5b57a4a149ad780fb97e1cc75e700c997bc61ad4ee45446bec88a9586 SHA512 13ad62d69b407dec18d925e69cf5ef6769457b8db6647712c966c3c5eee91a88586a44bf364eda334f16816e50c655e8311ec9d00ea330727a9fa817b1f96e7d MISC metadata.xml 242 BLAKE2B 5f42ea428d38cea721ea75e612d85330f2f95d32ac789410403705c434c5f314b3605fc635919f1ecdc9b6e1ef1141e88905bf556594057efa746e2744d8fd60 SHA512 f433fd15570f9f402b588b7a656f7ceba57b7b124b823aaf6fe59d67aaef9ecb2b7d01c7709cfa0a2babe6fbbca6031e29581c45906a9cd35f283e88aa231028 diff --git a/x11-drivers/displaylink-driver/displaylink-driver-5.6.1.59.184.ebuild b/x11-drivers/displaylink-driver/displaylink-driver-5.6.1.59.184.ebuild new file mode 100644 index 0000000..3510f8e --- /dev/null +++ b/x11-drivers/displaylink-driver/displaylink-driver-5.6.1.59.184.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev + +AR_DATE="2022-08" +AR_NAME="DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.6.1-EXE.zip" +UBUNTU_VER="1604" + +MY_PV=$(ver_rs 3 '-') +MY_P="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_P}" + +SRC_URI="https://www.synaptics.com/sites/default/files/exe_files/${AR_DATE}/${AR_NAME} -> ${P}.zip" +KEYWORDS="~amd64" + +DESCRIPTION="Driver for modern DisplayLink devices" +HOMEPAGE="http://www.displaylink.com/downloads/ubuntu" +LICENSE="DisplayLink-EULA" +SLOT="0" + +DEPEND="app-arch/unzip" +RDEPEND=" + virtual/libusb + virtual/udev + x11-libs/libevdi +" + +QA_PREBUILT="opt/displaylink/DisplayLinkManager" + +src_unpack() { + default + sh "${WORKDIR}/${MY_P}.run" --noexec --keep +} + +src_prepare() { + default + source "${S}/udev-installer.sh" && create_udev_rules_file "${S}/99-dlm.rules" + source "${S}/udev-installer.sh" && displaylink_bootstrapper_code > "${S}/udev.sh" + cat "${FILESDIR}/openrc_start_stop_functions" >> "${S}/udev.sh" + source "${S}/udev-installer.sh" && create_main_function >> "${S}/udev.sh" +} + +src_install() { + exeinto "/opt/displaylink" + insinto "/opt/displaylink" + case "${ARCH}" in + amd64) MY_ARCH="x64" ;; + *) MY_ARCH="${ARCH}" ;; + esac + ARCH_DIR="${S}/${MY_ARCH}-ubuntu-${UBUNTU_VER}" + doexe "${ARCH_DIR}/DisplayLinkManager" + doins "${S}/ella-dock-release.spkg" + doins "${S}/firefly-monitor-release.spkg" + doins "${S}/ridge-dock-release.spkg" + newinitd "${FILESDIR}/dlm.init.d" "dlm" + udev_dorules "${S}/99-dlm.rules" + insopts -m744 + doins "${S}/udev.sh" +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}