* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/vramfs/files/, sys-fs/vramfs/
@ 2025-05-26 22:03 Daichi Yamamoto
0 siblings, 0 replies; only message in thread
From: Daichi Yamamoto @ 2025-05-26 22:03 UTC (permalink / raw
To: gentoo-commits
commit: 9c1580b5d5b44bc50c60c51a8ec2cb6208fe4627
Author: Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Mon May 26 21:57:13 2025 +0000
Commit: Daichi Yamamoto <dev <AT> dyama <DOT> net>
CommitDate: Mon May 26 22:00:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c1580b5
sys-fs/vramfs: new package, add 0_p20221214
Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>
sys-fs/vramfs/Manifest | 1 +
sys-fs/vramfs/files/vramfs-0-makefile-vars.patch | 28 +++++++++++++++++++++
sys-fs/vramfs/metadata.xml | 11 ++++++++
sys-fs/vramfs/vramfs-0_p20221214.ebuild | 32 ++++++++++++++++++++++++
4 files changed, 72 insertions(+)
diff --git a/sys-fs/vramfs/Manifest b/sys-fs/vramfs/Manifest
new file mode 100644
index 0000000000..62a8665c22
--- /dev/null
+++ b/sys-fs/vramfs/Manifest
@@ -0,0 +1 @@
+DIST vramfs-0_p20221214.tar.gz 14812 BLAKE2B 7e56e33bc4deca157181b01c74202bd7d7d2428d2483c8984a36c0a0982bcb700f8085a28334962fc86efd1451faf4613852ade4c275dbd28c4db3648194c519 SHA512 b97da9459819a6ae4ea99b8a679962c69b9b0f5f0ca317a8acd348c2c65191259a690b1f5a01ffc17d08d20578241251f3d8cbc66a6c7ffe8d3e37b9e3534c7a
diff --git a/sys-fs/vramfs/files/vramfs-0-makefile-vars.patch b/sys-fs/vramfs/files/vramfs-0-makefile-vars.patch
new file mode 100644
index 0000000000..e0ffd6f5c7
--- /dev/null
+++ b/sys-fs/vramfs/files/vramfs-0-makefile-vars.patch
@@ -0,0 +1,28 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,21 +1,18 @@
+-CC = g++
+-CFLAGS = -Wall -Wpedantic -Werror -std=c++11 $(shell pkg-config fuse3 --cflags) -I include/
+-LDFLAGS = -flto $(shell pkg-config fuse3 --libs) -l OpenCL
++CXXFLAGS += -std=c++11 $(shell pkg-config fuse3 --cflags) -I include/
++LIBS = $(shell pkg-config fuse3 --libs) -l OpenCL
+
+ ifeq ($(DEBUG), 1)
+ CFLAGS += -g -DDEBUG -Wall -Werror -std=c++11
+-else
+- CFLAGS += -march=native -O2 -flto
+ endif
+
+ bin/vramfs: build/util.o build/memory.o build/entry.o build/file.o build/dir.o build/symlink.o build/vramfs.o | bin
+- $(CC) -o $@ $^ $(LDFLAGS)
++ $(CXX) -o $@ $^ $(LDFLAGS) $(LIBS)
+
+ build bin:
+ @mkdir -p $@
+
+ build/%.o: src/%.cpp | build
+- $(CC) $(CFLAGS) -c -o $@ $<
++ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
+ .PHONY: clean
+ clean:
diff --git a/sys-fs/vramfs/metadata.xml b/sys-fs/vramfs/metadata.xml
new file mode 100644
index 0000000000..c046cfb52f
--- /dev/null
+++ b/sys-fs/vramfs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev@dyama.net</email>
+ <name>Daichi Yamamoto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Overv/vramfs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-fs/vramfs/vramfs-0_p20221214.ebuild b/sys-fs/vramfs/vramfs-0_p20221214.ebuild
new file mode 100644
index 0000000000..e0063ab4d8
--- /dev/null
+++ b/sys-fs/vramfs/vramfs-0_p20221214.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT="829b1f2c259da2eb63ed3d4ddef0eeddb08b99e4"
+
+DESCRIPTION="VRAM based file system for Linux"
+HOMEPAGE="https://github.com/Overv/vramfs"
+SRC_URI="https://github.com/Overv/vramfs/archive/${COMMIT}/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+PATCHES=( "${FILESDIR}/${PN}-0-makefile-vars.patch" )
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-cpp/clhpp
+ sys-fs/fuse:3
+ virtual/opencl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( README.md )
+
+src_install() {
+ dobin bin/vramfs
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-26 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 22:03 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/vramfs/files/, sys-fs/vramfs/ Daichi Yamamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox