Remove savedconfig from dwl

- dwl package should build using config.h that is included in repo,
  not a system specific file
- Fix leftover `+=`
This commit is contained in:
Sravan Balaji
2024-08-31 16:18:18 -04:00
parent d8cf42a9cb
commit 9b1b6e38fd

View File

@@ -19,9 +19,9 @@ IUSE="X"
S="${WORKDIR}/${PN}"
inherit git-r3 savedconfig toolchain-funcs
inherit git-r3 toolchain-funcs
COMMON_DEPEND+="
COMMON_DEPEND="
gui-libs/wlroots:=[libinput,session,X?]
dev-libs/libinput:=
dev-libs/wayland
@@ -48,12 +48,6 @@ BDEPEND="
virtual/pkgconfig
"
src_prepare() {
restore_config config.h
default
}
src_compile() {
emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
@@ -62,6 +56,4 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
dodoc CHANGELOG.md README.md
save_config config.h
}