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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D140158086 for ; Wed, 10 Nov 2021 09:11:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7839BE09AD; Wed, 10 Nov 2021 09:11:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C471E09AD for ; Wed, 10 Nov 2021 09:11:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A145342FCE for ; Wed, 10 Nov 2021 09:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A339A18E for ; Wed, 10 Nov 2021 09:11:16 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1636535447.3101d62e01293c6566da41a91d0a08e740bc0e9a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hidapi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hidapi/hidapi-0.11.0.ebuild X-VCS-Directories: dev-libs/hidapi/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3101d62e01293c6566da41a91d0a08e740bc0e9a X-VCS-Branch: master Date: Wed, 10 Nov 2021 09:11:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 167e5cc6-bd34-483c-90e9-3517f294216f X-Archives-Hash: b705ea7fc7cfd39e7e97f0bc3765e55b commit: 3101d62e01293c6566da41a91d0a08e740bc0e9a Author: Joonas Niilola gentoo org> AuthorDate: Wed Nov 10 09:10:05 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Nov 10 09:10:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3101d62e dev-libs/hidapi: ebuild enhancements for 0.11.0 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/hidapi/hidapi-0.11.0.ebuild | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/dev-libs/hidapi/hidapi-0.11.0.ebuild b/dev-libs/hidapi/hidapi-0.11.0.ebuild index 403cb345499..1ed0ca0f94d 100644 --- a/dev-libs/hidapi/hidapi-0.11.0.ebuild +++ b/dev-libs/hidapi/hidapi-0.11.0.ebuild @@ -23,7 +23,7 @@ BDEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen )" -S="${WORKDIR}/${PN}-${PN}-${PV}" +S="${WORKDIR}/${PN}-${P}" src_prepare() { default @@ -32,10 +32,6 @@ src_prepare() { sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die fi - # Fix bashisms in the configure.ac file. - sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \ - -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die - # Portage handles license texts itself, no need to install them sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die @@ -56,15 +52,11 @@ multilib_src_compile() { } multilib_src_install() { - default - local HTML_DOCS + emake install DESTDIR="${D}" + find "${D}" -name '*.la' -delete || die + if use doc && multilib_is_native_abi; then - HTML_DOCS=( html/. ) + local HTML_DOCS=( html/. ) fi einstalldocs } - -multilib_src_install_all() { - # no static archives - find "${ED}" -name '*.la' -delete || die -}