commit:     71ecfeef8d6569f491a92b714ab0753cc6df2e46
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed May 26 09:08:19 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed May 26 09:08:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ecfeef

x11-plugins/pidgin-gnome-keyring: drop 2.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../files/pidgin-gnome-keyring-2.0-plugindir.patch | 21 ------------
 .../pidgin-gnome-keyring-2.0.ebuild                | 37 ----------------------
 2 files changed, 58 deletions(-)

diff --git 
a/x11-plugins/pidgin-gnome-keyring/files/pidgin-gnome-keyring-2.0-plugindir.patch
 
b/x11-plugins/pidgin-gnome-keyring/files/pidgin-gnome-keyring-2.0-plugindir.patch
deleted file mode 100644
index a96080fc6aa..00000000000
--- 
a/x11-plugins/pidgin-gnome-keyring/files/pidgin-gnome-keyring-2.0-plugindir.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -2,6 +2,7 @@
- 
- SECRETFLAGS = `pkg-config --libs --cflags libsecret-1`
- PURPLEFLAGS = `pkg-config --cflags purple`
-+PLUGINDIR = `${PKG_CONFIG} --variable=plugindir purple`
- VERSION = $(shell cat VERSION)
- ifeq ($(strip $(VERSION)),)
-       VERSION = `git describe --tags`
-@@ -18,8 +19,8 @@
-       ${CC} ${CFLAGS} ${LDFLAGS} -Wall -I. -g -O2 ${TARGET}.c -o ${TARGET}.so 
-shared -fPIC -DPIC -ggdb ${PURPLEFLAGS} ${SECRETFLAGS} -DVERSION=\"${VERSION}\"
- 
- install: ${TARGET}.so
--      mkdir -p ${DESTDIR}/usr/lib/purple-2/
--      cp ${TARGET}.so ${DESTDIR}/usr/lib/purple-2/
-+      mkdir -p ${DESTDIR}/$(PLUGINDIR)/
-+      cp ${TARGET}.so ${DESTDIR}/$(PLUGINDIR)/
- 
- install_local: ${TARGET}.so
-       mkdir -p ~/.purple/plugins

diff --git a/x11-plugins/pidgin-gnome-keyring/pidgin-gnome-keyring-2.0.ebuild 
b/x11-plugins/pidgin-gnome-keyring/pidgin-gnome-keyring-2.0.ebuild
deleted file mode 100644
index 221d0975bdd..00000000000
--- a/x11-plugins/pidgin-gnome-keyring/pidgin-gnome-keyring-2.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Integrates Pidgin (and libpurple) with the system keyring"
-HOMEPAGE="https://github.com/aebrahim/pidgin-gnome-keyring";
-SRC_URI="https://github.com/aebrahim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="app-crypt/libsecret
-       net-im/pidgin"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}/${P}-plugindir.patch"
-)
-
-src_prepare() {
-       default
-
-       # This file is used by the upstream Makefile yet is missing from at 
least
-       # some release tarballs.
-       if [ ! -f VERSION ]; then
-               echo "${PV}" > VERSION || die "failed to recreate VERSION file"
-       fi
-
-       sed -i \
-               -e 's|-O2||g' \
-               -e 's|-ggdb||g' \
-               -e 's|-g||g' \
-               Makefile || die "stripping hard-coded flags failed"
-}

Reply via email to