diff options
Diffstat (limited to 'x11-libs/libdlo')
-rw-r--r-- | x11-libs/libdlo/Manifest | 3 | ||||
-rw-r--r-- | x11-libs/libdlo/libdlo-0.1.2-r1.ebuild | 50 | ||||
-rw-r--r-- | x11-libs/libdlo/metadata.xml | 2 |
3 files changed, 53 insertions, 2 deletions
diff --git a/x11-libs/libdlo/Manifest b/x11-libs/libdlo/Manifest index 1e4747283ab8..38a00325d4d6 100644 --- a/x11-libs/libdlo/Manifest +++ b/x11-libs/libdlo/Manifest @@ -1,4 +1,5 @@ AUX disable-testprogram.patch 832 BLAKE2B d0658618b0042f51e0f85efbff77933e62efc2acf571bbc539f908a771d290834d5b60f3840cac317d56f378f0c3b1c457fb966782df417d8d3af33c6dee88c5 SHA512 b07a0ddd5eca10f13e82039690c3d310981cdafebc38a9e632a55be38c5c8ff22b7dddffcf0ab0f9795e650e61f9079ff1d9c12b3ddaad8d018f060c377aecd3 DIST libdlo-0.1.2.tar.gz 476865 BLAKE2B b2391b58046e1f403b7e0d1eb915a46aa17c47e8ad804246f12f3b94f9ffb4dbc811e5d08aac29c2f4196b5d384e7244bddad3193adff5d5e890a7463a503fbb SHA512 6df69bebcf3142e0a87f66bb9d690fd78b96e08c2ae5d46fe0f3d91bc135364d5f5dd0c3a481705c3cd90c78a0a076757220fbcc3b0ad4343cdddb54501e3f2f +EBUILD libdlo-0.1.2-r1.ebuild 1154 BLAKE2B 7415cef0331b79837a4eee615fa201e03cbb464cbe81c39260f2ce7d3df3a70315e4b141e83b3fb90a95b3f615ba3b7693a2d521f2bec74efd06de60b33f0f72 SHA512 cbc10ff4f8fec4c446f7e28ee32d8817ea9dd03aa63a8e6ae9d16ebdbc104a6b9202a6c3777d9d2db64f916620e254af3ba904274127cd5f5a2450050ca5f584 EBUILD libdlo-0.1.2.ebuild 1156 BLAKE2B 365edc96e982b7117522e2e7c7a919df0902cde231cc4a2620251267f9099668ac5686c735588e6ce144a5cc1098466f722a09914ba43e209056009d48db7633 SHA512 15ad7c1e7169480830b882f5172d3f70a941b707d8f62578ef036873b42649b85c1db2a36d06b8c58b37135834fe3720c0fb1695b01b44195280ccb0b824abc4 -MISC metadata.xml 806 BLAKE2B e32dfb3777d2da84f0134345630fda1b4447f9e8bc9764ee7e097a27e6d1bfba447494e9ab8959de502afbb0dce376d406862490aa113525c085e74c8b3ff43c SHA512 7cfdbbdc93fef8d555ac23b0718329243d778fef89ca5d95bcdd827de66e034af2bded73f3956d44ff369214368851bc91e5a0a9634ea7ab40118e507f77b2ee +MISC metadata.xml 807 BLAKE2B 84e05485afa5f0e78ea57310124a541c4f1855c36ae9b49568fa9a4d672484e6fe5d02b71e4325c3a07cf5edda074b02410c4b7b52a967840bb695b98e135546 SHA512 56c18fe35f8c672f9d694fc2c62ffd864774baeeeb9cfd8f75118cf7e51376ee7a4280933d53aa5ed5e85dd605ecca737a70a37c4b82b7293bc2963d250a4c96 diff --git a/x11-libs/libdlo/libdlo-0.1.2-r1.ebuild b/x11-libs/libdlo/libdlo-0.1.2-r1.ebuild new file mode 100644 index 000000000000..c193c73cc440 --- /dev/null +++ b/x11-libs/libdlo/libdlo-0.1.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A fully open source driver which supports all DisplayLink devices" +HOMEPAGE="https://libdlo.freedesktop.org/wiki/" +SRC_URI="https://people.freedesktop.org/~berniet/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test-program" + +RDEPEND="virtual/libusb:0=" +DEPEND="${RDEPEND}" + +DOCS=( "AUTHORS" "ChangeLog" "Guide-v104.pdf" "README" ) + +src_prepare() { + default + + # AM_PROG_AR must be defined or automake will fail with: + # archiver requires 'AM_PROG_AR' in 'configure.ac'. + sed -i -e '/AC_PROG_CC/a AM_PROG_AR' configure.ac || die + + # Only build the Displaylink test program, if a user wants it. + if ! use test-program; then + eapply "${FILESDIR}"/disable-testprogram.patch + fi + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + # Rename the Displaylink test program to an useful name + if use test-program; then + mv "${D}"/usr/bin/test1 "${D}"/usr/bin/displaylink-test || die + fi + + find "${D}" -name '*.la' -delete || die +} diff --git a/x11-libs/libdlo/metadata.xml b/x11-libs/libdlo/metadata.xml index c0175f30bba8..0dae7351b410 100644 --- a/x11-libs/libdlo/metadata.xml +++ b/x11-libs/libdlo/metadata.xml @@ -16,6 +16,6 @@ And it's also possible to configure X and standard X applications to run on udlfb. </longdescription> <use> - <flag name="test-program">Build the program for testing Displaylink devices</flag> + <flag name="test-program">Build the program for testing Displaylink devices.</flag> </use> </pkgmetadata> |