46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.4.ebuild,v 1.3 2014/08/25 17:18:56 mrueg Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Steam protocol plugin for pidgin"
|
|
HOMEPAGE="http://code.google.com/p/pidgin-opensteamworks/"
|
|
SRC_URI="http://pidgin-opensteamworks.googlecode.com/files/steam-mobile-${PV}.tar.bz2
|
|
http://pidgin-opensteamworks.googlecode.com/files/icons.zip
|
|
-> ${PN}-icons.zip"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-libs/glib:2
|
|
dev-libs/json-glib
|
|
dev-libs/nss
|
|
gnome-base/libgnome-keyring
|
|
net-im/pidgin"
|
|
DEPEND="${RDEPEND}
|
|
app-arch/unzip
|
|
virtual/pkgconfig"
|
|
|
|
S=${WORKDIR}
|
|
|
|
pkg_setup() {
|
|
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
tc-export CC PKG_CONFIG
|
|
fi
|
|
}
|
|
|
|
src_prepare() {
|
|
# see http://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31
|
|
cp "${FILESDIR}"/${PN}-1.3-Makefile "${S}"/Makefile || die
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
insinto /usr/share/pixmaps/pidgin/protocols
|
|
doins -r "${WORKDIR}"/{16,48}
|
|
}
|