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:
Vitaly Zdanevich 2024-06-24 10:22:42 +04:00
parent ef5125a704
commit db4a92cba1
No known key found for this signature in database
GPG Key ID: E91CC56723EE101E
4 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST firefox-developer-bin-122.0-b9.tar.bz2 83948380 BLAKE2B 7eca48621141c05803bae04cb4c3cf69f188f3031216461616df6aba222853744e5326d71f1da29ec36955c4fff7c9296000eb42d36944ce6a74912a5c580e8c SHA512 ce5dfb5d0ba4ea418e339f5d4065fc9cd6c5b972ae17324c78c66452ece934dd818ea72743549403a8d1bcc4687b64c798ecdac55f9ecdbbcbd65b74781d1adf
DIST firefox-developer-bin-128.0-b6.tar.bz2 87138236 BLAKE2B 86684531054c82c7493ac6f272e72e4089bb297f580c06f61c6a8abf19a9017bc473d5d38f4d71fc4a9912cf24f8758779b6e5362471eb0210c7e56a79ea6454 SHA512 daa68b6b2a07507d0f6bccd9cee287d4fdccd20f11d156cd0f168dc0f139c2a68fc88659576f2aeec258e1608fd7ed981363950848e6f9fb3d0374f6bad65d38

View File

@ -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"
}

View File

@ -0,0 +1,46 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
REVISION=b6
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-bin" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Firefox Developer" "${PN}" "Network;WebBrowser"
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name>
</maintainer>
</pkgmetadata>