diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest index 3c6b3dbfbf..5667b8a36a 100644 --- a/dev-libs/gbinder/Manifest +++ b/dev-libs/gbinder/Manifest @@ -1,2 +1 @@ -DIST gbinder-1.1.19.tar.gz 197559 BLAKE2B de07166eb216306904aabc05c0604afc0e50913dcf187a42f157e6996f6e7e90a974b583364b5c7ea060f6091453cb730257bf16e3fa75dea735cac286186220 SHA512 14837d125f20e9d633a6cbbfb05bf15414daf1716d3b170ae047f78fb74754fcc085394fd773337563340f0ffdc9d550fd8a1dd38d81c46d6abe4150690f6710 DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B a61b720a3d2b9fe79a4754c2e58569d05d8a16bd5dd35ac4e7616401b804604245e2b13a6ef12043737a00ce2f983bc01b408c5b2b68fe0db1b9c9e15b68ca84 SHA512 24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4 diff --git a/dev-libs/gbinder/gbinder-1.1.19.ebuild b/dev-libs/gbinder/gbinder-1.1.30-r1.ebuild similarity index 74% rename from dev-libs/gbinder/gbinder-1.1.19.ebuild rename to dev-libs/gbinder/gbinder-1.1.30-r1.ebuild index 652d4e380c..8caa9ed802 100644 --- a/dev-libs/gbinder/gbinder-1.1.19.ebuild +++ b/dev-libs/gbinder/gbinder-1.1.30-r1.ebuild @@ -11,7 +11,7 @@ else 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" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi DESCRIPTION="GLib-style interface to binder" @@ -24,9 +24,9 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { - emake KEEP_SYMBOLS=1 + emake KEEP_SYMBOLS=1 ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" } src_install() { - emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev + emake DESTDIR="${D}" ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" install-dev } diff --git a/dev-libs/gbinder/gbinder-1.1.30.ebuild b/dev-libs/gbinder/gbinder-1.1.30.ebuild deleted file mode 100644 index 652d4e380c..0000000000 --- a/dev-libs/gbinder/gbinder-1.1.30.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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" -fi - -DESCRIPTION="GLib-style interface to binder" -HOMEPAGE="https://github.com/mer-hybris/libgbinder" -LICENSE="BSD" -SLOT="0" - -DEPEND="dev-libs/libglibutil" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_compile() { - emake KEEP_SYMBOLS=1 -} - -src_install() { - emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev -} diff --git a/dev-libs/gbinder/gbinder-9999.ebuild b/dev-libs/gbinder/gbinder-9999.ebuild index 652d4e380c..8caa9ed802 100644 --- a/dev-libs/gbinder/gbinder-9999.ebuild +++ b/dev-libs/gbinder/gbinder-9999.ebuild @@ -11,7 +11,7 @@ else 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" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi DESCRIPTION="GLib-style interface to binder" @@ -24,9 +24,9 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { - emake KEEP_SYMBOLS=1 + emake KEEP_SYMBOLS=1 ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" } src_install() { - emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev + emake DESTDIR="${D}" ABS_LIBDIR="/usr/$(get_libdir)" LIBDIR="/usr/$(get_libdir)" install-dev } diff --git a/dev-libs/gbinder/metadata.xml b/dev-libs/gbinder/metadata.xml new file mode 100644 index 0000000000..2161ec3cb8 --- /dev/null +++ b/dev-libs/gbinder/metadata.xml @@ -0,0 +1,27 @@ + + + + + denis7774@gmail.com + Denis Reva + rarogcmex + + + GLib-style interface to binder (Android IPC mechanism) + + Key features: + + 1. Integration with GLib event loop + 2. Detection of 32 vs 64 bit kernel at runtime + 3. Asynchronous transactions that don't block the event thread + 4. Stable service manager and low-level transaction APIs + + Android keeps changing both low-level RPC and service manager + protocols from version to version. To counter that, libgbinder + implements configirable backends for different variants of those, + and yet keeping its own API unchanged. + + + mer-hybris/libgbinder + +