commit:     3356841e3b8a25040f06a1dd0669228030da1d33
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sat Oct  4 20:10:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 00:49:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3356841e

dev-libs/librepfunc: new package, add 1.10.0

new tool library for a handful of media-plugins/vdr-* plugins

Bug: https://bugs.gentoo.org/963697
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/44040
Closes: https://github.com/gentoo/gentoo/pull/44040
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/librepfunc/Manifest                         |  1 +
 .../files/librepfunc-1.10.0-makefile.patch           | 20 ++++++++++++++++++++
 dev-libs/librepfunc/librepfunc-1.10.0.ebuild         | 19 +++++++++++++++++++
 dev-libs/librepfunc/metadata.xml                     | 19 +++++++++++++++++++
 4 files changed, 59 insertions(+)

diff --git a/dev-libs/librepfunc/Manifest b/dev-libs/librepfunc/Manifest
new file mode 100644
index 000000000000..6976886c978f
--- /dev/null
+++ b/dev-libs/librepfunc/Manifest
@@ -0,0 +1 @@
+DIST librepfunc-1.10.0.tar.gz 32247 BLAKE2B 
23136c1308d69348c1a71d0932cc894b5ad851b505ea7e3ca9cc2e7f7c619e793742fc91e41e2f57c91d447e032019e4b99731acc379aad9ac41c6439b2c18c3
 SHA512 
8750d6a20cbd0279a14170772ca94e2149d79507b1d697ffd80455874603247d4d91052df575c3923e86099f2993e71ea868d65d4d851ef383c051be4f01bb1c

diff --git a/dev-libs/librepfunc/files/librepfunc-1.10.0-makefile.patch 
b/dev-libs/librepfunc/files/librepfunc-1.10.0-makefile.patch
new file mode 100644
index 000000000000..8e09d74357a7
--- /dev/null
+++ b/dev-libs/librepfunc/files/librepfunc-1.10.0-makefile.patch
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -32,7 +32,7 @@
+ 
#/******************************************************************************
+ # * if you prefer verbose non-coloured build messages, remove the '@' here:
+ # 
*****************************************************************************/
+-CXX = @g++
++CXX ?= $(CXX)
+ CXXFLAGS += -g -O3 -fPIC -Wall -Wextra -Werror=overloaded-virtual 
-Wfatal-errors
+ CXXFLAGS += -DVERSION=\"$(VERSION)\"
+ DEFINES   = -D_POSIX_C_SOURCE
+@@ -44,7 +44,7 @@
+ # * packages instead of fixing your broken distro, you may overwrite the
+ # * package_name here.
+ # 
*****************************************************************************/
+-package_name ?= $(LIBRARY_PATCH)
++package_name ?= librepfunc-$(MAJOR).$(MINOR).$(PATCH)
+ 
+ 
+ 
#/******************************************************************************

diff --git a/dev-libs/librepfunc/librepfunc-1.10.0.ebuild 
b/dev-libs/librepfunc/librepfunc-1.10.0.ebuild
new file mode 100644
index 000000000000..a5692fe15e0b
--- /dev/null
+++ b/dev-libs/librepfunc/librepfunc-1.10.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A collection of functions, classes and so on, for vdr plugins"
+HOMEPAGE="https://github.com/wirbel-at-vdr-portal/librepfunc";
+SRC_URI="https://github.com/wirbel-at-vdr-portal/librepfunc/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
+src_install() {
+       emake DESTDIR="${D}" libdir="/usr/$(get_libdir)/" 
pkgconfigdir="/usr/$(get_libdir)/pkgconfig" install
+       einstalldocs
+}

diff --git a/dev-libs/librepfunc/metadata.xml b/dev-libs/librepfunc/metadata.xml
new file mode 100644
index 000000000000..e4fbf0d91383
--- /dev/null
+++ b/dev-libs/librepfunc/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>Martin Dummer</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo VDR Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">wirbel-at-vdr-portal/librepfunc</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to