commit:     357d8a8fd0d4c26a3b3a97a40d64f5ccd1a80dba
Author:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 12:15:12 2024 +0000
Commit:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 12:15:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=357d8a8f

x11-plugins/pidgin-birthday-reminder: add 1.13, new upstream, add myself as 
maintainer

Closes: https://github.com/gentoo/gentoo/pull/35173
Signed-off-by: Andreas Schuerch <nativemad <AT> gentoo.org>

 x11-plugins/pidgin-birthday-reminder/Manifest      |  1 +
 x11-plugins/pidgin-birthday-reminder/metadata.xml  |  7 +++--
 .../pidgin-birthday-reminder-1.13.ebuild           | 33 ++++++++++++++++++++++
 3 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/pidgin-birthday-reminder/Manifest 
b/x11-plugins/pidgin-birthday-reminder/Manifest
index 639b877d7be2..3659c47abb78 100644
--- a/x11-plugins/pidgin-birthday-reminder/Manifest
+++ b/x11-plugins/pidgin-birthday-reminder/Manifest
@@ -1 +1,2 @@
+DIST pidgin-birthday-reminder-1.13.tar.gz 535270 BLAKE2B 
a49477046b99b3949e72d120ca4f09164d3b844d15b5232eacf8c076d7e2dca629a391fe6c86d69d15d77996a6c0a32224126115cd799b7d77dc31a46a9bd69d
 SHA512 
c858c99c01c1105074d2ece46b8f6dbbf4045ee34dee046286a64b1886e32df416d844070a061a6fc8841d9e698f7d129fcf0b0079de0b24a5baf9a2f0b90e75
 DIST pidgin-birthday-reminder-1.7.tar.gz 470361 BLAKE2B 
ea97e495fa04b5a4860b5363034058defcecd0ae7d911ed2f0eb0e56331ece6d66063ae83a2ec0fd346d935a122b35f45818f58755676c7fc598bbd52e5be5be
 SHA512 
1213c193b141f006caf9cfa7b55b052f54f00426414353e758224a1aa35a70436c452b52ea25fa088c346f4f0da25af40b2f4991452a2d3aabf13d40c8438e47

diff --git a/x11-plugins/pidgin-birthday-reminder/metadata.xml 
b/x11-plugins/pidgin-birthday-reminder/metadata.xml
index 539812e55d71..29879cf2a8c6 100644
--- a/x11-plugins/pidgin-birthday-reminder/metadata.xml
+++ b/x11-plugins/pidgin-birthday-reminder/metadata.xml
@@ -1,9 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <!-- maintainer-needed -->
+       <maintainer type="person">
+               <email>native...@gentoo.org</email>
+               <name>Andreas Schuerch</name>
+       </maintainer>
        <upstream>
-               
<bugs-to>https://bugs.launchpad.net/pidgin-birthday-reminder</bugs-to>
                <remote-id type="launchpad">pidgin-birthday-reminder</remote-id>
+               <remote-id 
type="github">kgraefe/pidgin-birthday-reminder</remote-id>
        </upstream>
 </pkgmetadata>

diff --git 
a/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.13.ebuild 
b/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.13.ebuild
new file mode 100644
index 000000000000..47ac2a78c511
--- /dev/null
+++ b/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.13.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Plugin for Pidgin that reminds you of your buddies birthdays"
+HOMEPAGE="https://github.com/kgraefe/pidgin-birthday-reminder";
+SRC_URI="https://github.com/kgraefe/pidgin-birthday-reminder/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="static-libs"
+
+RDEPEND="net-im/pidgin:=[gtk]"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       mkdir "${D}/usr/share/metainfo"
+       mv "${D}/usr/share/appdata/pidgin-birthday-reminder.metainfo.xml" 
"${D}/usr/share/metainfo/"
+       if ! use static-libs ; then
+               find "${D}" -type f -name '*.la' -delete || die "la removal 
failed"
+       fi
+}

Reply via email to