summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-20 00:10:57 +0100
commitd6ca4e4f90cb75c323b5988eefa96a04c0d36908 (patch)
tree8197fc88451976470c871e991b75a9d40c240270 /app-misc
parente8df704cf9b5e9e517317b8912377c0a8ca0d11e (diff)
gentoo auto-resync : 20:06:2024 - 00:10:56
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/Manifest.gzbin50762 -> 50757 bytes
-rw-r--r--app-misc/blink1/Manifest3
-rw-r--r--app-misc/blink1/blink1-1.98-r3.ebuild (renamed from app-misc/blink1/blink1-1.98-r2.ebuild)60
-rw-r--r--app-misc/blink1/files/blink1-1.98-ldflags.patch10
4 files changed, 35 insertions, 38 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz
index c95ceb8a7796..74b48acb4dd2 100644
--- a/app-misc/Manifest.gz
+++ b/app-misc/Manifest.gz
Binary files differ
diff --git a/app-misc/blink1/Manifest b/app-misc/blink1/Manifest
index a1a330765905..2d7877c72692 100644
--- a/app-misc/blink1/Manifest
+++ b/app-misc/blink1/Manifest
@@ -1,3 +1,4 @@
+AUX blink1-1.98-ldflags.patch 209 BLAKE2B f35dbdedc59ac93071c8fcc1a2194355cfbc67f0e35ce3a974f2a10ce5bb60f002b8e99ba619f5fa671b4b214aefa35110444e756481d7b9d6eec61aabee695d SHA512 5ab8980846b0f62edfe41ab4f40a9353963ced0f754af21552512bd7d30a5494acdd11cbcacd2df39b0b75840e92e86128ec9aeae6a9e636b5c52884a8c33e48
DIST blink1-1.98.tar.gz 29439933 BLAKE2B 5c775819c9401c04e1c9adeb3dcb1f524ed30b6493380368b063a6ef94af75ab30e8b7f43e1b195f17578a1625bc6118bd65c7402376560ab5ee00e80f0c5c04 SHA512 2057e3ccf149dbdaaea2d09dabaa95317125d65151dc79c675365f55e85a3d0988232fd5ff404bdcfd127ebc266495afa04fb1b3fd0e4ac931bb711b0bb63568
-EBUILD blink1-1.98-r2.ebuild 2399 BLAKE2B e21101114f58e5013a8a024222ab424a0c83ca00220fe883ccb627007f3c7e26635ab1bb0e9c2f523a11ee3b7a946f0680c44ac9d1f6705663c97b7563be9f36 SHA512 9d29ad91b495027dcfb1a0730dd565fadc123749e3ab02f15c65e5d8415644fc489f4973ba9f69674b77169cb1d7644f7b8356282eba95ad706a80c64e755ebc
+EBUILD blink1-1.98-r3.ebuild 1831 BLAKE2B 01bb57a1a945816e387039c50896a0aac371f64b2cc5b4fff2486b8bdb4eeadb2e983c583eea2b816caa5118c973e4bd8aa7689f506fe5b64dfbe7db58905ee7 SHA512 297cf60c39b52926cd405ec4e7b3fd060896b3e1d434c9e5575df3282b9a448c0c097801cfaecd94fb465321f1d3a1ebc16bb9b06cd515634ac036e6524bc1e3
MISC metadata.xml 579 BLAKE2B b1fa9c28cbce7ee17ea498f174fc1ef2acc021015c86bf606a3ff2ec29b35e12a3caba23cc5256aee701859b387f81d208ea85a0b9291c9795d9d2e74e995868 SHA512 b700bf689d45d2b69ce2a47220cb799042d9f5169a30e1d019e244faaf1d2eec3e37ae448a9e222a5a99b7ad2892ded1914e9694608cf4e8b35b2dc4edd47e15
diff --git a/app-misc/blink1/blink1-1.98-r2.ebuild b/app-misc/blink1/blink1-1.98-r3.ebuild
index 491a0fb73ed2..418691a46207 100644
--- a/app-misc/blink1/blink1-1.98-r2.ebuild
+++ b/app-misc/blink1/blink1-1.98-r3.ebuild
@@ -1,57 +1,43 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit linux-info
+inherit linux-info toolchain-funcs
DESCRIPTION="blink(1) USB RGB LED status light control suite"
HOMEPAGE="https://blink1.thingm.com/"
+SRC_URI="https://github.com/todbot/blink1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${P}
-## github release tarball
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-SRC_URI="https://github.com/todbot/blink1/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-#MY_GIT_COMMIT="1e9c012bd79cb99a53a22980fbaa6f97801e7c03"
-#MY_P="todbot-${PN}-${MY_GIT_COMMIT:0:7}"
-#SRC_URI="https://github.com/todbot/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
LICENSE="CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="doc examples +tool mini-tool server"
+REQUIRED_USE="|| ( tool mini-tool server )"
-RDEPEND="dev-libs/hidapi
- virtual/libusb:1
- virtual/libudev
+RDEPEND="
+ dev-libs/hidapi
sys-apps/attr
- sys-libs/libcap"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ sys-libs/libcap
+ virtual/libudev
+ virtual/libusb:1
+ mini-tool? ( virtual/libusb:0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-ldflags.patch"
+)
pkg_setup() {
- ## check for USB HID kernel support
+ local CONFIG_CHECK="USB_HID"
linux-info_pkg_setup
- CONFIG_CHECK="USB_HID"
- check_extra_config
- ## check for acceptable USE flag settings
- if ! ( use tool || use mini-tool || use server ); then
- eerror "At least one of the following USE flags must be enabled:"
- eerror "tool, mini-tool, server"
- die "unacceptable USE flag settings"
- fi
}
src_compile() {
+ tc-export CC
if use tool; then
pushd commandline &>/dev/null
# USBLIB_TYPE=HIDAPI
diff --git a/app-misc/blink1/files/blink1-1.98-ldflags.patch b/app-misc/blink1/files/blink1-1.98-ldflags.patch
new file mode 100644
index 000000000000..17962cf23dfe
--- /dev/null
+++ b/app-misc/blink1/files/blink1-1.98-ldflags.patch
@@ -0,0 +1,10 @@
+--- a/commandline/Makefile
++++ b/commandline/Makefile
+@@ -229,6 +229,7 @@
+
+ # static doesn't work on Ubuntu 13+
+ #EXEFLAGS = -static
++EXEFLAGS = $(LDFLAGS)
+ LIBFLAGS = -shared -o $(LIBTARGET) $(LIBS)
+ EXE=
+