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 CBABA158020 for ; Wed, 21 Dec 2022 14:21:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5E39E07E1; Wed, 21 Dec 2022 14:21:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 94EF0E07E1 for ; Wed, 21 Dec 2022 14:21:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 97FA03414C5 for ; Wed, 21 Dec 2022 14:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE48E7D3 for ; Wed, 21 Dec 2022 14:21:05 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1671632462.1bc7e422a6e076bdc89db733cb5afaa41fd70eb2.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/gbinder/gbinder-9999.ebuild X-VCS-Directories: dev-libs/gbinder/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 1bc7e422a6e076bdc89db733cb5afaa41fd70eb2 X-VCS-Branch: dev Date: Wed, 21 Dec 2022 14:21:05 +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: 235bea55-5d5e-444b-b5a0-bdd6779d7a45 X-Archives-Hash: 698012b5b6887928e8345139e74134b3 commit: 1bc7e422a6e076bdc89db733cb5afaa41fd70eb2 Author: Denis Reva gmail com> AuthorDate: Wed Dec 21 14:20:57 2022 +0000 Commit: Denis Reva gmail com> CommitDate: Wed Dec 21 14:21:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bc7e422 dev-libs/gbinder: Updated 9999 version Signed-off-by: Denis Reva gmail.com> dev-libs/gbinder/gbinder-9999.ebuild | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/dev-libs/gbinder/gbinder-9999.ebuild b/dev-libs/gbinder/gbinder-9999.ebuild index 8caa9ed80..c900ed13f 100644 --- a/dev-libs/gbinder/gbinder-9999.ebuild +++ b/dev-libs/gbinder/gbinder-9999.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit toolchain-funcs + if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/mer-hybris/libgbinder.git" @@ -18,15 +20,31 @@ DESCRIPTION="GLib-style interface to binder" HOMEPAGE="https://github.com/mer-hybris/libgbinder" LICENSE="BSD" SLOT="0" +IUSE="" DEPEND="dev-libs/libglibutil" RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND="virtual/pkgconfig + sys-apps/sed" + +PATCHES=( + "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch" +) +src_prepare() { + default + sed -i -e "s|ranlib|$(tc-getRANLIB)|" \ + Makefile \ + || die +} src_compile() { - emake KEEP_SYMBOLS=1 ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" + emake LIBDIR="/usr/$(get_libdir)" } src_install() { - emake DESTDIR="${D}" ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" install-dev + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev +} + +src_test() { + emake test }