dev-libs/gbinder: gbinder updated to 1.1.32

Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2023-02-18 12:32:01 +05:00
parent ef76e641ad
commit 8833800b10
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B a61b720a3d2b9fe79a4754c2e58569d05d8a16bd5dd35ac4e7616401b804604245e2b13a6ef12043737a00ce2f983bc01b408c5b2b68fe0db1b9c9e15b68ca84 SHA512 24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4
DIST gbinder-1.1.32.tar.gz 204284 BLAKE2B 8a4f62c0d4988a02b32b659ea0f959e465ead1ea962504f7ae1aa36687235e522deeba3dc7206e32bb1d7c292de760266d8bb18a85da29df06affe49cd59c95f SHA512 3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mer-hybris/libgbinder.git"
else
MY_PN="lib${PN}"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/mer-hybris/libgbinder/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
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
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 LIBDIR="/usr/$(get_libdir)"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
}
src_test() {
emake test
}