diff options
author | Denis Reva <denis7774@gmail.com> | 2024-11-10 20:31:45 +0500 |
---|---|---|
committer | Denis Reva <denis7774@gmail.com> | 2024-11-10 20:48:29 +0500 |
commit | 4926c8bc50183789c9dd0dd8459739642bd452a8 (patch) | |
tree | 902cc5f0bdc7092e616aca943df21b0582c7dccc /dev-libs | |
parent | gui-apps/swww: remove dependency on rust (diff) | |
download | guru-4926c8bc50183789c9dd0dd8459739642bd452a8.tar.gz guru-4926c8bc50183789c9dd0dd8459739642bd452a8.tar.bz2 guru-4926c8bc50183789c9dd0dd8459739642bd452a8.zip |
dev-libs/gbinder: add 1.1.41
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.41.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest index 765535413..234044c22 100644 --- a/dev-libs/gbinder/Manifest +++ b/dev-libs/gbinder/Manifest @@ -1 +1,2 @@ DIST gbinder-1.1.40.tar.gz 205810 BLAKE2B f201d49572343fff5952927a77c5318b756e9a71f6ce1d27c0ac2cf136a4df5344498dfe623af3264e28aaab26cb3845214da8a9f9b645123d6700aeff70c789 SHA512 1bace60c31344b06ce6a935c045e14c1f29728621d7940df8e5e8d9a62592c21632a7a2172508a193e0b5fa8dfcea95bd42d3a6df34de6d1ebd2f5b2d592779e +DIST gbinder-1.1.41.tar.gz 206398 BLAKE2B 47f841f00a4f1e5730adf7e31b8bc09d029235048315458fd0eed3ca437f29f6a02bc4a6921d6378bb8c16ae97a6e85bcdf68253504f37ad4e8e0921869f18d1 SHA512 f2131a08ba4498b72ad39f1844cd415e182cce394bc5834c1ae188928700188ded7b0d826a74ea7e261cfb0ebb773f829c6eb017d6bef606f3f2837559bb9277 diff --git a/dev-libs/gbinder/gbinder-1.1.41.ebuild b/dev-libs/gbinder/gbinder-1.1.41.ebuild new file mode 100644 index 000000000..45bba5264 --- /dev/null +++ b/dev-libs/gbinder/gbinder-1.1.41.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 +} |