Browse Source

x11-misc: re-add gentoo patch, add metadata.xml

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Kai S. K. Engelbart <kai@kske.dev>
master
kske 7 months ago
parent
commit
769ac56fe7
Signed by: kske GPG Key ID: 8BEB13EC5DF7EF13
  1. 4
      x11-misc/dmenu/Manifest
  2. 6
      x11-misc/dmenu/dmenu-9999.ebuild
  3. 21
      x11-misc/dmenu/files/dmenu-5.0-gentoo.patch
  4. 8
      x11-misc/dmenu/metadata.xml

4
x11-misc/dmenu/Manifest

@ -1 +1,3 @@
EBUILD dmenu-9999.ebuild 1325 BLAKE2B cb544fa5f926c8ef48ac43b2b1100e4d52f02ba8ccc18bb0b9c2ea84169760cb211a88acee1799fc6106e9a570c6e34982c75c4a75c2ce9b25515f6d28f79eb7 SHA512 7607cddbdd318c76a628fd20bfa2fb384db3b7cdeee3b81da88adf3916f3820aa5dc529a2ff2e8411aaa1f0c61efd53584c69c58a5ad4c64bf8ff5ca180af79a
AUX dmenu-5.0-gentoo.patch 759 BLAKE2B 965ebf79e580466fd98c3621d4d3b0cb9ea961a9f0f27cf1b91a82362aa49939469509929a66a0ef1e7a1be2a9919b2ab821882fa0d6b28e0821194e48e3c739 SHA512 15f379af1133ffa2724a1b5191108a85231f10db16850e14e1a8935f47cb3326061bed3c4854c8aba7bc1076211f1154c5927ff42e46e905b09a695666bbb576
EBUILD dmenu-9999.ebuild 1376 BLAKE2B 6c05d1de8571d2e7708eebd7a7d1e4953f9508e2497f62cca46314df79e439ccdb0b1f5b5729cc2f6278be431586af6b651daa5f5dc411937e36864883bf4034 SHA512 920eccfc43868638a3a0e1db1048d7d5bc4c53e5baf2ff58826450b66a6e77c4c93e17878245d13013d851ce0f7aedc024904d61f606f901123c70a55071de08
MISC metadata.xml 247 BLAKE2B cec31354301253096ecadca6c23301bca3a0f859c23e07d6c5491926e30a4b95d8b2a5d7a0ccade0b55a091da827f5f6abe2e79dcc54c97c88f7675b7db7662a SHA512 fa7cdc70fb7ff6c6a8c4ea1329fe943d49f5defd45e1f29993624c046bf4013dabd5caeabf6c0a382710d191f3ce3861723f10b76665e624dcdebc76217f7e49

6
x11-misc/dmenu/dmenu-9999.ebuild

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -24,6 +24,10 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto
"
PATCHES=(
"${FILESDIR}"/${PN}-5.0-gentoo.patch
)
src_prepare() {
default

21
x11-misc/dmenu/files/dmenu-5.0-gentoo.patch

@ -0,0 +1,21 @@
--- a/config.mk
+++ b/config.mk
@@ -19,13 +19,13 @@
#FREETYPEINC = $(X11INC)/freetype2
# includes and libs
-INCS = -I$(X11INC) -I$(FREETYPEINC)
-LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
+INCS = $(X11INC) $(FREETYPEINC)
+LIBS = $(X11LIB) $(XINERAMALIBS) $(FREETYPELIBS)
# flags
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
-CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
-LDFLAGS = $(LIBS)
+CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
+CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)
+LDFLAGS += $(LIBS)
# compiler and linker
CC = cc

8
x11-misc/dmenu/metadata.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kai@kske.dev</email>
<name>Kai S. K. Engelbart</name>
</maintainer>
</pkgmetadata>
Loading…
Cancel
Save