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.
52 lines
1.2 KiB
52 lines
1.2 KiB
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
5 years ago
|
inherit desktop pax-utils rpm
|
||
7 years ago
|
|
||
|
# Binary only distribution
|
||
|
QA_PREBUILT="*"
|
||
|
|
||
|
DESCRIPTION="Project collaboration and tracking software for upwork.com"
|
||
|
HOMEPAGE="https://www.upwork.com/"
|
||
|
SRC_URI="
|
||
5 years ago
|
amd64? ( https://updates-desktopapp.upwork.com/binaries/v5_2_3_771_okk32anbjc976nah/upwork-5.2.3.771-1fc24.x86_64.rpm -> ${P}_x86_64.rpm )
|
||
|
x86? ( https://updates-desktopapp.upwork.com/binaries/v5_2_3_771_okk32anbjc976nah/upwork-5.2.3.771-1fc24.i386.rpm -> ${P}_i386.rpm )
|
||
7 years ago
|
"
|
||
|
LICENSE="ODESK"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
|
S=${WORKDIR}
|
||
6 years ago
|
PATCHES=( "${FILESDIR}/${PN}-desktop-r1.patch" )
|
||
7 years ago
|
|
||
|
DEPEND="dev-util/patchelf"
|
||
|
RDEPEND="
|
||
6 years ago
|
dev-libs/expat
|
||
|
dev-libs/nspr
|
||
|
dev-libs/nss
|
||
7 years ago
|
gnome-base/gconf
|
||
|
media-libs/alsa-lib
|
||
6 years ago
|
media-libs/freetype
|
||
|
sys-apps/dbus
|
||
7 years ago
|
sys-libs/libcap
|
||
6 years ago
|
x11-libs/gtk+:2[cups]
|
||
7 years ago
|
x11-libs/gtkglext
|
||
|
"
|
||
|
|
||
|
src_install() {
|
||
|
pax-mark m usr/share/upwork/upwork
|
||
|
|
||
|
dobin usr/bin/upwork
|
||
|
|
||
|
patchelf --set-rpath /usr/share/upwork usr/share/upwork/upwork
|
||
|
|
||
|
insinto /usr/share
|
||
|
doins -r usr/share/upwork
|
||
|
fperms 0755 /usr/share/upwork/upwork
|
||
|
|
||
|
domenu usr/share/applications/upwork.desktop
|
||
|
doicon usr/share/pixmaps/upwork.png
|
||
|
}
|