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 E30BB158094 for ; Wed, 24 Aug 2022 18:06:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC94DE07E6; Wed, 24 Aug 2022 18:06:00 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B417AE07C5 for ; Wed, 24 Aug 2022 18:06:00 +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 A88B5340D0C for ; Wed, 24 Aug 2022 18:05:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 209F958E for ; Wed, 24 Aug 2022 18:05:58 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1661364333.07c1d5299fa6d64c9c220a49b05bc63dc0c44a83.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libjaylink/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/libjaylink/Manifest dev-embedded/libjaylink/libjaylink-0.3.0.ebuild X-VCS-Directories: dev-embedded/libjaylink/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 07c1d5299fa6d64c9c220a49b05bc63dc0c44a83 X-VCS-Branch: master Date: Wed, 24 Aug 2022 18:05:58 +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: 1cf38d11-112d-4cb7-9eeb-f828766dc70c X-Archives-Hash: ef087c04fb9c644dea193cc6036b3b14 commit: 07c1d5299fa6d64c9c220a49b05bc63dc0c44a83 Author: Matthew Smith gentoo org> AuthorDate: Wed Aug 24 18:04:50 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Wed Aug 24 18:05:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c1d529 dev-embedded/libjaylink: add 0.3.0 Also bump to EAPI-8, drop static-libs, drop multilib, and install the udev rules. Signed-off-by: Matthew Smith gentoo.org> dev-embedded/libjaylink/Manifest | 1 + dev-embedded/libjaylink/libjaylink-0.3.0.ebuild | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-embedded/libjaylink/Manifest b/dev-embedded/libjaylink/Manifest index a0c87c1b1243..02afd9e8d19c 100644 --- a/dev-embedded/libjaylink/Manifest +++ b/dev-embedded/libjaylink/Manifest @@ -1 +1,2 @@ DIST libjaylink-0.2.0.tar.bz2 59078 BLAKE2B 7928875248972bc00ec46511861e160491f7a53f729e0fbfe3a6d08335532fffc9e285e8a354a390037bebe696b6740bdc422164238947baf5e0fcf8f55c0dd5 SHA512 5a8c458982fdea2025aa3ce774d41cc58a283824dcd90a94531ee5e6ca50d9961b0ebb40a6dd3a97fdfcb44625437d685151560185449c3161fe399e0651da44 +DIST libjaylink-0.3.0.tar.bz2 61075 BLAKE2B 84946fbe0a061117f92b8011c0b5eeb30f8f74817128a5fd6a6d519c7a0f07f447d87d0fe72d7a47d17ab2fa33cdc3820e0c556f75c5dedad30faf5e6cf5739d SHA512 714de9297fb59eccee7eb461f37b20459991bffd31aac8eb20014f00716bb94ff4cda96a3d1746419c7722b6b7d97e7a42df9fb3b5c4f83a3f1ac79647159426 diff --git a/dev-embedded/libjaylink/libjaylink-0.3.0.ebuild b/dev-embedded/libjaylink/libjaylink-0.3.0.ebuild new file mode 100644 index 000000000000..8601f4cec5f0 --- /dev/null +++ b/dev-embedded/libjaylink/libjaylink-0.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +DESCRIPTION="Library to access J-Link devices" +HOMEPAGE="https://gitlab.zapb.de/libjaylink/libjaylink" +SRC_URI="https://gitlab.zapb.de/libjaylink/libjaylink/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Remove -Werror from CFLAGS. + sed -i '/^JAYLINK_CFLAGS=/s/ -Werror//' configure.ac || die + + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_install() { + default + udev_dorules contrib/99-${PN}.rules + find "${D}" -type f -name '*.la' -delete || die +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}