You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
4 years ago
|
inherit desktop pax-utils rpm xdg-utils
|
||
4 years ago
|
|
||
|
DESCRIPTION="Project collaboration and tracking software for upwork.com"
|
||
|
HOMEPAGE="https://www.upwork.com/"
|
||
|
SRC_URI="
|
||
4 years ago
|
amd64? ( https://updates-desktopapp.upwork.com/binaries/v5_4_5_1_941af939eff74e21/upwork-5.4.5.1-1fc24.x86_64.rpm -> ${P}_x86_64.rpm )
|
||
|
x86? ( https://updates-desktopapp.upwork.com/binaries/v5_4_5_1_941af939eff74e21/upwork-5.4.5.1-1fc24.i386.rpm -> ${P}_i386.rpm )"
|
||
4 years ago
|
|
||
|
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
|
||
4 years ago
|
x11-libs/gtk+:3[cups]
|
||
|
x11-libs/libXinerama
|
||
|
x11-libs/libXScrnSaver
|
||
3 years ago
|
x11-libs/libXtst
|
||
4 years ago
|
"
|
||
4 years ago
|
|
||
|
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
|
||
|
}
|
||
4 years ago
|
|
||
|
pkg_postinst() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|