summaryrefslogtreecommitdiffstats
path: root/x11-plugins/pidgin-opensteamworks
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/pidgin-opensteamworks')
-rw-r--r--x11-plugins/pidgin-opensteamworks/Manifest4
-rw-r--r--x11-plugins/pidgin-opensteamworks/metadata.xml16
-rw-r--r--x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1-r1.ebuild53
-rw-r--r--x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-9999.ebuild62
4 files changed, 135 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-opensteamworks/Manifest b/x11-plugins/pidgin-opensteamworks/Manifest
new file mode 100644
index 0000000..78ff3d6
--- /dev/null
+++ b/x11-plugins/pidgin-opensteamworks/Manifest
@@ -0,0 +1,4 @@
+DIST pidgin-opensteamworks-1.6.1.tar.gz 750495 SHA256 6a63248ed67f85185d32760246a22fea58e49af2d8a604abaa2cb3a3b5368a01 SHA512 9f025538460dda01d769501326cf7ac597e069bdef3437eea89f392bede7e620e854a8c0b0659315a0834c8f2f60a38680f1f1bdccdb65d3b13f64f7981ee55b WHIRLPOOL 30e13bbd16b560b690a38214d1fadfd4a6da7566e29035623e7b6178357baadd647c692257f251803112e61baa25aaff59281fdc70e49d9fbdf90effa023eac1
+EBUILD pidgin-opensteamworks-1.6.1-r1.ebuild 1127 SHA256 b700544a1946a157408bd7817dce7cc3f1c7ff4224e23cb603ece97dc8ead829 SHA512 7bd4eda393ea5698b36a4f8a6bbc55a48fb70a5712169d5cbaef66319559fb80fb05892b14191bed56fea6969f36832c90b08032528e28347df64ed4bec5ef3c WHIRLPOOL 2b46112ff79c5467840558881f325b2e1f410386c1596ef5fd64ff9451adbf4c167444a713672b2534962163e13d15716f51a647ebd41d90179dcd3240ab99d4
+EBUILD pidgin-opensteamworks-9999.ebuild 1198 SHA256 44aa607ea891cd67ecb366780f327a3c7a328996f77987fca8a67d2d41afea0c SHA512 aeb6d6024d2fc1944635e8c4dead059eb71d81e4e6c9f7b2a3688321999ad7a3fb6f9171a6e3829397dae9aafdf566a2c177230bb04a43ff64144e72e1411996 WHIRLPOOL d2363aa32cc3a439090ad4a6f64076ebbacacaf87181f368c2048f5fc6b7205b167969ee7b4f744167676622dd52c0337182096b610dac7aa82833384893bb8d
+MISC metadata.xml 539 SHA256 b636cb50cd552ecd1301a09f0cfa605dba7deb1cf40de5818b4a7ecd431a0170 SHA512 9b856ebae12d04748da6f86da253b8031d6dee25b658013e3d4516e5512c82d9a877dfacbbdf17a8c70a2f05bc4c26255df1acdd4aa399b55b7da6a848d63110 WHIRLPOOL 9ff8ca921f7bd3ad54267b7f09511930c841e2aa16788d87cb7a6328cffb2ab06b47a14d882632b4e3353c55e5bead58974a327f29e7187d928743fa5adbc0cb
diff --git a/x11-plugins/pidgin-opensteamworks/metadata.xml b/x11-plugins/pidgin-opensteamworks/metadata.xml
new file mode 100644
index 0000000..6886de3
--- /dev/null
+++ b/x11-plugins/pidgin-opensteamworks/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gediminas@varciai.lt</email>
+ <name>Gediminas Jakutis</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>eionrobb@gmail.com</email>
+ <name>Eion Robb</name>
+ </maintainer>
+ <bugs-to>https://code.google.com/p/pidgin-opensteamworks/issues/list</bugs-to>
+ <remote-id type="github">EionRobb/pidgin-opensteamworks</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1-r1.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1-r1.ebuild
new file mode 100644
index 0000000..f387955
--- /dev/null
+++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.6.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 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[-gnutls]"
+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://github.com/EionRobb/pidgin-opensteamworks/issues/40
+ 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
+}
diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-9999.ebuild b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-9999.ebuild
new file mode 100644
index 0000000..28bbd2e
--- /dev/null
+++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs git-r3
+
+DESCRIPTION="Steam protocol plugin for pidgin"
+HOMEPAGE="https://github.com/eionrobb/pidgin-opensteamworks"
+EGIT_REPO_URI="git://github.com/EionRobb/${PN}.git
+ https://github.com/EionRobb/${PN}.git"
+EGIT_BOOTSTRAP=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gnutls"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/json-glib
+ dev-libs/nss
+ gnome-base/libgnome-keyring
+ gnutls? ( net-im/pidgin[gnutls] )
+ !gnutls? ( net-im/pidgin[-gnutls] )"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ virtual/pkgconfig"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_prepare() {
+ unzip "${S}"/steam-mobile/releases/icons.zip || die
+}
+
+src_configure() {
+ if use gnutls; then
+ export STEAM_CRYPT_BACKEND="gcrypt"
+ else
+ export STEAM_CRYPT_BACKEND="nss"
+ fi
+}
+
+src_compile() {
+ pushd "${S}"/steam-mobile || die
+ default
+ popd || die
+}
+
+src_install() {
+ pushd "${S}"/steam-mobile || die
+ default
+ popd || die
+ insinto /usr/share/pixmaps/pidgin/protocols
+ doins -r "${WORKDIR}"/{16,48}
+ dodoc "${S}/README.md"
+}