diff options
author | 2024-08-08 13:45:19 +0500 | |
---|---|---|
committer | 2024-08-08 13:45:19 +0500 | |
commit | 8fc9d47a6b238aefb6d3b8c3fd2ae7cd678a262c (patch) | |
tree | 5175c10397ed5ff074d2c0a652babc9028757c2a /dev-libs | |
parent | net-vpn/candy: add 5.10.3, drop 5.10.0 (diff) | |
download | guru-8fc9d47a6b238aefb6d3b8c3fd2ae7cd678a262c.tar.gz guru-8fc9d47a6b238aefb6d3b8c3fd2ae7cd678a262c.tar.bz2 guru-8fc9d47a6b238aefb6d3b8c3fd2ae7cd678a262c.zip |
dev-libs/gbinder: add 1.1.40
Closes: https://bugs.gentoo.org/932201
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gbinder/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gbinder/gbinder-1.1.40.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest index 660dd40c0..c053fb9f8 100644 --- a/dev-libs/gbinder/Manifest +++ b/dev-libs/gbinder/Manifest @@ -2,3 +2,4 @@ DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B a61b720a3d2b9fe79a4754c2e58569d05d8a16 DIST gbinder-1.1.32.tar.gz 204284 BLAKE2B 8a4f62c0d4988a02b32b659ea0f959e465ead1ea962504f7ae1aa36687235e522deeba3dc7206e32bb1d7c292de760266d8bb18a85da29df06affe49cd59c95f SHA512 3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b DIST gbinder-1.1.36.tar.gz 204122 BLAKE2B f48fff65f2cf9dd8674110edb77116a6ef5cd621e81d32aae8b3cbf3cb96e8bc825087dd834853c509c6e89c73cf5a24b21c0e5443dfe13747ce1125523d7d30 SHA512 5727b25299286e8238a9b526fec9f72d631f584cabb21021d9f12e550059fe746e1165d5bb47ba79db52e2ccb5a3ce96dbd97761df78f13cf7e9a1554d1c3876 DIST gbinder-1.1.38.tar.gz 204306 BLAKE2B 0c8e85a81d88f5a45e0e9fd97427a208d73db669d2225323bb73e6dc8beca4ac486803ab5540d77c3e60f0ed2d7f6a80d846636c2706f1bfa9a68b57a909a78c SHA512 610dbe962287278de0e3549b4f7d15f6af0017afa0da356f6a72550c8d5c9925960527a30fd4d4e66c64f9cfd63915ba60b990220e350fee935bef5bf5a17710 +DIST gbinder-1.1.40.tar.gz 205810 BLAKE2B f201d49572343fff5952927a77c5318b756e9a71f6ce1d27c0ac2cf136a4df5344498dfe623af3264e28aaab26cb3845214da8a9f9b645123d6700aeff70c789 SHA512 1bace60c31344b06ce6a935c045e14c1f29728621d7940df8e5e8d9a62592c21632a7a2172508a193e0b5fa8dfcea95bd42d3a6df34de6d1ebd2f5b2d592779e diff --git a/dev-libs/gbinder/gbinder-1.1.40.ebuild b/dev-libs/gbinder/gbinder-1.1.40.ebuild new file mode 100644 index 000000000..45bba5264 --- /dev/null +++ b/dev-libs/gbinder/gbinder-1.1.40.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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" + +DEPEND="dev-libs/libglibutil + dev-libs/glib" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + sys-apps/sed +" + +PATCHES=( + "${FILESDIR}/gbinder-1.1.36-respect-env.patch" +) + +src_prepare() { + sed -i -e "s|ranlib|$(tc-getRANLIB)|" \ + Makefile || die + default +} + +src_compile() { + emake LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + DESTDIR="${D}" \ + INSTALL_INCLUDE_DIR="${ED}/usr/include/gbinder" \ + install-dev +} |