mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-libs/gbinder: add 1.1.36, updated 9999
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B a61b720a3d2b9fe79a4754c2e58569d05d8a16bd5dd35ac4e7616401b804604245e2b13a6ef12043737a00ce2f983bc01b408c5b2b68fe0db1b9c9e15b68ca84 SHA512 24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4
|
||||
DIST gbinder-1.1.32.tar.gz 204284 BLAKE2B 8a4f62c0d4988a02b32b659ea0f959e465ead1ea962504f7ae1aa36687235e522deeba3dc7206e32bb1d7c292de760266d8bb18a85da29df06affe49cd59c95f SHA512 3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b
|
||||
DIST gbinder-1.1.36.tar.gz 204122 BLAKE2B f48fff65f2cf9dd8674110edb77116a6ef5cd621e81d32aae8b3cbf3cb96e8bc825087dd834853c509c6e89c73cf5a24b21c0e5443dfe13747ce1125523d7d30 SHA512 5727b25299286e8238a9b526fec9f72d631f584cabb21021d9f12e550059fe746e1165d5bb47ba79db52e2ccb5a3ce96dbd97761df78f13cf7e9a1554d1c3876
|
||||
|
||||
40
dev-libs/gbinder/files/gbinder-1.1.36-respect-env.patch
Normal file
40
dev-libs/gbinder/files/gbinder-1.1.36-respect-env.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 0e25e90..862d5df 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -139,20 +139,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \
|
||||
-MMD -MP $(shell $(PKG_CONFIG) --cflags $(PKGS))
|
||||
FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
|
||||
$(shell $(PKG_CONFIG) --libs $(PKGS)) -lpthread
|
||||
-DEBUG_FLAGS = -g
|
||||
+DEBUG_FLAGS =
|
||||
RELEASE_FLAGS =
|
||||
-COVERAGE_FLAGS = -g
|
||||
+COVERAGE_FLAGS =
|
||||
|
||||
KEEP_SYMBOLS ?= 0
|
||||
ifneq ($(KEEP_SYMBOLS),0)
|
||||
-RELEASE_FLAGS += -g
|
||||
+RELEASE_FLAGS +=
|
||||
endif
|
||||
|
||||
DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
|
||||
RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
|
||||
-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
|
||||
-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
|
||||
-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
|
||||
+DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
|
||||
+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
|
||||
+COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
|
||||
|
||||
#
|
||||
# Files
|
||||
@@ -278,7 +278,7 @@ $(DEBUG_SO): $(DEBUG_OBJS)
|
||||
$(RELEASE_SO): $(RELEASE_OBJS)
|
||||
$(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
|
||||
ifeq ($(KEEP_SYMBOLS),0)
|
||||
- $(STRIP) $@
|
||||
+# $(STRIP) $@
|
||||
endif
|
||||
|
||||
$(DEBUG_LIB): $(DEBUG_OBJS)
|
||||
50
dev-libs/gbinder/gbinder-1.1.36.ebuild
Normal file
50
dev-libs/gbinder/gbinder-1.1.36.ebuild
Normal 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.36-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
|
||||
}
|
||||
@@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig
|
||||
sys-apps/sed"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
|
||||
"${FILESDIR}/gbinder-1.1.36-respect-env.patch"
|
||||
)
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user