Compare commits

...

2 Commits

Author SHA1 Message Date
Alfred Wingate
51641cf4d9
www-client/icecat: add dependency to makeicecat
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2021-03-22 03:39:10 +02:00
Alfred Wingate
895a62435a
www-client/makeicecat: change install path
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2021-03-22 03:38:16 +02:00
3 changed files with 7 additions and 5 deletions

View File

@ -34,7 +34,7 @@ KEYWORDS="~amd64"
SLOT="0" SLOT="0"
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
IUSE="+clang cpu_flags_arm_neon dbus debug geckodriver IUSE="+clang cpu_flags_arm_neon dbus debug +buildtarball geckodriver
hardened hwaccel jack lto +openh264 pgo pulseaudio screencast selinux hardened hwaccel jack lto +openh264 pgo pulseaudio screencast selinux
+system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+system-libvpx +system-webp wayland wifi" +system-libvpx +system-webp wayland wifi"
@ -87,6 +87,7 @@ BDEPEND="${PYTHON_DEPS}
)" )"
CDEPEND=" CDEPEND="
buildtarball? ( ~www-client/makeicecat-"${PV}"[buildtarball] )
>=dev-libs/nss-3.53.1 >=dev-libs/nss-3.53.1
>=dev-libs/nspr-4.25 >=dev-libs/nspr-4.25
dev-libs/atk dev-libs/atk
@ -352,7 +353,7 @@ pkg_setup() {
} }
src_unpack() { src_unpack() {
unpack /usr/share/makeicecat-"${PV}"/output/icecat-"${PV}"-gnu1.tar.bz2 || eerror "Tarball missing, check www-client/makeicecat is correct" use buildtarball && unpack /usr/src/makeicecat-"${PV}"/output/icecat-"${PV}"-gnu1.tar.bz2 || eerror "Tarball missing, check www-client/makeicecat is correct"
unpack "${FIREFOX_PATCHSET}" unpack "${FIREFOX_PATCHSET}"
} }

View File

@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<use> <use>
<flag name="buildtarball">Build tarball with makeicecat</flag>
<flag name="clang">Use Clang compiler instead of GCC</flag> <flag name="clang">Use Clang compiler instead of GCC</flag>
<flag name="geckodriver">Enable WebDriver support</flag> <flag name="geckodriver">Enable WebDriver support</flag>
<flag name="hwaccel">Force-enable hardware-accelerated rendering (Mozilla bug 594876)</flag> <flag name="hwaccel">Force-enable hardware-accelerated rendering (Mozilla bug 594876)</flag>

View File

@ -33,11 +33,11 @@ src_compile() {
} }
src_install() { src_install() {
insinto /usr/share/makeicecat-"${PV}" insinto /usr/src/makeicecat-"${PV}"
doins -r "${S}"/{artwork,CHANGELOG,COPYING,data,makeicecat,README,tools} doins -r "${S}"/{artwork,CHANGELOG,COPYING,data,makeicecat,README,tools}
fperms +x /usr/share/makeicecat-"${PV}"/{makeicecat,tools/{AddonsScraper.py,buildbinaries,createdebsrcrepo,gnupload}} fperms +x /usr/src/makeicecat-"${PV}"/{makeicecat,tools/{AddonsScraper.py,buildbinaries,createdebsrcrepo,gnupload}}
if use buildtarball; then if use buildtarball; then
insinto /usr/share/makeicecat-"${PV}"/output insinto /usr/src/makeicecat-"${PV}"/output
doins "${S}"/output/icecat-"${PV}"-gnu1.tar.bz2 doins "${S}"/output/icecat-"${PV}"-gnu1.tar.bz2
fi fi
} }