summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-01-13 10:51:51 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-01-13 10:52:01 +0100
commit0c322925a8b68d91e61d2ed1db56478f2f432199 (patch)
treed601a8a9c39d27e271d2851d7154953d509a47f5 /media-sound
parentdev-python/argh: Stabilize 0.30.5 ALLARCHES, #921999 (diff)
downloadgentoo-0c322925a8b68d91e61d2ed1db56478f2f432199.tar.gz
gentoo-0c322925a8b68d91e61d2ed1db56478f2f432199.tar.bz2
gentoo-0c322925a8b68d91e61d2ed1db56478f2f432199.zip
media-sound/mpdscribble: dropped obsolete 0.24
Bug: https://bugs.gentoo.org/921979 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpdscribble/Manifest1
-rw-r--r--media-sound/mpdscribble/files/mpdscribble-0.23-gcc12-time.patch37
-rw-r--r--media-sound/mpdscribble/mpdscribble-0.24.ebuild54
3 files changed, 0 insertions, 92 deletions
diff --git a/media-sound/mpdscribble/Manifest b/media-sound/mpdscribble/Manifest
index b12bdb87f815..c196f8ada852 100644
--- a/media-sound/mpdscribble/Manifest
+++ b/media-sound/mpdscribble/Manifest
@@ -1,2 +1 @@
-DIST mpdscribble-0.24.tar.xz 69856 BLAKE2B 84143ed7f6978aff32fa759bbe90c934ba5c58df294d375921ffb1cd45de13ecd867fb832940088228fdad4c09948cd82c8dfe9b7fe77d6652743d522bfde8b7 SHA512 cca57f54f69ec1c870805cc58057e6325b6f5897370c315dcd6a64c5dd28ac07fdbddaa8b56f8c1fd88e71d27505f1a87decd68fbdff1f3fe1eaadec8ae80dae
DIST mpdscribble-0.25.tar.xz 68732 BLAKE2B 292addab1b84831f5b987976dea21938ead9888de828919a32e5c9be725b90d86b65be57bfc6637d3b5121902d646002890381d75bba385e982e9387088b38a2 SHA512 d22c334865794ca45142b2d8edbaffa69cd79b11de33406d1588ea157941973862d3841145a5fe3d530cb8253af944eb9ecc2b6be4fd57c07600e53b63161e47
diff --git a/media-sound/mpdscribble/files/mpdscribble-0.23-gcc12-time.patch b/media-sound/mpdscribble/files/mpdscribble-0.23-gcc12-time.patch
deleted file mode 100644
index 7a6a247d73d0..000000000000
--- a/media-sound/mpdscribble/files/mpdscribble-0.23-gcc12-time.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/MusicPlayerDaemon/mpdscribble/pull/42
-
-From: Sam James <sam@gentoo.org>
-Date: Sun, 12 Jun 2022 11:11:08 +0100
-Subject: [PATCH] Fix build with GCC 12 (missing <time.h> include)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fixes the following build failure with GCC 12:
-```
-FAILED: mpdscribble.p/src_Log.cxx.o
-[...]
-../mpdscribble-0.24/src/Log.cxx: In function ‘const char* log_date()’:
-../mpdscribble-0.24/src/Log.cxx:48:13: error: ‘time’ was not declared in this scope
- 48 | t = time(nullptr);
- | ^~~~
-../mpdscribble-0.24/src/Log.cxx:49:15: error: ‘localtime’ was not declared in this scope
- 49 | tmp = localtime(&t);
- | ^~~~~~~~~
-../mpdscribble-0.24/src/Log.cxx:55:14: error: ‘strftime’ was not declared in this scope
- 55 | if (!strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S%z", tmp)) {
- | ^~~~~~~~
-```
-
-Bug: https://bugs.gentoo.org/851513
---- a/src/Log.cxx
-+++ b/src/Log.cxx
-@@ -29,6 +29,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <errno.h>
-+#include <time.h>
-
- #ifdef HAVE_SYSLOG
- #include <syslog.h>
-
diff --git a/media-sound/mpdscribble/mpdscribble-0.24.ebuild b/media-sound/mpdscribble/mpdscribble-0.24.ebuild
deleted file mode 100644
index 7b2faf2a00ae..000000000000
--- a/media-sound/mpdscribble/mpdscribble-0.24.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson systemd
-
-DESCRIPTION="An MPD client that submits information to Audioscrobbler"
-HOMEPAGE="
- https://www.musicpd.org/clients/mpdscribble/
- https://github.com/MusicPlayerDaemon/mpdscribble
-"
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="test"
-# Test program is just an interactive check.
-RESTRICT="!test? ( test ) test"
-
-RDEPEND="
- dev-libs/boost
- dev-libs/libgcrypt:=
- media-libs/libmpdclient
- net-misc/curl
-"
-
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS COPYING NEWS README.rst )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.23-Unconditionally-generate-systemd-unit-files.patch
- "${FILESDIR}"/${PN}-0.23-Don-t-install-AUTHORS-COPYING-NEWS-README.rst.patch
- "${FILESDIR}"/${PN}-0.23-gcc12-time.patch
-)
-
-src_configure() {
- local emesonargs=(
- $(meson_use test)
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble
- keepdir /var/cache/mpdscribble
-
- systemd_dounit "${BUILD_DIR}"/systemd/system/"${PN}".service
- systemd_douserunit "${BUILD_DIR}"/systemd/user/"${PN}".service
-}