--- /dev/null
+DIST libdlo-0.1.2.tar.gz 476865 BLAKE2B b2391b58046e1f403b7e0d1eb915a46aa17c47e8ad804246f12f3b94f9ffb4dbc811e5d08aac29c2f4196b5d384e7244bddad3193adff5d5e890a7463a503fbb SHA512 6df69bebcf3142e0a87f66bb9d690fd78b96e08c2ae5d46fe0f3d91bc135364d5f5dd0c3a481705c3cd90c78a0a076757220fbcc3b0ad4343cdddb54501e3f2f
--- /dev/null
+--- a/configure.ac 2009-10-19 04:41:33.000000000 +0200
++++ b/configure.ac 2018-04-23 23:18:48.867807771 +0200
+@@ -48,7 +48,6 @@
+
+ AC_CONFIG_FILES([Makefile
+ src/Makefile
+- test/Makefile
+ ])
+ AC_OUTPUT
+ AC_MSG_RESULT([
+--- a/Makefile.am 2009-10-09 02:20:55.000000000 +0200
++++ b/Makefile.am 2018-04-23 23:19:27.036807625 +0200
+@@ -1,19 +1,13 @@
+-SUBDIRS=src \
+- test
++SUBDIRS=src
+ dist_doc_DATA = README
+ ACLOCAL_AMFLAGS = -I m4
+ AUTOMAKE_OPTIONS = foreign
+ EXTRA_DIST = \
+ autogen.sh \
+- test/images/test08.bmp \
+- test/images/test16.bmp \
+- test/images/test24.bmp \
+- test/images/test32.bmp \
+ Guide-v104.pdf \
+ mkdox.sh
+
+ TESTS_ENVIRONMENT = sudo
+-TESTS = test/test1
+
+ MAINTAINERCLEANFILES = depcomp INSTALL install-sh missing aclocal.m4 config.guess config.sub configure
+
--- /dev/null
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ A fully open source GPL driver which supports all DisplayLink devices
+ in the mainline Linux kernel, called udlfb. It's possible to write
+ custom applications for it or to the libdlo user mode library itself.
+ 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>
+ </use>
+</pkgmetadata>