1 |
commit: 71ecfeef8d6569f491a92b714ab0753cc6df2e46 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 09:08:19 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 09:08:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ecfeef |
7 |
|
8 |
x11-plugins/pidgin-gnome-keyring: drop 2.0 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
.../files/pidgin-gnome-keyring-2.0-plugindir.patch | 21 ------------ |
13 |
.../pidgin-gnome-keyring-2.0.ebuild | 37 ---------------------- |
14 |
2 files changed, 58 deletions(-) |
15 |
|
16 |
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 |
17 |
deleted file mode 100644 |
18 |
index a96080fc6aa..00000000000 |
19 |
--- a/x11-plugins/pidgin-gnome-keyring/files/pidgin-gnome-keyring-2.0-plugindir.patch |
20 |
+++ /dev/null |
21 |
@@ -1,21 +0,0 @@ |
22 |
---- a/Makefile |
23 |
-+++ b/Makefile |
24 |
-@@ -2,6 +2,7 @@ |
25 |
- |
26 |
- SECRETFLAGS = `pkg-config --libs --cflags libsecret-1` |
27 |
- PURPLEFLAGS = `pkg-config --cflags purple` |
28 |
-+PLUGINDIR = `${PKG_CONFIG} --variable=plugindir purple` |
29 |
- VERSION = $(shell cat VERSION) |
30 |
- ifeq ($(strip $(VERSION)),) |
31 |
- VERSION = `git describe --tags` |
32 |
-@@ -18,8 +19,8 @@ |
33 |
- ${CC} ${CFLAGS} ${LDFLAGS} -Wall -I. -g -O2 ${TARGET}.c -o ${TARGET}.so -shared -fPIC -DPIC -ggdb ${PURPLEFLAGS} ${SECRETFLAGS} -DVERSION=\"${VERSION}\" |
34 |
- |
35 |
- install: ${TARGET}.so |
36 |
-- mkdir -p ${DESTDIR}/usr/lib/purple-2/ |
37 |
-- cp ${TARGET}.so ${DESTDIR}/usr/lib/purple-2/ |
38 |
-+ mkdir -p ${DESTDIR}/$(PLUGINDIR)/ |
39 |
-+ cp ${TARGET}.so ${DESTDIR}/$(PLUGINDIR)/ |
40 |
- |
41 |
- install_local: ${TARGET}.so |
42 |
- mkdir -p ~/.purple/plugins |
43 |
|
44 |
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 |
45 |
deleted file mode 100644 |
46 |
index 221d0975bdd..00000000000 |
47 |
--- a/x11-plugins/pidgin-gnome-keyring/pidgin-gnome-keyring-2.0.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,37 +0,0 @@ |
50 |
-# Copyright 1999-2017 Gentoo Foundation |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
- |
53 |
-EAPI=6 |
54 |
- |
55 |
-DESCRIPTION="Integrates Pidgin (and libpurple) with the system keyring" |
56 |
-HOMEPAGE="https://github.com/aebrahim/pidgin-gnome-keyring" |
57 |
-SRC_URI="https://github.com/aebrahim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
58 |
- |
59 |
-LICENSE="GPL-2+" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="amd64 x86" |
62 |
- |
63 |
-RDEPEND="app-crypt/libsecret |
64 |
- net-im/pidgin" |
65 |
-DEPEND="${RDEPEND} |
66 |
- virtual/pkgconfig" |
67 |
- |
68 |
-PATCHES=( |
69 |
- "${FILESDIR}/${P}-plugindir.patch" |
70 |
-) |
71 |
- |
72 |
-src_prepare() { |
73 |
- default |
74 |
- |
75 |
- # This file is used by the upstream Makefile yet is missing from at least |
76 |
- # some release tarballs. |
77 |
- if [ ! -f VERSION ]; then |
78 |
- echo "${PV}" > VERSION || die "failed to recreate VERSION file" |
79 |
- fi |
80 |
- |
81 |
- sed -i \ |
82 |
- -e 's|-O2||g' \ |
83 |
- -e 's|-ggdb||g' \ |
84 |
- -e 's|-g||g' \ |
85 |
- Makefile || die "stripping hard-coded flags failed" |
86 |
-} |