summaryrefslogtreecommitdiff
path: root/x11-plugins/pidgin-musictracker
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/pidgin-musictracker')
-rw-r--r--x11-plugins/pidgin-musictracker/Manifest3
-rw-r--r--x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch12
-rw-r--r--x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild17
3 files changed, 24 insertions, 8 deletions
diff --git a/x11-plugins/pidgin-musictracker/Manifest b/x11-plugins/pidgin-musictracker/Manifest
index 152fa7ad7a67..eda3c1f955a9 100644
--- a/x11-plugins/pidgin-musictracker/Manifest
+++ b/x11-plugins/pidgin-musictracker/Manifest
@@ -1,3 +1,4 @@
+AUX pidgin-musictracker-0.4.22-fno-common.patch 364 BLAKE2B a7a73a8b3cee7711051b436ec2f823e71526b901a84539e7f0ceacf10578b008899803045b4e7601df4bbd11d880d73816ef834a67e267a234ba1934b669d07e SHA512 f786d723273fc173eb9d442df355bf3a5f49925acbe476513f9583d00b410d5a38fbb10162a996a27e84eb0b610fbf3483d8370f6f220e9de07a17ec726f361e
DIST pidgin-musictracker-0.4.22.tar.bz2 727051 BLAKE2B a9d265ca0305b9b80b2354e39469be585cedf0a0e0226fcd23b3c6c9250f9b01a7882c55dc74acc1ce05effb7af954777eadb2192bc14b3846b1152e745aa359 SHA512 5a39311c4b4c8ceb4d2535b4aacb1427d9e1b004d34bc342ae3da6c60bd50e0b58a89ef52d02f3a431e8839cc647e23082bdf18b250135e95da5e6ea78c7b790
-EBUILD pidgin-musictracker-0.4.22.ebuild 819 BLAKE2B 32da00e6cceff4bc6987c2ed1ef8257cca472a715190924df0ea8d81265f751a717fa13b673ffb939397c73206041d42402fc9a0270d02e753ebbebc550a3263 SHA512 e5ac427b75a7b37e9a0feb52f48f25222d8503c2ea3c007d37ec507cf25d4d595ca520ccd3360de4ec7476143aed5b6e8cd69e2a4d5b11808cb6d6c37847f221
+EBUILD pidgin-musictracker-0.4.22.ebuild 816 BLAKE2B d8034b07f3f81067f451fa908189e8a0d1173b71a6bdc4e864164eb7dab0bfd0e8ec1404e1ce139037821f63d93ec90fbd0217bef5104080ed1ff2e32c6bb26b SHA512 6017b667f2948e5eec80b33df1e566834b11c5a732240e38105eb5a34f390795347f474c8c607e0a6a172115a76678bcabd0787d10cee8df40c14e1aefd08ef2
MISC metadata.xml 256 BLAKE2B 5eb0f6ea34d849011bd22ef060f43a9a7eed95132388e430b0db91b1cb2b40e8ad870869cc1ef7924cdf11445fd424f545cb7c78c5521f6d35379aa839e5e426 SHA512 dcde2fd66ef9199ac5db90e70bc8fea45fa4b3551ba53cb19e8d31e5ff6af4b5ff2be7eb88fe936c32e5d7a4be22cfab843501a30d1ba9ba963bcf7d3d5d1a47
diff --git a/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch b/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch
new file mode 100644
index 000000000000..0378523c3469
--- /dev/null
+++ b/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/717424
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -21,7 +21,7 @@ pcre* regex(const char* pattern, int options);
+ int capture(pcre* re, const char *text, int len, ...);
+
+ #ifndef WIN32
+-DBusGConnection *connection;
++extern DBusGConnection *connection;
+ gboolean dbus_g_init_connection(void);
+ gboolean dbus_g_running(const char *name);
+ #endif
diff --git a/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
index e576da2c7f0d..4b5624846494 100644
--- a/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
+++ b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
@@ -14,15 +14,18 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug"
-DEPEND=">=net-im/pidgin-2.0.0[gtk]
- >=dev-libs/dbus-glib-0.73
+DEPEND="
+ dev-libs/dbus-glib
dev-libs/libpcre
- >=sys-devel/gettext-0.17"
+ net-im/pidgin[gtk]"
RDEPEND="${DEPEND}"
+BDEPEND="sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
src_prepare() {
default
- sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in || die "sed failed"
+ sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in || die
eautoreconf
}
@@ -34,5 +37,5 @@ src_configure() {
src_install() {
default
- find "${D}" -name "*.la" -delete || die "error cleaning la file."
+ find "${ED}" -name '*.la' -delete || die
}