mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-plugins/pidgin-gnome-keyring: drop 2.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user