added my Recipes
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From d7b8fafbc94405c20753fed569abd8878cccde89 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Yan <felixonmars@archlinux.org>
|
||||
Date: Fri, 19 Aug 2022 15:22:10 +0300
|
||||
Subject: [PATCH] Fix build with fmt 9.0
|
||||
|
||||
Fixes #2681
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/database/sql_format.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/database/sql_format.h b/src/database/sql_format.h
|
||||
index 32dc00ef..e4e1909a 100644
|
||||
--- a/src/database/sql_format.h
|
||||
+++ b/src/database/sql_format.h
|
||||
@@ -42,7 +42,7 @@ struct SQLIdentifier {
|
||||
template <>
|
||||
struct fmt::formatter<SQLIdentifier> : formatter<std::string_view> {
|
||||
template <typename FormatContext>
|
||||
- auto format(const SQLIdentifier& tn, FormatContext& ctx) -> decltype(ctx.out())
|
||||
+ auto format(const SQLIdentifier& tn, FormatContext& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return format_to(ctx.out(), "{}{}{}", tn.quote_begin, tn.name, tn.quote_end);
|
||||
}
|
||||
@@ -61,7 +61,7 @@ struct ColumnUpdate {
|
||||
template <>
|
||||
struct fmt::formatter<ColumnUpdate> : formatter<std::string_view> {
|
||||
template <typename FormatContext>
|
||||
- auto format(const ColumnUpdate& a, FormatContext& ctx) -> decltype(ctx.out())
|
||||
+ auto format(const ColumnUpdate& a, FormatContext& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return format_to(ctx.out(), "{} = {}", a.column, a.value);
|
||||
}
|
||||
--
|
||||
2.38.0.rc1.362.ged0d419d3c-goog
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
Description = "Gerbera - An UPnP media server"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
|
||||
|
||||
SRC_URI = "git://github.com/gerbera/gerbera.git;protocol=https;branch=master \
|
||||
file://0001-Fix-build-with-fmt-9.0.patch \
|
||||
"
|
||||
|
||||
SRCREV = "d73d8c1346213d784753c02ea771970500e0df2a"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS = "expat fmt spdlog pugixml libebml libmatroska zlib curl libupnp e2fsprogs sqlite3 libnsl2"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "gerbera.service"
|
||||
|
||||
inherit cmake pkgconfig systemd
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=TRUE,-DWITH_SYSTEMD=FALSE,systemd"
|
||||
PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
|
||||
EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}/root/.config/
|
||||
}
|
||||
|
||||
FILES:${PN} += "/root/.config/"
|
||||
|
||||
SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
|
||||
Reference in New Issue
Block a user