From 48824d8dbd99c89c856e2fd2414f1f39133cefbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 25 Dec 2024 07:11:49 +0700 Subject: [PATCH] xfce4-mpc-plugin: update to 0.5.4. --- srcpkgs/xfce4-mpc-plugin/patches/mpd.patch | 13 +++++++++++++ srcpkgs/xfce4-mpc-plugin/template | 7 +++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/xfce4-mpc-plugin/patches/mpd.patch diff --git a/srcpkgs/xfce4-mpc-plugin/patches/mpd.patch b/srcpkgs/xfce4-mpc-plugin/patches/mpd.patch new file mode 100644 index 00000000000..8a47af06bd5 --- /dev/null +++ b/srcpkgs/xfce4-mpc-plugin/patches/mpd.patch @@ -0,0 +1,13 @@ +diff --git a/panel-plugin/xfce4-mpc-plugin.h b/panel-plugin/xfce4-mpc-plugin.h +index 7678045..653259f 100644 +--- a/panel-plugin/xfce4-mpc-plugin.h ++++ b/panel-plugin/xfce4-mpc-plugin.h +@@ -20,7 +20,7 @@ + #include + #include + +-#ifdef HAVE_LIBMPD ++#if HAVE_LIBMPD + #include + #ifdef DEBUG + #include diff --git a/srcpkgs/xfce4-mpc-plugin/template b/srcpkgs/xfce4-mpc-plugin/template index 06e99f5ca78..34409755e6f 100644 --- a/srcpkgs/xfce4-mpc-plugin/template +++ b/srcpkgs/xfce4-mpc-plugin/template @@ -1,17 +1,16 @@ # Template file for 'xfce4-mpc-plugin' pkgname=xfce4-mpc-plugin -version=0.5.3 +version=0.5.4 revision=1 build_style=gnu-configure -configure_args="--with-locales-dir=/usr/share/locale" -hostmakedepends="pkg-config intltool" +hostmakedepends="pkg-config gettext" makedepends="xfce4-panel-devel" short_desc="MPD client plugin for the Xfce4 panel" maintainer="Peter Wang " license="ISC" homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin" distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" -checksum=0467fb4d1acd982d3c3e0b89cb41019946850524ff19ed0f658a8d56c7b7664d +checksum=a66c85f07558221c907e2e5475a28ea32a76e59577d60a4f0cc68c26cb090f7d post_install() { vlicense COPYING