public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/uwufetch/files/, app-misc/uwufetch/
@ 2022-12-01 21:32 Cara Salter
  0 siblings, 0 replies; 3+ messages in thread
From: Cara Salter @ 2022-12-01 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     c92cc4b5f29f659eac873088bce487c583d5dae7
Author:     Cara Salter <cara <AT> devcara <DOT> com>
AuthorDate: Thu Dec  1 21:32:22 2022 +0000
Commit:     Cara Salter <cara <AT> devcara <DOT> com>
CommitDate: Thu Dec  1 21:32:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c92cc4b5

app-misc/uwufetch: new package, add 2.0

Signed-off-by: Cara Salter <cara <AT> devcara.com>

 app-misc/uwufetch/Manifest                         |  1 +
 app-misc/uwufetch/files/uwufetch-2.0-destdir.patch | 17 ++++++++
 .../uwufetch/files/uwufetch-2.0-includedir.patch   | 15 ++++++++
 app-misc/uwufetch/files/uwufetch-2.0-lib64.patch   | 11 ++++++
 .../files/uwufetch-2.0-nocompressman.patch         | 10 +++++
 app-misc/uwufetch/files/uwufetch-2.0-reslib.patch  | 16 ++++++++
 app-misc/uwufetch/files/uwufetch-2.0-soname.patch  | 11 ++++++
 app-misc/uwufetch/uwufetch-2.0.ebuild              | 45 ++++++++++++++++++++++
 8 files changed, 126 insertions(+)

diff --git a/app-misc/uwufetch/Manifest b/app-misc/uwufetch/Manifest
new file mode 100644
index 000000000..d24214731
--- /dev/null
+++ b/app-misc/uwufetch/Manifest
@@ -0,0 +1 @@
+DIST uwufetch-2.0.tar.gz 2595233 BLAKE2B ba830b2229c72e76c5ceb3ec6096cba43ddd15f7d25a81562fa6ac37a7074def883ba2f1418adca2487802fcf7044ff92378bb3552ac58170b3c1e7bec4ceeb3 SHA512 97475d7e6648909b1989979292872baf1d13e24c30f3c3403fe1b7fab91ac06e2dcccf17d34ff6af9a48d2b2088df1ea91c7c159737843b3a712601d121bb67e

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-destdir.patch b/app-misc/uwufetch/files/uwufetch-2.0-destdir.patch
new file mode 100644
index 000000000..1fb61d360
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-destdir.patch
@@ -0,0 +1,17 @@
+--- Makefile	2022-09-30 13:04:19.913850961 -0400
++++ Makefile	2022-09-30 13:05:14.877102396 -0400
+@@ -91,12 +91,12 @@
+ 	./$(NAME) $(ARGS)
+ 
+ install: build
+-	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) $(ETC_DIR)/$(NAME)
++	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME)
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+ 	cp $(LIB_FILES:.c=.h) $(DESTDIR)/include
+ 	cp -r res/* $(DESTDIR)/$(LIBDIR)/$(NAME)
+-	cp default.config $(ETC_DIR)/$(NAME)/config
++	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+ 	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)
+ 
+ uninstall:

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-includedir.patch b/app-misc/uwufetch/files/uwufetch-2.0-includedir.patch
new file mode 100644
index 000000000..f7efb8cf6
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-includedir.patch
@@ -0,0 +1,15 @@
+--- Makefile	2022-10-04 12:15:17.893515471 -0400
++++ Makefile-tmp	2022-10-04 12:17:03.220062320 -0400
+@@ -91,10 +91,10 @@
+ 	./$(NAME) $(ARGS)
+ 
+ install: build
+-	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME)
++	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME) ${DESTDIR}/include
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+-	cp $(LIB_FILES:.c=.h) $(DESTDIR)/include
++	cp $(LIB_FILES:.c=.h) $(DESTDIR)/include/
+ 	cp -r res/* $(DESTDIR)/$(LIBDIR)/$(NAME)
+ 	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+ 	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-lib64.patch b/app-misc/uwufetch/files/uwufetch-2.0-lib64.patch
new file mode 100644
index 000000000..c00702f47
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-lib64.patch
@@ -0,0 +1,11 @@
+--- Makefile	2022-10-03 16:17:42.115920608 -0400
++++ Makefile	2022-10-03 16:24:17.248455117 -0400
+@@ -13,7 +13,7 @@
+ 
+ ifeq ($(PLATFORM), Linux)
+ 	PREFIX		= bin
+-	LIBDIR		= lib
++	LIBDIR		= lib64
+ 	ETC_DIR		= /etc
+ 	MANDIR		= share/man/man1
+ 	PLATFORM_ABBR = linux

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-nocompressman.patch b/app-misc/uwufetch/files/uwufetch-2.0-nocompressman.patch
new file mode 100644
index 000000000..8a23f147c
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-nocompressman.patch
@@ -0,0 +1,10 @@
+--- Makefile	2022-12-01 16:22:56.221596853 -0500
++++ Makefile-tmp	2022-12-01 16:23:39.471542956 -0500
+@@ -97,7 +97,6 @@
+ 	cp $(LIB_FILES:.c=.h) $(DESTDIR)/include/
+ 	cp -r res/* $(DESTDIR)/lib/$(NAME)
+ 	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+-	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)
+ 
+ uninstall:
+ 	rm -f $(DESTDIR)/$(PREFIX)/$(NAME)

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-reslib.patch b/app-misc/uwufetch/files/uwufetch-2.0-reslib.patch
new file mode 100644
index 000000000..3a207f21d
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-reslib.patch
@@ -0,0 +1,16 @@
+--- Makefile	2022-10-04 12:18:03.076649484 -0400
++++ Makefile-tmp	2022-10-04 12:23:48.782933214 -0400
+@@ -91,11 +91,11 @@
+ 	./$(NAME) $(ARGS)
+ 
+ install: build
+-	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME) ${DESTDIR}/include
++	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME) ${DESTDIR}/include ${DESTDIR}/lib/uwufetch
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+ 	cp $(LIB_FILES:.c=.h) $(DESTDIR)/include/
+-	cp -r res/* $(DESTDIR)/$(LIBDIR)/$(NAME)
++	cp -r res/* $(DESTDIR)/lib/$(NAME)
+ 	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+ 	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)
+ 

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-soname.patch b/app-misc/uwufetch/files/uwufetch-2.0-soname.patch
new file mode 100644
index 000000000..691b1e805
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-soname.patch
@@ -0,0 +1,11 @@
+--- Makefile	2022-10-04 12:10:11.990564393 -0400
++++ Makefile-tmp	2022-10-04 12:48:43.320067178 -0400
+@@ -64,7 +64,7 @@
+ endif
+ 
+ build: $(BIN_FILES) lib
+-	$(CC) $(CFLAGS) -o $(NAME) $(BIN_FILES) lib$(LIB_FILES:.c=.a)
++	$(CC) $(CFLAGS) -Wl -soname -o $(NAME) $(BIN_FILES) lib$(LIB_FILES:.c=.a)
+ 
+ lib: $(LIB_FILES)
+ 	$(CC) $(CFLAGS) -fPIC -c -o $(LIB_FILES:.c=.o) $(LIB_FILES)

diff --git a/app-misc/uwufetch/uwufetch-2.0.ebuild b/app-misc/uwufetch/uwufetch-2.0.ebuild
new file mode 100644
index 000000000..8faba78df
--- /dev/null
+++ b/app-misc/uwufetch/uwufetch-2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A meme system info tool for Linux"
+HOMEPAGE="https://github.com/TheDarkBug/uwufetch"
+SRC_URI="https://github.com/TheDarkBug/uwufetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+PATCHES=(
+	"${FILESDIR}/${P}-destdir.patch"
+	"${FILESDIR}/${P}-soname.patch"
+	"${FILESDIR}/${P}-lib64.patch"
+)
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="x11-apps/xwininfo"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+	eapply -p0 "${FILESDIR}/${P}-destdir.patch"
+	#eapply -p0 "${FILESDIR}/${P}-soname.patch"
+	eapply -p0 "${FILESDIR}/${P}-lib64.patch"
+	eapply -p0 "${FILESDIR}/${P}-includedir.patch"
+	eapply -p0 "${FILESDIR}/${P}-reslib.patch"
+	eapply -p0 "${FILESDIR}/${P}-nocompressman.patch"
+
+	eapply_user
+}
+
+src_compile() {
+	emake build
+}
+
+src_install() {
+	emake DESTDIR="${D}/usr" install
+
+	mv "${D}/usr/etc" "${D}/etc"
+
+	dodoc uwufetch.1
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/uwufetch/files/, app-misc/uwufetch/
@ 2022-12-11 17:40 Cara Salter
  0 siblings, 0 replies; 3+ messages in thread
From: Cara Salter @ 2022-12-11 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     bd03d6876bbcc15dc299b7acb483296282dd081e
Author:     Cara Salter <cara <AT> devcara <DOT> com>
AuthorDate: Sun Dec 11 17:40:00 2022 +0000
Commit:     Cara Salter <cara <AT> devcara <DOT> com>
CommitDate: Sun Dec 11 17:40:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd03d687

app-misc/uwufetch: Resolve directly calling out to ar

Bug: https://bugs.gentoo.org/885461
Signed-off-by: Cara Salter <cara <AT> devcara.com>

 app-misc/uwufetch/files/uwufetch-2.0-ar.patch | 11 +++++++++++
 app-misc/uwufetch/uwufetch-2.0.ebuild         |  1 +
 2 files changed, 12 insertions(+)

diff --git a/app-misc/uwufetch/files/uwufetch-2.0-ar.patch b/app-misc/uwufetch/files/uwufetch-2.0-ar.patch
new file mode 100644
index 000000000..4e9c50466
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.0-ar.patch
@@ -0,0 +1,11 @@
+--- a/Makefile	2022-12-11 12:32:27.488636479 -0500
++++ b/Makefile	2022-12-11 12:32:53.205856210 -0500
+@@ -5,7 +5,7 @@
+ CFLAGS := $(CFLAGS) -O3 -DUWUFETCH_VERSION=\"$(UWUFETCH_VERSION)\"
+ CFLAGS_DEBUG = -Wall -Wextra -g -pthread -DUWUFETCH_VERSION=\"$(UWUFETCH_VERSION)\"
+ CC ?= cc
+-AR = ar
++AR ?= ar
+ DESTDIR = /usr
+ RELEASE_SCRIPTS = release_scripts/*.sh
+ PLATFORM = $(shell uname)

diff --git a/app-misc/uwufetch/uwufetch-2.0.ebuild b/app-misc/uwufetch/uwufetch-2.0.ebuild
index 7eef0ac1b..3b7556bb7 100644
--- a/app-misc/uwufetch/uwufetch-2.0.ebuild
+++ b/app-misc/uwufetch/uwufetch-2.0.ebuild
@@ -31,6 +31,7 @@ src_prepare() {
 	eapply -p0 "${FILESDIR}/${P}-cflags-ldflags.patch"
 	eapply -p0 "${FILESDIR}/${P}-soname.patch"
 	eapply -p0 "${FILESDIR}/${P}-no-install-soname.patch"
+	eapply "${FILESDIR}/${P}-ar.patch"
 
 	eapply_user
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/uwufetch/files/, app-misc/uwufetch/
@ 2023-09-14 17:40 Cara Salter
  0 siblings, 0 replies; 3+ messages in thread
From: Cara Salter @ 2023-09-14 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     b900451f7833212ce712ce3af82cc741031e9e98
Author:     Cara Salter <cara <AT> devcara <DOT> com>
AuthorDate: Thu Sep 14 17:40:35 2023 +0000
Commit:     Cara Salter <cara <AT> devcara <DOT> com>
CommitDate: Thu Sep 14 17:40:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b900451f

app-misc/uwufetch: add 2.1

Signed-off-by: Cara Salter <cara <AT> devcara.com>

 app-misc/uwufetch/Manifest                         |  1 +
 app-misc/uwufetch/files/uwufetch-2.1-destdir.patch | 18 +++++++++
 .../uwufetch/files/uwufetch-2.1-includedir.patch   | 12 ++++++
 app-misc/uwufetch/files/uwufetch-2.1-lib64.patch   | 12 ++++++
 .../uwufetch/files/uwufetch-2.1-mkinclude.patch    | 12 ++++++
 app-misc/uwufetch/uwufetch-2.1.ebuild              | 44 ++++++++++++++++++++++
 6 files changed, 99 insertions(+)

diff --git a/app-misc/uwufetch/Manifest b/app-misc/uwufetch/Manifest
index d242147318..476441d16e 100644
--- a/app-misc/uwufetch/Manifest
+++ b/app-misc/uwufetch/Manifest
@@ -1 +1,2 @@
 DIST uwufetch-2.0.tar.gz 2595233 BLAKE2B ba830b2229c72e76c5ceb3ec6096cba43ddd15f7d25a81562fa6ac37a7074def883ba2f1418adca2487802fcf7044ff92378bb3552ac58170b3c1e7bec4ceeb3 SHA512 97475d7e6648909b1989979292872baf1d13e24c30f3c3403fe1b7fab91ac06e2dcccf17d34ff6af9a48d2b2088df1ea91c7c159737843b3a712601d121bb67e
+DIST uwufetch-2.1.tar.gz 2610835 BLAKE2B 2a983b72637ac21d749d846125ad03277a11eb38ff5a3b49f28ff3fe039715ec115e7b8bda638b4fd25438975e8c36cd1dc0c547270fa61996955a14ad884577 SHA512 7e64d8a52f12e87be16994ffc45f1ffc85ddec230eacbaf25d29e3ddb8901fa4b2fbf3efa02d35b7d81b6a02fec42ec521a5cd80eeb0e1475fc6c59d17a0b381

diff --git a/app-misc/uwufetch/files/uwufetch-2.1-destdir.patch b/app-misc/uwufetch/files/uwufetch-2.1-destdir.patch
new file mode 100644
index 0000000000..608487343f
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.1-destdir.patch
@@ -0,0 +1,18 @@
+--- Makefile	2023-02-13 07:38:44.000000000 -0500
++++ Makefile-tmp	2023-09-14 13:06:28.012654441 -0400
+@@ -103,12 +103,12 @@
+ 	./$(NAME) $(ARGS)
+ 
+ install: build man
+-	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) $(ETC_DIR)/$(NAME)
++	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME)
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+ 	cp $(LIB_FILES:.c=.h) $(DESTDIR)/$(INCDIR)
+ 	cp -r res/* $(DESTDIR)/$(LIBDIR)/$(NAME)
+-	cp default.config $(ETC_DIR)/$(NAME)/config
++	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+ 	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)
+ 
+ uninstall:
+

diff --git a/app-misc/uwufetch/files/uwufetch-2.1-includedir.patch b/app-misc/uwufetch/files/uwufetch-2.1-includedir.patch
new file mode 100644
index 0000000000..23ea4f2a72
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.1-includedir.patch
@@ -0,0 +1,12 @@
+--- Makefile	2023-09-14 13:22:17.487810992 -0400
++++ Makefile-tmp	2023-09-14 13:33:18.990358700 -0400
+@@ -106,7 +106,7 @@
+ 	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME)
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+-	cp $(LIB_FILES:.c=.h) $(DESTDIR)/$(INCDIR)
++	cp $(LIB_FILES:.c=.h) $(DESTDIR)/$(INCDIR)/
+ 	cp -r res/* $(DESTDIR)/$(LIBDIR)/$(NAME)
+ 	cp default.config ${DESTDIR}/$(ETC_DIR)/$(NAME)/config
+ 	cp ./$(NAME).1.gz $(DESTDIR)/$(MANDIR)
+

diff --git a/app-misc/uwufetch/files/uwufetch-2.1-lib64.patch b/app-misc/uwufetch/files/uwufetch-2.1-lib64.patch
new file mode 100644
index 0000000000..c17b35af0b
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.1-lib64.patch
@@ -0,0 +1,12 @@
+--- Makefile	2023-09-14 13:19:55.388011895 -0400
++++ Makefile-tmp	2023-09-14 13:21:18.607891001 -0400
+@@ -17,7 +17,7 @@
+ 
+ ifeq ($(PLATFORM), Linux)
+ 	PREFIX		= bin
+-	LIBDIR		= lib
++	LIBDIR		= lib64
+ 	INCDIR		= include
+ 	ETC_DIR		= /etc
+ 	MANDIR		= share/man/man1
+

diff --git a/app-misc/uwufetch/files/uwufetch-2.1-mkinclude.patch b/app-misc/uwufetch/files/uwufetch-2.1-mkinclude.patch
new file mode 100644
index 0000000000..a4b1d395e0
--- /dev/null
+++ b/app-misc/uwufetch/files/uwufetch-2.1-mkinclude.patch
@@ -0,0 +1,12 @@
+--- Makefile	2023-09-14 13:33:57.490315315 -0400
++++ Makefile-tmp	2023-09-14 13:34:37.140272322 -0400
+@@ -103,7 +103,7 @@
+ 	./$(NAME) $(ARGS)
+ 
+ install: build man
+-	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME)
++	mkdir -pv $(DESTDIR)/$(PREFIX) $(DESTDIR)/$(LIBDIR)/$(NAME) $(DESTDIR)/$(MANDIR) ${DESTDIR}/$(ETC_DIR)/$(NAME) ${DESTDIR}/${INCDIR}
+ 	cp $(NAME) $(DESTDIR)/$(PREFIX)
+ 	cp lib$(LIB_FILES:.c=.so) $(DESTDIR)/$(LIBDIR)
+ 	cp $(LIB_FILES:.c=.h) $(DESTDIR)/$(INCDIR)/
+

diff --git a/app-misc/uwufetch/uwufetch-2.1.ebuild b/app-misc/uwufetch/uwufetch-2.1.ebuild
new file mode 100644
index 0000000000..32e56eb687
--- /dev/null
+++ b/app-misc/uwufetch/uwufetch-2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A meme system info tool for Linux"
+HOMEPAGE="https://github.com/TheDarkBug/uwufetch"
+SRC_URI="https://github.com/TheDarkBug/uwufetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+PATCHES=(
+	"${FILESDIR}/${P}-destdir.patch"
+)
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="x11-apps/xwininfo"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+	eapply -p0 "${FILESDIR}/${P}-destdir.patch"
+	eapply -p0 "${FILESDIR}/${P}-lib64.patch"
+	eapply -p0 "${FILESDIR}/${P}-includedir.patch"
+	eapply -p0 "${FILESDIR}/${P}-mkinclude.patch"
+
+	eapply_user
+}
+
+src_compile() {
+	emake build
+	cp libfetch.so "libfetch.so.1"
+}
+
+src_install() {
+	emake DESTDIR="${D}/usr" install
+
+	mv "${D}/usr/etc" "${D}/etc"
+
+	doman uwufetch.1
+	dolib.so libfetch.so.1
+	dosym "libfetch.so.1" "/usr/$(get_libdir)/libfetch.so.1"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-14 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 17:40 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/uwufetch/files/, app-misc/uwufetch/ Cara Salter
  -- strict thread matches above, loose matches on Subject: below --
2022-12-11 17:40 Cara Salter
2022-12-01 21:32 Cara Salter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox