From 48b3ffd1364d8af6718c67964163a57b30fa46c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Thu, 12 May 2022 07:24:09 +0200 Subject: [PATCH] dev-libs/gbinder: new package, add 1.1.19, 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Jäger --- dev-libs/gbinder/Manifest | 1 + dev-libs/gbinder/gbinder-1.1.19.ebuild | 32 ++++++++++++++++++++++++++ dev-libs/gbinder/gbinder-9999.ebuild | 32 ++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 dev-libs/gbinder/Manifest create mode 100644 dev-libs/gbinder/gbinder-1.1.19.ebuild create mode 100644 dev-libs/gbinder/gbinder-9999.ebuild diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest new file mode 100644 index 0000000000..2c499c4a64 --- /dev/null +++ b/dev-libs/gbinder/Manifest @@ -0,0 +1 @@ +DIST gbinder-1.1.19.tar.gz 197559 BLAKE2B de07166eb216306904aabc05c0604afc0e50913dcf187a42f157e6996f6e7e90a974b583364b5c7ea060f6091453cb730257bf16e3fa75dea735cac286186220 SHA512 14837d125f20e9d633a6cbbfb05bf15414daf1716d3b170ae047f78fb74754fcc085394fd773337563340f0ffdc9d550fd8a1dd38d81c46d6abe4150690f6710 diff --git a/dev-libs/gbinder/gbinder-1.1.19.ebuild b/dev-libs/gbinder/gbinder-1.1.19.ebuild new file mode 100644 index 0000000000..652d4e380c --- /dev/null +++ b/dev-libs/gbinder/gbinder-1.1.19.ebuild @@ -0,0 +1,32 @@ +# 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 new file mode 100644 index 0000000000..652d4e380c --- /dev/null +++ b/dev-libs/gbinder/gbinder-9999.ebuild @@ -0,0 +1,32 @@ +# 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 +}