From a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 20:02:04 +0100 Subject: gentoo resync : 28.04.2018 --- x11-libs/libdlo/Manifest | 4 ++ x11-libs/libdlo/files/disable-testprogram.patch | 33 ++++++++++++++++ x11-libs/libdlo/libdlo-0.1.2.ebuild | 51 +++++++++++++++++++++++++ x11-libs/libdlo/metadata.xml | 21 ++++++++++ 4 files changed, 109 insertions(+) create mode 100644 x11-libs/libdlo/Manifest create mode 100644 x11-libs/libdlo/files/disable-testprogram.patch create mode 100644 x11-libs/libdlo/libdlo-0.1.2.ebuild create mode 100644 x11-libs/libdlo/metadata.xml (limited to 'x11-libs/libdlo') diff --git a/x11-libs/libdlo/Manifest b/x11-libs/libdlo/Manifest new file mode 100644 index 000000000000..8f8eb58b9953 --- /dev/null +++ b/x11-libs/libdlo/Manifest @@ -0,0 +1,4 @@ +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.ebuild 1158 BLAKE2B 917cba041ff98d82555969fd8c0c422567f2e73887e22f81dff9c6261c5c53ce18bc7739d3ef389a7406f1958f742b468c8184526fd1b884524e9fd55d5debc5 SHA512 44ebe111f6ceb6cdfd7ff908e8b8f0ca6ec0baa870cd5ea7db08092faaf26962e5e9af778da78f5d78b04dd603184056969f482cd53e99cc555216e085165e8a +MISC metadata.xml 806 BLAKE2B e32dfb3777d2da84f0134345630fda1b4447f9e8bc9764ee7e097a27e6d1bfba447494e9ab8959de502afbb0dce376d406862490aa113525c085e74c8b3ff43c SHA512 7cfdbbdc93fef8d555ac23b0718329243d778fef89ca5d95bcdd827de66e034af2bded73f3956d44ff369214368851bc91e5a0a9634ea7ab40118e507f77b2ee diff --git a/x11-libs/libdlo/files/disable-testprogram.patch b/x11-libs/libdlo/files/disable-testprogram.patch new file mode 100644 index 000000000000..a8f2bba40bf4 --- /dev/null +++ b/x11-libs/libdlo/files/disable-testprogram.patch @@ -0,0 +1,33 @@ +--- 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 + diff --git a/x11-libs/libdlo/libdlo-0.1.2.ebuild b/x11-libs/libdlo/libdlo-0.1.2.ebuild new file mode 100644 index 000000000000..d461b4dee5b7 --- /dev/null +++ b/x11-libs/libdlo/libdlo-0.1.2.ebuild @@ -0,0 +1,51 @@ +# 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 +} diff --git a/x11-libs/libdlo/metadata.xml b/x11-libs/libdlo/metadata.xml new file mode 100644 index 000000000000..c0175f30bba8 --- /dev/null +++ b/x11-libs/libdlo/metadata.xml @@ -0,0 +1,21 @@ + + + + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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. + + + Build the program for testing Displaylink devices + + -- cgit v1.2.3