From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABC43138334 for ; Wed, 14 Nov 2018 15:01:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B714AE0B93; Wed, 14 Nov 2018 15:01:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 736DEE0B93 for ; Wed, 14 Nov 2018 15:01:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45430335C63 for ; Wed, 14 Nov 2018 15:01:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E35543A for ; Wed, 14 Nov 2018 15:01:35 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1542207679.a9ab67985422f41b6c81ff1e62cbdfb3a2420ac6.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libdlo/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libdlo/libdlo-0.1.2-r1.ebuild x11-libs/libdlo/metadata.xml X-VCS-Directories: x11-libs/libdlo/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: a9ab67985422f41b6c81ff1e62cbdfb3a2420ac6 X-VCS-Branch: master Date: Wed, 14 Nov 2018 15:01:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bef24da7-6bef-4dd0-a240-b8459ad2661b X-Archives-Hash: eb82c6671b353ef320a83ea9cf39e805 commit: a9ab67985422f41b6c81ff1e62cbdfb3a2420ac6 Author: Conrad Kostecki kostecki com> AuthorDate: Sat Oct 27 10:57:56 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Wed Nov 14 15:01:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ab6798 x11-libs/libdlo: bump to EAPI=7 Closes: https://bugs.gentoo.org/669768 Signed-off-by: Conrad Kostecki kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10253 Signed-off-by: Virgil Dupras gentoo.org> x11-libs/libdlo/libdlo-0.1.2-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++ x11-libs/libdlo/metadata.xml | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) 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 00000000000..c193c73cc44 --- /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 c0175f30bba..0dae7351b41 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. - Build the program for testing Displaylink devices + Build the program for testing Displaylink devices.