summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office')
-rw-r--r--app-office/upwork/Manifest2
-rw-r--r--app-office/upwork/files/upwork-desktop-r2.patch8
-rw-r--r--app-office/upwork/upwork-5.4.2.8.ebuild49
3 files changed, 59 insertions, 0 deletions
diff --git a/app-office/upwork/Manifest b/app-office/upwork/Manifest
index 046b57c20a4c..9a6646d204e9 100644
--- a/app-office/upwork/Manifest
+++ b/app-office/upwork/Manifest
@@ -1,2 +1,4 @@
DIST upwork-5.3.3.860_i386.rpm 74067471 BLAKE2B 6b2092a851e1f35dfa0dc180f225d26aeb5a04edd30eeaca3125480b94fb8504d2005c42a0b86c293c7367c538ef9103bce2a2bb45f5257cb003fd7cd25eb851 SHA512 7dbbbbf7a4254d1213942d836cf944c94b5b6dd7905435c75b1f0225dd362f4bdb3c7ea0716b2fd04fb926d965fd56d21c41f713cf26f2ad6cb240e5f2643394
DIST upwork-5.3.3.860_x86_64.rpm 72487294 BLAKE2B 56dfedc12b5d0661f01d34238256a372b9e6d760c33ba13474996e4c24050cc9931e592cba91df0719c33c6785e6fe8d63add54986bc86cafad55379a35d9358 SHA512 a3d1c6b36a23743a1b953b7cb956107baacd39984bc9289eff349539235a7e95d0aa80880985522b985dd37de68e284a17b750561ce091166b4186d01c437aba
+DIST upwork-5.4.2.8_i386.rpm 52586152 BLAKE2B 61e1dc1652a4aee6c91b8206d32f6e05e2dcbfa0bbb1af529c1b9b33e2a6bd4226c77707667662ee79c3151dade89c33b3c3a74df18aa14f4ccb0683f41612bb SHA512 69925d3afadfd4944ff813241d5dab27d6bd1e8f0622c7b8c2d686b8024b998a4ee4a8647c3361043dc8a38114e149aae5965bac203480bd85046ec738a1fe8a
+DIST upwork-5.4.2.8_x86_64.rpm 50903574 BLAKE2B 35ebf317157e4f33eca0b957c0fd4040d28338cd09e93c86bb234faf56f61b173e98a8c869c2da79b067b9936f6d5a95d435220dd66f4c057310987e3ab6db10 SHA512 79a91aba88002020f99822e44540f1d98bf06811856a4a4e5cb10a1d9f68cbc78d3c7d6f09035c705a97634e65e81ff72d13d169e6005371717c0455d87e5199
diff --git a/app-office/upwork/files/upwork-desktop-r2.patch b/app-office/upwork/files/upwork-desktop-r2.patch
new file mode 100644
index 000000000000..1e3f0f1a580a
--- /dev/null
+++ b/app-office/upwork/files/upwork-desktop-r2.patch
@@ -0,0 +1,8 @@
+--- a/usr/share/applications/upwork.desktop 2020-03-10 21:47:46.928089982 -0600
++++ b/usr/share/applications/upwork.desktop 2020-03-10 21:48:36.989429456 -0600
+@@ -8,4 +8,4 @@
+ StartupNotify=false
+ Encoding=UTF-8
+ Comment=Upwork Desktop Application
+-Categories=Utility;
++Categories=GTK;Network;X-Project Management
diff --git a/app-office/upwork/upwork-5.4.2.8.ebuild b/app-office/upwork/upwork-5.4.2.8.ebuild
new file mode 100644
index 000000000000..48ab98c73786
--- /dev/null
+++ b/app-office/upwork/upwork-5.4.2.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils rpm
+
+DESCRIPTION="Project collaboration and tracking software for upwork.com"
+HOMEPAGE="https://www.upwork.com/"
+SRC_URI="
+ amd64? ( https://updates-desktopapp.upwork.com/binaries/v5_4_2_8_17caa201e7ae4660/upwork-5.4.2.8-1fc24.x86_64.rpm -> ${P}_x86_64.rpm )
+ x86? ( https://updates-desktopapp.upwork.com/binaries/v5_4_2_8_17caa201e7ae4660/upwork-5.4.2.8-1fc24.i386.rpm -> ${P}_i386.rpm )"
+
+LICENSE="ODESK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/gconf
+ media-libs/alsa-lib
+ media-libs/freetype
+ sys-apps/dbus
+ sys-libs/libcap
+ x11-libs/gtk+:3[cups]"
+
+S="${WORKDIR}"
+
+PATCHES=( "${FILESDIR}/${PN}-desktop-r2.patch" )
+
+# Binary only distribution
+QA_PREBUILT="*"
+
+src_install() {
+ pax-mark m opt/Upwork/upwork
+
+ insinto /opt
+ doins -r opt/Upwork
+ fperms 0755 /opt/Upwork/upwork
+
+ insinto /usr/share
+ doins -r usr/share/icons
+
+ domenu usr/share/applications/upwork.desktop
+ doicon usr/share/icons/hicolor/128x128/apps/upwork.png
+}