mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-libs/libglibutil: Updated to 1.0.68
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libglibutil-1.0.67.tar.gz 58717 BLAKE2B b53f6b416b974a0b7d24dba1c8497e5c8eceec32734006ab7c2bc5e5ce45e70ce63a0719f7a10127b90ad88394220edc4d2a97825fb82f7173bb68032e5f2e48 SHA512 5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541
|
||||
DIST libglibutil-1.0.68.tar.gz 60087 BLAKE2B 449952f5fc8791ab7ede3876cf473486bbd73e36c41353c8d54b528a483453ffbc0c0f7a39b5748626d967e8cc4a667c83f97f297d5a7169ea066f111da1eb78 SHA512 8437c9eb125a42e9a4fcd1063818472a1e6a27375189b9996d2ce2c4c96de813b532dd7806d917164987fb4d6e5d67bd981b251b3c0f33cc66e9dd857de04fa1
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7198243..8a1a698 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -81,20 +81,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))
|
||||
-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_FLAGS)
|
||||
RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
|
||||
-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
|
||||
-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
|
||||
-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) -O0 --coverage
|
||||
+DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
|
||||
+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
|
||||
+COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
|
||||
|
||||
#
|
||||
# Files
|
||||
@@ -120,11 +120,11 @@ COVERAGE_STATIC_LIB = $(COVERAGE_BUILD_DIR)/$(STATIC_LIB)
|
||||
#
|
||||
|
||||
DEPS = $(DEBUG_OBJS:%.o=%.d) $(RELEASE_OBJS:%.o=%.d) $(COVERAGE_OBJS:%.o=%.d)
|
||||
-ifneq ($(MAKECMDGOALS),clean)
|
||||
-ifneq ($(strip $(DEPS)),)
|
||||
--include $(DEPS)
|
||||
-endif
|
||||
-endif
|
||||
+#ifneq ($(MAKECMDGOALS),clean)
|
||||
+#ifneq ($(strip $(DEPS)),)
|
||||
+#-include $(DEPS)
|
||||
+#endif
|
||||
+#endif
|
||||
|
||||
$(PKGCONFIG): | $(BUILD_DIR)
|
||||
$(DEBUG_OBJS) $(DEBUG_LIB) $(DEBUG_STATIC_LIB): | $(DEBUG_BUILD_DIR)
|
||||
@@ -192,7 +192,7 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
|
||||
$(RELEASE_LIB): $(RELEASE_OBJS)
|
||||
$(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
|
||||
ifeq ($(KEEP_SYMBOLS),0)
|
||||
- $(STRIP) $@
|
||||
+# $(STRIP) $@
|
||||
endif
|
||||
|
||||
$(DEBUG_LINK): $(DEBUG_LIB)
|
||||
36
dev-libs/libglibutil/libglibutil-1.0.68.ebuild
Normal file
36
dev-libs/libglibutil/libglibutil-1.0.68.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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/sailfishos/libglibutil.git"
|
||||
else
|
||||
SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Library of glib utilities from sailfishos project"
|
||||
HOMEPAGE="https://github.com/sailfishos/libglibutil"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-libs/glib"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/libglibutil-1.0.68-respect-env.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake LIBDIR="/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
Reference in New Issue
Block a user