diff options
Diffstat (limited to 'x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1.ebuild')
-rw-r--r-- | x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1.ebuild new file mode 100644 index 000000000000..d7fc10f17ef7 --- /dev/null +++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Steam protocol plugin for pidgin" +HOMEPAGE="https://github.com/eionrobb/pidgin-opensteamworks" +SRC_URI="https://github.com/EionRobb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +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 https://code.google.com/p/pidgin-opensteamworks/issues/detail?id=31 + cp "${FILESDIR}"/${PN}-1.3-Makefile "${S}"/${P}/steam-mobile/Makefile || die + unzip "${S}"/${P}/steam-mobile/releases/icons.zip || die +} + +src_compile() { + pushd ${P}/steam-mobile || die + default + popd || die +} + +src_install() { + pushd ${P}/steam-mobile || die + default + popd || die + insinto /usr/share/pixmaps/pidgin/protocols + doins -r "${WORKDIR}"/{16,48} + dodoc ${P}/README.md +} |