commit:     368fa7fc7e01ff842d5bdf799155b5c7dcd15c39
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 22:05:41 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 23:47:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368fa7fc

x11-plugins/pidgin-opensteamworks: Version bump to 1.7

Bug: https://bugs.gentoo.org/713040
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-plugins/pidgin-opensteamworks/Manifest         |  1 +
 .../pidgin-opensteamworks-1.7.ebuild               | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/x11-plugins/pidgin-opensteamworks/Manifest 
b/x11-plugins/pidgin-opensteamworks/Manifest
index 0c229d041ed..f1c6af4cf88 100644
--- a/x11-plugins/pidgin-opensteamworks/Manifest
+++ b/x11-plugins/pidgin-opensteamworks/Manifest
@@ -1 +1,2 @@
 DIST pidgin-opensteamworks-1.6.1.tar.gz 750495 BLAKE2B 
890e1765eda10c31e927be320a8bf8af0da4c9e01b8cea31810c0ff7a0c27d1a8f54b213b323132a6c1087dd853937a0b5cce93eeef308412a505cd1696eb5f4
 SHA512 
9f025538460dda01d769501326cf7ac597e069bdef3437eea89f392bede7e620e854a8c0b0659315a0834c8f2f60a38680f1f1bdccdb65d3b13f64f7981ee55b
+DIST pidgin-opensteamworks-1.7.tar.gz 236181 BLAKE2B 
738285b566558ecbdbaf4960e2cead6bb57721dec901e656c6a78f3e5e16aecfa0f88045dd8fe78decef013866dcf255b82873021fb4ac9c484ed3bed8d0c655
 SHA512 
6369d8fb49fca3c8ad760d379c413da0be8bf58cbfdc5a4bb41ea6d803493110da8b0e1e3743c81b5068799b3a0ba6f57a90ba6208a5b112eb58434d134b1ba6

diff --git a/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.7.ebuild 
b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.7.ebuild
new file mode 100644
index 00000000000..713d7108b75
--- /dev/null
+++ b/x11-plugins/pidgin-opensteamworks/pidgin-opensteamworks-1.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="
+       app-crypt/libsecret
+       dev-libs/glib:2
+       dev-libs/json-glib
+       dev-libs/nss
+       net-im/pidgin"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-arch/unzip
+       virtual/pkgconfig"
+
+S=${WORKDIR}
+
+pkg_setup() {
+       if [[ ${MERGE_TYPE} != binary ]]; then
+               tc-export CC PKG_CONFIG
+       fi
+}
+
+src_prepare() {
+       default
+
+       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
+}

Reply via email to