mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
x11-misc/i3blocks-contrib: drop 2.0.0, 2.0.0-r1
Bug: https://bugs.gentoo.org/970405 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST i3blocks-contrib-2.0.0.tar.gz 840332 BLAKE2B e220566edea4249c25ac80dcba3e24fc37de842049ad072a14fd5003e298ec9a4b4f36cd3937682ab00355b1f1c3fc7ea795ac6593f24aed2438b465ad338d8f SHA512 30cf9297e710a2d685b275d424de817e7940a487c615e64ffaf15e0f90e937bedbd3921dfeece081e32f720b6add92c0790fa7a29e4e8f81f85c3a74cbcea835
|
||||
DIST i3blocks-contrib-2.0.0_p20240208.tar.gz 2940879 BLAKE2B f47074d13412b678e9bed184a0e8bbef88db461be1066c048fa6de60a66149b9c0f17c60c2eb3ee1ad17c4cabd61571430a8724a52396a347620a36ebd4e4472 SHA512 27b37d9e8827741506296a01ab6ac512441a2f3dbf222643f9973dc0ee71364449bd733c4eea3de906895a48adc2981c8cbea928233215a458557c2388b8bdf0
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
--- a/bandwidth2/Makefile
|
||||
+++ b/bandwidth2/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
P=bandwidth2
|
||||
OBJECTS=
|
||||
-CFLAGS=-g -Wall -Werror -O2 -std=c11
|
||||
+CFLAGS ?= -g -Wall -Werror -O2 -std=c11
|
||||
LDLIBS=
|
||||
|
||||
$(P): $(OBJECTS)
|
||||
--- a/brightness/Makefile
|
||||
+++ b/brightness/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
-CC=gcc
|
||||
-AS=as
|
||||
-LD=ld
|
||||
+CC ?= gcc
|
||||
+AS ?= as
|
||||
+LD ?= ld
|
||||
OBJDUMP=objdump
|
||||
OBJCOPY=objcopy
|
||||
SIZE=size
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
PRG = brightness
|
||||
INCLUDES := -Iinc
|
||||
-CFLAGS := $(INCLUDES) $(DEFS) $(WARN_LEVEL) -pipe -O0 -g3 -std=c11
|
||||
+CFLAGS ?= -pipe -O0 -g3 -std=c11
|
||||
|
||||
debug: CFLAGS += -O0 -g3
|
||||
debug: all
|
||||
|
||||
release: CFLAGS += -O2
|
||||
release: all
|
||||
-LDFLAGS = $(LIBS) -ffunction-sections -Wl,--gc-sections
|
||||
+LDFLAGS ?= -ffunction-sections -Wl,--gc-sections
|
||||
|
||||
SRC_C := $(wildcard *.c) $(wildcard src/*.c)
|
||||
SRC_A := $(wildcard src/*.s)
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
$(OBJ_DIR)/%.o: %.c
|
||||
@mkdir -p $(@D)
|
||||
- $(CC) $(CFLAGS) -o $@ -c $<
|
||||
+ $(CC) $(CFLAGS) $(INCLUDES) $(DEFS) $(WARN_LEVEL) -o $@ -c $<
|
||||
|
||||
$(BIN_DIR)/$(PRG): $(OBJECTS)
|
||||
@mkdir -p $(@D)
|
||||
--- a/cpu_usage2/Makefile
|
||||
+++ b/cpu_usage2/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
P=cpu_usage2
|
||||
OBJECTS=
|
||||
-CFLAGS=-g -Wall -Werror -O2 -std=gnu11
|
||||
+CFLAGS ?= -g -Wall -Werror -O2 -std=gnu11
|
||||
LDLIBS=
|
||||
|
||||
$(P): $(OBJECTS)
|
||||
--- a/memory2/Makefile
|
||||
+++ b/memory2/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
P=memory2
|
||||
OBJECTS=
|
||||
-CFLAGS=-g -Wall -Werror -O2 -std=c11
|
||||
+CFLAGS ?= -g -Wall -Werror -O2 -std=c11
|
||||
LDLIBS=
|
||||
|
||||
$(P): $(OBJECTS)
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit optfeature toolchain-funcs
|
||||
|
||||
DESCRIPTION="A set of scripts for i3blocks, contributed by the community"
|
||||
HOMEPAGE="https://github.com/vivien/i3blocks-contrib"
|
||||
SRC_URI="https://github.com/vivien/i3blocks-contrib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND=">=x11-misc/i3blocks-1.5"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-respect-CFLAGS.patch
|
||||
"${FILESDIR}"/${P}-fix-build-on-clang-llvm.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^$(_BLOCKS):/ s/$/ installdirs/' Makefile
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC LD
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "The following deps may be required for certain ${PN} scripts:"
|
||||
optfeature "backlight" sys-power/acpilight x11-apps/xbacklight
|
||||
optfeature "battery{,2,bar}" sys-power/acpi
|
||||
optfeature "colorpicker" x11-misc/grabc x11-misc/xdotool
|
||||
optfeature "cpu_usage" app-admin/sysstat
|
||||
optfeature "disk-io" app-admin/sysstat
|
||||
optfeature "email" dev-python/keyring gnome-base/gnome-keyring
|
||||
optfeature "eyedropper" media-fonts/fontawesome x11-misc/grabc x11-misc/xclip
|
||||
optfeature "github" dev-util/github-cli media-fonts/fontawesome
|
||||
optfeature "gpu-load" x11-drivers/nvidia-drivers app-misc/radeontop
|
||||
optfeature "i3-focusedwindow" x11-apps/xprop
|
||||
optfeature "kbdd_layout" x11-misc/kbdd
|
||||
optfeature "key_light" sys-power/upower
|
||||
optfeature "kubernetes" sys-cluster/kubectl
|
||||
optfeature "monitor_manager" "dev-lang/python[tk] media-fonts/fontawesome x11-apps/xrandr"
|
||||
optfeature "purpleair" app-misc/jq net-misc/curl
|
||||
optfeature "rofi-calendar" x11-misc/rofi
|
||||
optfeature "ssid and wlan-dbm" net-wireless/iw
|
||||
optfeature "temperature" sys-apps/lm-sensors
|
||||
optfeature "ytdl-mpv" "media-fonts/fontawesome media-video/mpv[lua] x11-misc/xclip net-misc/yt-dlp"
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit optfeature toolchain-funcs
|
||||
|
||||
DESCRIPTION="A set of scripts for i3blocks, contributed by the community"
|
||||
HOMEPAGE="https://github.com/vivien/i3blocks-contrib"
|
||||
SRC_URI="https://github.com/vivien/i3blocks-contrib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=x11-misc/i3blocks-1.5"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-respect-CFLAGS.patch
|
||||
"${FILESDIR}"/${P}-fix-build-on-clang-llvm.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^$(_BLOCKS):/ s/$/ installdirs/' Makefile
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC LD
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "The following deps may be required for certain ${PN} scripts:"
|
||||
optfeature "backlight" sys-power/acpilight x11-apps/xbacklight
|
||||
optfeature "battery{,2,bar}" sys-power/acpi
|
||||
optfeature "colorpicker" x11-misc/grabc x11-misc/xdotool
|
||||
optfeature "cpu_usage" app-admin/sysstat
|
||||
optfeature "disk-io" app-admin/sysstat
|
||||
optfeature "email" dev-python/keyring gnome-base/gnome-keyring
|
||||
optfeature "eyedropper" media-fonts/fontawesome x11-misc/grabc x11-misc/xclip
|
||||
optfeature "github" dev-util/github-cli media-fonts/fontawesome
|
||||
optfeature "gpu-load" x11-drivers/nvidia-drivers app-misc/radeontop
|
||||
optfeature "i3-focusedwindow" x11-apps/xprop
|
||||
optfeature "kbdd_layout" x11-misc/kbdd
|
||||
optfeature "key_light" sys-power/upower
|
||||
optfeature "kubernetes" sys-cluster/kubectl
|
||||
optfeature "monitor_manager" "dev-lang/python[tk] media-fonts/fontawesome x11-apps/xrandr"
|
||||
optfeature "purpleair" app-misc/jq net-misc/curl
|
||||
optfeature "rofi-calendar" x11-misc/rofi
|
||||
optfeature "ssid and wlan-dbm" net-wireless/iw
|
||||
optfeature "temperature" sys-apps/lm-sensors
|
||||
optfeature "ytdl-mpv" "media-fonts/fontawesome media-video/mpv[lua] x11-misc/xclip net-misc/yt-dlp"
|
||||
}
|
||||
Reference in New Issue
Block a user