mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
www-client/firefox-developer-bin: new package
Copied and adapted from https://gpo.zugaina.org/www-client/firefox-developer Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
REVISION=b9
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="Firefox browser developer edition"
|
||||
HOMEPAGE="https://www.mozilla.org/en-US/firefox/developer/"
|
||||
SRC_URI="https://download-installer.cdn.mozilla.net/pub/devedition/releases/${PV}${REVISION}/linux-x86_64/en-US/firefox-${PV}${REVISION}.tar.bz2
|
||||
-> ${P}-${REVISION}.tar.bz2"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
SLOT="0/developer"
|
||||
KEYWORDS="-* ~amd64"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/freetype-2.4.10
|
||||
>=x11-libs/pango-1.22.0
|
||||
media-libs/fontconfig
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
|
||||
QA_PREBUILT=".*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cd firefox || die
|
||||
rm updater || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "/opt/${PN}"
|
||||
cp -r firefox/. "${ED}/opt/${PN}" || die
|
||||
|
||||
dosym -r "/opt/${PN}/firefox-developer-bin" "/usr/bin/${PN}"
|
||||
make_desktop_entry "${PN}" "Firefox Developer" "${PN}" "Network;WebBrowser"
|
||||
}
|
||||
Reference in New Issue
Block a user