...
 
Commits (20)
AUX vmware-horizon-usb 405 BLAKE2B d28b6feff71f2c8042a206602f141d9f244559ef22d93526140d72f2c4976f0b0db64b3871669f3fade571ca656a78202c3f1d2f712ccdb8f443b6da447c4c5a SHA512 43d4f07731396520f56e6f8db7cad196641dad5f164b568179afbb89a2168f4c2e642ff1441ebb148c74c7878809d922e3608543f9993c44141e56c086ea1257
AUX vmware-horizon-usb.service 194 BLAKE2B 375984a9146923130e529d9d5d52b607efcc7af0dcb099a039ed50291a56739b875df301d28266ad06927ce39440bf2f040987c9288620c41be16ef50dae3193 SHA512 4687c36887597316a845c82c2f0b9ced061db817ab68134def262132b6242d6dd7c1191ade48d996578c5b39d49a2df5efa5b3d7ca9e42f41e05980fd36ce1c3
AUX vmware-horizon-usb.service 207 BLAKE2B 588b427bd62487323652f1bd5b1d636137568f707f8301431f4ce013662f5721abebc70d8f42c3fa8e1d9c7fbe9a0b76ee198d23caf214f01256e473e581f708 SHA512 332676a0d438e2295d6dbf0eda59aaed8c194d0b4a9572cffa185bcf819d9fcbb4ec793ea43f5403a584ef4a0c0f59b39674ed954624ac798a5775407e70743a
AUX vmware-horizon-usb.service.orig 194 BLAKE2B 375984a9146923130e529d9d5d52b607efcc7af0dcb099a039ed50291a56739b875df301d28266ad06927ce39440bf2f040987c9288620c41be16ef50dae3193 SHA512 4687c36887597316a845c82c2f0b9ced061db817ab68134def262132b6242d6dd7c1191ade48d996578c5b39d49a2df5efa5b3d7ca9e42f41e05980fd36ce1c3
AUX vmware-horizon-virtual-printing.service 212 BLAKE2B d52cfdb9082186e7fc25db5b3b3351b4561ade45f7df31e1ba5f3132b824b1213a68b1eef701affdfee4e5339dea9418c7debeb1ae7b19983524426910e01f98 SHA512 8d46aa6472f29cb983fae63032017f1dd4804a47d1104c12f7f92cbe503b2e1ba3019028b61f408cfcfede809d04eeed2f5c1016472f9225f281b4172a46e9cf
DIST VMware-Horizon-Client-5.0.0-12557422.x64.bundle 123167471 BLAKE2B 38d7d181c53a2b57ef12672fa678abaf905e7131fa58f92a9a252104d66fe543ea6112bd4d2b81b20aa8418796055d4c660b14db7c366c02ae88cfcfaa4e0785 SHA512 f559ed2a2bc920f02dd87edf1d36aeca4bf9ada4bed8fba42751d1e1a78f403a5392ef8a32c9a03976032b0176a55190699751861607dbbfa8c576eaca771b6c
EBUILD vmware-horizon-client-5.0.0.ebuild 6001 BLAKE2B 8ad35d019079ad47aaa8e89f4a5cc2f6a8063c529105f320b50e83212e67be6e68ac3d5cbb333ca2f2c43ba047814f89aaaed2004e3d8bd390d9493da2b5f50b SHA512 a99d003909558bf9c690db260f1f2086cf8c52ed86eac30514a8bcf4f10100b94a3fc12a60ed3283d168720a2a43c1b11f29a335c7f20a0ea708675729080864
DIST VMware-Horizon-Client-5.2.0-14604769.x64.bundle 211566683 BLAKE2B f8631458ee2ab6ea8b3f0933ed58456bb751fdc8b4c977db889c866268374f69e604f4830a0955765d8e539fef2b158679f898b1b167f18026a8f9d5612240dc SHA512 a2f82e67da2190a1c71d9c7b3829e968a7b4d8af28ce0553dfd99ca7911761d510cf5ef6f8b8e25ba7937e6f7d0c81cda066ea6f4178ba707a94b5c65a688a4a
EBUILD vmware-horizon-client-5.2.0.ebuild 6901 BLAKE2B b32b210f27efa911ef2ddfe7b9b87cefb87a0dd33f97e0f52a99b25c4cfc501fc76aae5962f429cbe3fe5125b228b309a1734a1a62471984f62c520bb9632e3d SHA512 1f4c42895bcc26779a0df3c998011c0bccd9b6d29bbf489dbae606614f301cb0c8c9951cf801e374a75ea9dcec776e7d62fe39c66f4371476170de5c7730fc6e
[Unit]
Description=VMware Horizon USB daemon
ConditionPathExists=/sys/bus/usb
ConditionPathExists=/sys/bus/usb/devices/usb1
[Service]
Type=forking
......
......@@ -8,12 +8,13 @@ inherit eutils vmware-bundle
DESCRIPTION="Client to connect to VMware Horizon virtual desktops"
HOMEPAGE="https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmware_horizon_clients/5_0"
HOMEPAGE="https://www.vmware.com/go/viewclients"
MY_VMWARE_BUNDLES="vmware-horizon-client vmware-horizon-rtav vmware-horizon-pcoip vmware-horizon-tsdr vmware-horizon-mmr"
# MY_VMWARE_BUNDLES may get expanded in pkg_setup based on USE flags
MY_VMWARE_BUNDLES="vmware-horizon-client vmware-horizon-rtav vmware-horizon-pcoip vmware-horizon-tsdr vmware-horizon-mmr vmware-horizon-seamless-window"
MY_VMWARE_PN="VMware-Horizon-Client"
MY_VMWARE_BUILD="12557422"
MY_VMWARE_CART="CART20FQ1"
MY_VMWARE_BUILD="14604769"
MY_VMWARE_CART="CART20FQ3"
MY_VMWARE_ARCH="x64"
SRC_URI="https://download3.vmware.com/software/view/viewclients/${MY_VMWARE_CART}/${MY_VMWARE_PN}-${PV}-${MY_VMWARE_BUILD}.${MY_VMWARE_ARCH}.bundle"
......@@ -25,21 +26,28 @@ KEYWORDS="~amd64"
# TODO make systemd optional, support OpenRC
IUSE="cups smartcard usb"
CDEPEND="=dev-libs/openssl-1.0*"
# for USE==smartcard, most likely depend on sys-apps/pcsc-lite, but not tested
# dependency on net-print/cups only necessary if USE==cups
RDEPEND="x11-libs/gtk+:2
media-libs/libpng:1.2
dev-libs/libxml2
dev-cpp/atkmm
dev-cpp/cairomm
dev-cpp/gtkmm:3.0
x11-libs/libXtst
net-print/cups
sys-libs/libudev-compat
${CDEPEND}"
=dev-libs/openssl-1.0*"
DEPEND="dev-libs/libxslt
sys-apps/file
dev-util/patchelf
sys-apps/findutils
sys-apps/grep
sys-apps/coreutils
|| ( app-emulation/vmware-keymaps-git )
${CDEPEND}"
app-emulation/vmware-keymaps-git
=dev-libs/openssl-1.0*"
# TODO make use of some QA_* variables to get rid of warnings during emerge/install
S="${WORKDIR}/extract"
......@@ -53,6 +61,12 @@ src_unpack() {
for bundle in ${MY_VMWARE_BUNDLES} ; do
vmware-bundle_extract-bundle-component "${DISTDIR}/${MY_VMWARE_PN}-${PV}-${MY_VMWARE_BUILD}.${MY_VMWARE_ARCH}.bundle" "${bundle}" "${S}/${bundle}"
done
# Remove legacy files
find "${S}" -name "legacy" -print0 | xargs -0 rm -rf
# Remove .desktop file, will be re-created later via 'make_desktop_entry'
find "${S}" -name '*.desktop' -exec rm -f '{}' ';'
}
src_compile() {
......@@ -83,21 +97,22 @@ src_compile() {
done
done
# Remove RPATH to fix dynamic linking
find ${S}/vmware-horizon-pcoip/pcoip/lib/vmware/ -name 'lib*.so*' -type f \
-exec patchelf --remove-rpath '{}' ';' || die "Could not remove RPATH from '${LIB}'"
# now that we fixed dynamic linking...
# ... let's finish the hack
rm -f "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/lib{crypto,ssl}.so.1.0.2
ln -sf ../libcrypto.so.1.0.0 "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/libcrypto.so.1.0.0
ln -sf ../libssl.so.1.0.0 "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/libssl.so.1.0.0
# remove keymap files, depend on vmware-keymaps instead
# remove keymap files, depend on app-emulation/vmware-keymaps-git instead
rm -rf "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/xkeymap/
# disable seamless window feature with vmware-view-crtbora
# this requires binary libraries with messy linking...
sed -i 's/vmware-view-crtbora/vmware-view/' "${S}"/vmware-horizon-client/bin/vmware-view
sed -i '/Name=/a Comment='"${DESCRIPTION}" \
"${S}"/vmware-horizon-client/share/applications/vmware-view.desktop
}
src_install() {
......@@ -111,8 +126,8 @@ src_install() {
cp -a lib/ "${D}/usr/"
rm -rf "${D}/usr/lib/vmware/view/crtbora/"
cp -a share/ "${D}/usr/"
cp -a doc/ "${D}/usr/share/doc/vmware-horizon-client"
cp -a debug/ "${D}/usr/share/doc/vmware-horizon-client/"
cp -a doc/ "${D}/usr/share/doc/${P}"
cp -a debug/ "${D}/usr/share/doc/${P}/"
# PCoIP
cd "${S}/vmware-horizon-pcoip/"
......@@ -135,6 +150,7 @@ src_install() {
cd "${S}/vmware-horizon-usb/"
dodir "/usr/lib/vmware/view/"
cp -a bin/ "${D}/usr/lib/vmware/view/usb"
cp -a lib/ "${D}/usr/"
exeinto "/usr/lib/systemd/scripts"
doexe "${FILESDIR}/vmware-horizon-usb"
insinto "/usr/lib/systemd/system"
......@@ -164,19 +180,27 @@ src_install() {
cd "${S}/vmware-horizon-mmr/"
cp -a lib/ "${D}/usr/"
### Fix QA issues on installed files
sed -i -e 's!vmware-view.png!vmware-view!;s!Application;Network!Network!' "${D}/usr/share/applications/vmware-view.desktop"
cd "${S}/vmware-horizon-seamless-window/"
cp -a lib/ "${D}/usr/"
# Fix QA issues on installed files
chmod -R a-w "${D}"
# vmware-view shall prefer shipped libraries over distribution-provided ones
sed -i '/vm_run() {/a \ \ \ vm_append_to_library_path "/usr/lib64/vmware"' "${D}/usr/bin/vmware-view"
# Create desktop entry
make_desktop_entry 'vmware-view %u' "Client to connect to VMware Horizon virtual desktops" vmware-view "Network;"
}
pkg_postinst() {
einfo "By installing this package you acknowledge that you agree to the End-User"
einfo "License Agreement (EULA) found in /usr/share/doc/vmware-horizon-client/."
einfo "License Agreement (EULA) found in /usr/share/doc/${P}/."
einfo "If you do not agree to VMware EULA remove this package immediately:"
einfo " emerge --unmerge app-emulation/vmware-horizon-client"
if use usb ; then
echo
einfo
einfo "To enable USB redirection, either invoke the following script through init"
einfo " /usr/lib/systemd/scripts/vmware-horizon-usb"
einfo "or start and enable the provided systemd service:"
......@@ -184,7 +208,7 @@ pkg_postinst() {
fi
if use cups ; then
echo
einfo
einfo "To enable virtual printing, start and enable the provided systemd service:"
einfo " systemctl enable --now vmware-horizon-virtual-printing"
fi
......
DIST vscodium-bin-1.34.0.tar.gz 68132418 BLAKE2B 2e71b624cf9260675afaa687390d0763c5e682c6f1e0c04afe0739d073b788b5d57cbd398994bd51a201afb66c45788e56d0ee5ec25d81d7ebe88432dc6fea5e SHA512 9432f297380d2c91ffbf24b5f8d565308dfd0c0a84157e1082aea4196631f4f78e72c1721468624d2c18ce8b16f3e01b08cbe787d4cb5d5a55a653db9b0de4a2
EBUILD vscodium-bin-1.34.0.ebuild 1151 BLAKE2B caa93f221e0acf6eb1542020b8820c8f5d53bae8c06452ce9ddfecffd521f15718ea26edf3469352be4d49a5617485996e6ebad6e2ba21a25ae37db9e34eb94b SHA512 16be29237b5e6436be67154d97222b0a152728fd92ef9e92141d906acbaf244ffc94004e27e457a3d1bd9653c53e2f08f296dd9f354d59268e6842baa7850122
DIST vscodium-bin-1.39.1.tar.gz 82105416 BLAKE2B 7c5d94bba5a410eaf069277484fc679e2a092fad942c47bc1fdf0aaa758cf7fdf51f8d4bcaf631cae8dc350d98e42cb281237ffd86eb360444b4d72ea29e7d32 SHA512 3ecc890295f3550d3931ee4cc8412eba79d85ee2fb6789568d58af3cd8ee46743cf356993e8bb4ca84e7ee9fa636ab36dfd453c6f05fca616e2a34c675b6e849
EBUILD vscodium-bin-1.39.1.ebuild 1181 BLAKE2B 5ce504f2d3f87c1cbcf86f91daf6cd0f60673e327eceb5cb4d7daf6d958adaabaaf5f732856a27452a54a2edec6f6545964bdcfdbc29a9128b33326a9b630f5b SHA512 ba89086230788c0579e1d11a3c65cc3c2d3bd62c3cec0d341058ac8632763bb85e07240c749f05d7d544abb66c7bd2488089de9a55237efef3aaccd4396906c0
......@@ -27,14 +27,15 @@ S="${WORKDIR}"
src_install(){
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/vscodium" "/usr/bin/visual-studio-codium"
make_wrapper "${PN}" "/opt/${PN}/vscodium"
make_desktop_entry "${PN}" "Visual Studio Codium" "${PN}" "Development;IDE"
dosym "/opt/${PN}/bin/codium" "/usr/bin/${PN}"
make_wrapper "${PN}" "/opt/${PN}/bin/codium"
make_desktop_entry "/usr/bin/${PN}" "Visual Studio Codium" "${PN}" "Development;IDE"
newicon resources/app/resources/linux/code.png ${PN}.png
fperms +x "/opt/${PN}/vscodium"
fperms +x "/opt/${PN}/bin/vscodium"
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/libffmpeg.so"
fperms +x "/opt/${PN}/libnode.so"
fperms +x "/opt/${PN}/libEGL.so"
fperms +x "/opt/${PN}/libGLESv2.so"
}
pkg_postinst(){
......
DIST v1.1.15.tar.gz 42430 BLAKE2B c7116625732510cdb29f36ae44de484ea32ea47fb649010e04020468e1bd8d5069785cf42c3edb02d7e5da4b1b08d67dd78c6ac1ddad6b7e405a0e34e8e96135 SHA512 e57060dea94cb377e47a27d77a03fb1329a7fe483f46dd589e2455f405e7dce5272412e43637a7a4ede3f78a73774a6ec751bfa9eca558ed2938faf6e9f2b6b9
EBUILD asttokens-1.1.15.ebuild 766 BLAKE2B aebb4901fc454ffe5c4703a10797d7fab34b7ea421a3ceb4c8c9235c2c2bb1155713bd98e0fb9dffeb1bfb78acc830875e55869394821d7807ba605b7ad216c5 SHA512 5a08592905df7b511cb19ead5b756dbc7a41590c4cdbd9697011dc4f3782949d58136edc1ed5b13d0db9bd118f24f902918744e987cc4124fb8f67398c57a97a
# Copyright 2017 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
inherit distutils-r1
DESCRIPTION="Annotate Python AST's."
HOMEPAGE="https://github.com/gristlabs/asttokens"
SRC_URI="https://github.com/gristlabs/${PN}/archive/v${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm ~arm64"
IUSE="test"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/astroid[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
DIST cov-analysis-linux-2017.07.tar.gz 480416104 SHA256 a66fa96dfe0c2f5b1711ed22c35fe9f2d0f9ac94c5550fecc25cebb65018b577 SHA512 c93034b26af784fd6ea205710631df36a67d1bab11a3994e024cead301eac564108175c1a0825c9fb920aaef86225d4692d72e620245bc5f456c38aef9b2e84e WHIRLPOOL 81c2b9ee52f905c5f970cd854f8cf3567e73f4c9b97c9c9338cd07bda891f7cb735ee24ab24245bc7a2cd5676912a863d8843f536ba6f0ce6dc0abba42c1e66c
DIST cov-analysis-linux64-2017.07.tar.gz 545194721 SHA256 866e12f786b3e22cb188ef7900a58f30595ba014393cc9db27dd025fd86a9663 SHA512 c93ab2eee182ce7b087baff486d1f379a3d67a11a5ffe94838607c71d4f36d830c57bfba324303b00e192ac9ce41f36ee13673bbe6d785aeb0aae35ec0b89e80 WHIRLPOOL 557a0c9206b87db1cb4a2e0c587c48e0521ee60398ba2edd895adac3fe88daf88def8e719d70ed2eb9c84d6bd82a2b5231e3e8868ac9ae82cb5698d22465f222
EBUILD cov-analysis-2017.07.ebuild 1803 SHA256 cd93bfe99ee609ce7478b3141fca59431dd281a2aed0ac764468cb33caf611b6 SHA512 0d59429592be23d85ca389c93496653c792f4ff38f197d35f518568e400cacbba8d066ac0b975b0e3e8f42d1b1a477ff7a85df58c1b44fb58a96642b6ac24923 WHIRLPOOL 211c52bc8ac4dbaebeedca1f6ff61a88f59bbdccc2ceeccfac29d57db23b9f8fcf07327a27b612276695a642e4b81d7b6373471a37cac19d99607351e9b6f5ef
DIST cov-analysis-linux64-2019.03.tar.gz 746843796 BLAKE2B 6050e04fa0f3d851297084b75cefd683d04151c4848f0c0d15405cd01e7725d9bb8d48e4220542f6dbb62fbef05b6eba2c7355f8ce925d353a96a86350935e07 SHA512 35a19d5dae4d1e6c8be1b8cd7c716ed901356bace98b5128bcac3305ca7f5abdc5be2cededb8f26f400a1f4d0b2de5004eeb308eec8e937bdcf265f7be716771
EBUILD cov-analysis-2019.03.ebuild 1554 BLAKE2B cd4bfeb9e37e51f324ad37e697bc7acc079d885bb49c07f042481777622c3dcc54de6ae906a2dc59a1e66f1f19c1c327b490b0142185afbdfdf0b1f1612340bf SHA512 01a5883785ccef53fa3e4034ebe5d118e6b723a62bc755a7c0509faef1876a3eb92e808feeaaa082ddfaa1a22933a95e3e7c5583b18544513bb41fb4742638fc
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
EAPI=7
inherit eutils
......@@ -10,12 +9,11 @@ DESCRIPTION="Coverity Scan Build Tool for C/C++"
HOMEPAGE="https://scan.coverity.com/"
# https://scan.coverity.com/download/cxx/linux
# https://scan.coverity.com/download/cxx/linux64
SRC_URI="amd64? ( ${PN}-linux64-${PV}.tar.gz )
x86? ( ${PN}-linux-${PV}.tar.gz )"
SRC_URI="${PN}-linux64-${PV}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
KEYWORDS="-* ~amd64"
IUSE=""
RESTRICT="fetch strip"
......@@ -28,15 +26,18 @@ pkg_nofetch() {
einfo "To download the Coverity Scan tool, please sign in at"
einfo " https://scan.coverity.com/"
einfo "and then download the build tool by following this link:"
use amd64 && einfo " https://scan.coverity.com/download/cxx/linux64"
use x86 && einfo " https://scan.coverity.com/download/cxx/linux"
einfo
einfo "To compute the checksum for the Manifest (necessary if updating/"
use amd64 && einfo "changing this .ebuild), it is necessary to fetch the 32-bit"
use x86 && einfo "changing this .ebuild), it is necessary to fetch the 64-bit"
einfo "archive from Coverity as well:"
use amd64 && einfo " https://scan.coverity.com/download/cxx/linux"
use x86 && einfo " https://scan.coverity.com/download/cxx/linux64"
einfo " https://scan.coverity.com/download/cxx/linux64"
}
src_unpack() {
# Synopsis made the mistake of compressing cov-analysis-linux64-2019.03.tar.gz
# *twice* with gzip
if [ ${PV} = "2019.03" ] ; then
gunzip <"${DISTDIR}/${A}" >"${T}/${PN}-linux64-${PV}.tar.gz" || die "Removing first layer of compression failed"
unpack "${T}/${PN}-linux64-${PV}.tar.gz" || die "Failed to unpack '${T}/${PN}-linux64-${PV}.tar.gz'"
else
eutils_src_unpack
fi
}
src_install() {
......@@ -44,8 +45,7 @@ src_install() {
cp -r "${S}" "${D}/opt/" || die "Could not copy files to '${D}/opt'"
local pathdirectory
use amd64 && pathdirectory="/opt/${PN}-linux64-${PV}/bin"
use x86 && pathdirectory="/opt/${PN}-linux-${PV}/bin"
pathdirectory="/opt/${PN}-linux64-${PV}/bin"
dodir /etc/profile.d
echo 'export PATH="${PATH}:'"${pathdirectory}"'"' >${D}/etc/profile.d/${PN}.sh
......
DIST thonny-3.2.1.tar.gz 1913675 BLAKE2B d02aecd1034b59aeba02a939605eee9bb67ef2129773ee61f1f27d2a6b7475a3a4fa0a77e7a353511d9a23badd711fa4679df5fe1e43e1d42cbc1e3c480413fd SHA512 fceb43fc5f220e8523d695aa8ea46cc21079082ebe17b1ce8935ee60b36ef5e44861f37a5ac9f88d7adc0bf5f48066cce8974fc8b7c93bb0842b629a8869f7bb
EBUILD thonny-3.2.1.ebuild 1082 BLAKE2B 264d1d0df2c6b64bcee6db9c7b1afa833a3235697d222be8e215e38becc127a458b7fc341213026a5cbc60aed13790ab6493c6d64ff432e5808341c84a0adb25 SHA512 c834d3bafd6ba02b9681fbf522710e2b684c86352b7d63ff03bac08bf3451183af8cf0abeaabb4fa5fdc1457219783de35d5f08b4028ace0979043746b46bb1a
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_REQ_USE="tk"
inherit distutils-r1 desktop
DESCRIPTION="A Python IDE for beginners"
HOMEPAGE="https://thonny.org/"
SRC_URI="https://github.com/thonny/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
DEPEND="${PYTHON_DEPS}
>=dev-python/send2trash-1.4.2[${PYTHON_USEDEP}]
>=dev-python/mypy-0.470[${PYTHON_USEDEP}]
>=dev-python/astroid-1.4.9[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.1.1[${PYTHON_USEDEP}]
>=dev-python/jedi-0.10[${PYTHON_USEDEP}]
>=dev-python/asttokens-1.1.10[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_install() {
distutils-r1_src_install
for s in 16 22 32 48 64 128 192 256 ; do \
newicon -s ${s} packaging/icons/thonny-${s}x${s}.png thonny.png || die "Cannot install icon if size ${s}x${s}" ; \
done
make_desktop_entry /usr/bin/thonny Thonny thonny "Development;IDE"
}
EBUILD google-woff2-9999.ebuild 474 SHA256 e61525a394ce9ad1df3dd2606ea8b3351fd50edbbb00d1b6dc300be88db69750 SHA512 b4ef82e36d5df500b6eac02101ecc4ff8613906095905e4b2240b5018aca96b5f7267fad25f3c4c865484e3c277e4299f5fd729b26576b086746cb9b4b4398c2 WHIRLPOOL 0a54a14c0ef8a3cc4f7dffe8366a1fa8e67ae8bc0ab618dbab868619ed52bb544cdf11922ef63ce93c0a45aca660670007544c8e8f007716f19c24c699a07086
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils git-r3
DESCRIPTION="Tools to convert between TrueType font files and WOFF 2.0"
HOMEPAGE="https://github.com/google/woff2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
EGIT_REPO_URI="https://github.com/google/woff2.git"
src_install() {
newbin woff2_decompress woff2tottf
newbin woff2_compress ttftowoff2
dodoc README.md
}
EBUILD qdisplay5-9999.ebuild 1342 SHA256 f90e3c74f0cde3e01e881d20d31b3bfa59791596e6c00ce184c2e2098e95dd2a SHA512 221e09b516734dbe34bd2e6c77c181e26e5068cb088a17778f9ec93f853fa66b65f53aa4046742cd54a8efd1ab6a1e5af0b8438efa195d55c71fee32f8fe3fc5 WHIRLPOOL 81392fdc004869c7a694dd2668a92fa6e503affd88933d19afc65e8b2d085eeec60b24f1b5ebc19affdadd5c2e6b544ef47583d1d7689a34bc844e08e4327960
EBUILD qdisplay5-9999.ebuild 1368 BLAKE2B ff2f694c552ed0be5853e9e37991eb8f63057eed7a52d93c4bf5c83b5e872658f9c3d59bc7079de7b105c9022bac92be7f66514f43f3054f1e8fbd9980a1d950 SHA512 fc87ba1fc7c297bb56e3cd9ba9aa609fd89b2dc58e0597df776addf534c5d4851bfe02db7d33de2f8a205b7d6c02d8103ae22718ab9d94e328d7642db745ec51
......@@ -26,7 +26,7 @@ RDEPEND="${DEPEND}
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
virtual/jpeg:0
media-gfx/jpegoptim
media-gfx/optipng"
|| ( media-gfx/optipng media-gfx/pngcrush )"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
......
EBUILD psi-plus-git-9999.ebuild 420 BLAKE2B bdab419b60857ceea1d4497e6984cec7d79d0267206e47a0a52d6c0b1aa170fdbc7d1df31b1299516edd4a2a46e53cbda605620100df41375efb444f2933f5ba SHA512 fc129d6aa90c052cdcea0dec767f10888d050870425c45f2dc19edff8a5c2536be2aa855f3c056e7856a9b6a6746b664632cc5666408af9222421d8bca037a0d
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils git-r3
DESCRIPTION="Codebase snapshots for Psi+ project, a development branch of Psi"
HOMEPAGE="https://github.com/psi-plus"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
EGIT_REPO_URI="https://github.com/psi-plus/psi-plus-snapshots.git"
RDEPEND="!net-im/psi-git
!net-im/psi"
DIST Wire-3.9.2895_amd64.deb 53648466 BLAKE2B 948fcbc00a0d1c8ae79b6fb7f5e0978a23ba00a5ec4ea35199c0a45e3cef007b0c50452b1471bfae24512c725253389afa8f487f7dc3c73ac5f99c3e5c7c570f SHA512 8574ccd6971173e9bc83367fb11fe417475777cd8b2b0f65ab55df2a6282e059fbb655759ce13935cdabd6464cbc9cc12d2b44420bd889aac87979febfb7d622
EBUILD wire-desktop-bin-3.9.2895.ebuild 1177 BLAKE2B da0f6ff50a030f40263097e9706aac0db57a406b21b75a27d61d1b96f9593feb0b3700732f4de9a58815fa6da83864a08fdef67d3ee6c969bf4e5bca06cdbbdd SHA512 15bff88ea05230e5efea4f77213e462ca657c5fa7cb032a8a9b89905eb5df3ed378d2317635430bf0e1fc7b7c35c135ea8f78cc076792b544a88a2814376212c
EBUILD wire-desktop-bin-3.9.2895.ebuild 1130 BLAKE2B 99536fa99463caee29d081e86808c16ace87060f1270b6dee0ada1cef92ecc58f3034c2efbcd4d631a6277b9c743e8f817be1c8b496a656bad703cb0372ebab1 SHA512 ff9b1953ecfd5e5baffc46e58a1bd4c86c14d03a3f387d8d83e423ce6914e9b4dba98d5aad0f273b74a1b7758381408a09a6790c739c193963474b278ea769ce
......@@ -40,7 +40,6 @@ src_configure() {
src_install() {
cd ${S}
find opt/Wire -maxdepth 1 -type f -executable
insinto /opt
doins -r opt/Wire
insinto /usr
......
DIST zoom-3.0.287250.0828_x86_64.pkg.tar.xz 70509916 BLAKE2B d56d6119e2ec3aa29f1a0683aabc3318ddc6637b056f738598f2303e9e7bf889e9583ba93cbf4501a8024210053ad638a211f392389c1c6424bb3e1a87111d14 SHA512 e46fd3caf790b5188301177454fa089ebf03845df5bf8133bb0dfc289a0e74bac5a82e064476f97e6b47327bb773aef4b929d28b8878fa0528f0f37fd9b4d76f
EBUILD zoom-bin-3.0.287250.0828.ebuild 1611 BLAKE2B 8b8453b9e47051bfa91a9b59fa1a1de6269bc349e90b3b9ae19bce890290970be6a44bb8bcb499fb3e5cd02fd940d19c4261937e01b78f3f073e24388a6a347f SHA512 814840396e4b698ce5fd9c62f988296997dc42a3aefc32ac165a76a34d94b5221d75c01d1ccc2b6ad9ba3955ecbd37297c170958cf0d7347d2bbd500ffc2bc05
# Copyright 2019 Yurij Mikhalevich <[email protected]>
# Distributed under the terms of the MIT License
EAPI=7
inherit unpacker xdg
MY_PN="${PN/-bin/}"
DESCRIPTION="Video conferencing and web conferencing service"
BASE_SERVER_URI="https://zoom.us"
HOMEPAGE="https://zoom.us"
SRC_URI="${BASE_SERVER_URI}/client/${PV}/${MY_PN}_x86_64.pkg.tar.xz -> ${MY_PN}-${PV}_x86_64.pkg.tar.xz"
LICENSE="ZOOM"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
IUSE="pulseaudio"
QA_PREBUILT="opt/zoom/*"
RDEPEND="${DEPEND}
pulseaudio? ( media-sound/pulseaudio )
dev-db/sqlite
dev-db/unixODBC
dev-libs/glib
dev-libs/nss
dev-libs/libxslt
dev-qt/qtmultimedia
media-libs/fontconfig
media-libs/mesa
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXi
x11-libs/libXrender
dev-qt/qtwebengine
dev-qt/qtsvg"
DEPEND="${RDEPEND}
app-admin/chrpath
"
S=${WORKDIR}
src_prepare() {
rm -f ${WORKDIR}/.PKGINFO ${WORKDIR}/.INSTALL ${WORKDIR}/.MTREE
rmdir usr/share/doc/zoom usr/share/doc
sed -i -e 's:Icon=Zoom.png:Icon=Zoom:' "${WORKDIR}/usr/share/applications/Zoom.desktop"
sed -i -e 's:Application;::' "${WORKDIR}/usr/share/applications/Zoom.desktop"
chrpath -r '' opt/zoom/platforminputcontexts/libfcitxplatforminputcontextplugin.so
scanelf -Xr opt/zoom/platforminputcontexts/libfcitxplatforminputcontextplugin.so
eapply_user
}
src_install() {
cp -Rp "${S}/"* "${D}"
}
pkg_preinst() {
xdg_pkg_preinst
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}
EBUILD josm-15031.ebuild 2125 BLAKE2B 25a65d1010fd77bf22ade37bd4a52fcf549aa86ad1333efeae2ad41691d22f191bf5a7ddafc2ee142cfafeeefba01a47a20ac2aa4c4991ff9aaa1563cc0d02a3 SHA512 0302f743ebea72dc00edffd395fe038b7d9e9eb5dbd130834ded5f9ee91c1eda69d03dcf6260fa34df0d1abccee8905488151466be50e66c0a54bcdb8cdc1f87
EBUILD josm-15322.ebuild 2123 BLAKE2B e1accbed2f78ebde5e6c6eca07a11450bc06fa6d56f1e584387ed77e12cc8f4869f0ce57d8b4452b3b59cc7836bef0140d930953f5fb4de499487b82202777e4 SHA512 02f441e95a9c4bf2755f8f68814686b4d62a82314ec8d642a62e3b6439a0e376ffa59378301902af4cf34e15f09ab478e70f0534acd9b0272a7c430e353ff3c5
......@@ -52,7 +52,7 @@ src_compile() {
src_install() {
java-pkg_newjar "dist/${PN}-custom-optimized.jar" "${PN}.jar" || die "java-pkg_newjar failed"
java-pkg_dolauncher "${PN}" --java_args '-Dawt.useSystemAAFontSettings=gasp' --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
java-pkg_dolauncher "${PN}" --java_args '-Dawt.useSystemAAFontSettings=on' --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
for size in 128 16 192 22 24 256 32 36 48 512 64 72 96 ; do
insinto /usr/share/icons/hicolor/${size}x${size}/apps
......
DIST chromium-bin-70.0.3538.110.zip 108619086 BLAKE2B ca7306e946c70d9837d83d67b37231f0c701b7db69d156b4cef7b826938f154138e6d58a29f2c618d1de0e1397f7bd67513d6d51e896553cf37afe82a365ae4b SHA512 c9295d46d8e63a78ab28e5d461c96867c447a03398f963a6f290d4898cb16bb761f5baeb9b7340eb0e23fa0daadc5efbfa5c1b2421fc40516390b2b6a94bdd61
EBUILD chromium-bin-70.0.3538.110.ebuild 1756 BLAKE2B 6ef8f0a9c51ffe5ce1e49e81894a4c5d1d44b7baf4bc43f6e5d5f1918d0a75ec65c207b4f78dbe7f6341d25f4c55c4d372d368f7ec2f8ae8cefa6d06d2f74afb SHA512 eb0cd31797d8fc0d22e8f2abde158227dcd5833ea847ad1976278c33bec10a233ac6ee291ba9bfde5f945d2572581adb3ae724e583b5d2dbe7bc844bbe13647f
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils desktop
# Go to
# https://omahaproxy.appspot.com/viewer
# to find the version numbers and revisions
# of current stable, beta, and dev releases.
REVISION=587811
DESCRIPTION="Open-source version of Google Chrome web browser, precompiled by Google"
HOMEPAGE="https://www.chromium.org/"
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/${REVISION}/chrome-linux.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
# TODO identify necessary dependencies
# TODO conflicts with other Chrome/Chromium packages
DEPEND=""
RDEPEND="${DEPEND}"
S=${WORKDIR}/chrome-linux
src_install() {
local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser"
exeinto "${CHROMIUM_HOME}"
doexe ${S}/chrome
dosym "${CHROMIUM_HOME}/chrome" /usr/bin/chromium-browser
insinto "${CHROMIUM_HOME}"
doins *.bin
doins *.pak
doins *.so
doins icudtl.dat
doins -r locales
doins -r resources
insinto "${CHROMIUM_HOME}/swiftshader"
doins swiftshader/*.so
for size in 48 ; do
newicon -s ${size} product_logo_${size}.png chromium-browser.png
done
local mime_types="text/html;text/xml;application/xhtml+xml;"
mime_types+="x-scheme-handler/http;x-scheme-handler/https;"
mime_types+="x-scheme-handler/ftp;"
mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;"
make_desktop_entry chromium-browser "Chromium" chromium-browser "Network;WebBrowser" "MimeType=${mime_types}\nStartupWMClass=chromium-browser"
sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
}
pkg_postrm() {
xdg_desktop_database_update
}
pkg_postinst() {
xdg_desktop_database_update
}
AUX chromium-browser.xml 407 BLAKE2B 168d78b0855546ca559cfb51aff0bc85d5e6ae974c25eb76e4a02f6d11659489c6e40397a0b2f7bc1fda336fd2c6dd8c863fccc3340719210b41c7fef51927f4 SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca
AUX ungoogled-chromium-bin.default 333 BLAKE2B 896d53b121d85827ca039da8138239bb4f82435fdfe8b1a93bb32e828dc66e6df6d41da761dd5237df96a3d54227dc3bd5016377e8040dc6aec3a27547cb1bc7 SHA512 7d53e55b14d323062cdaca1148af6aaf7697855aeb2edb4f6eaaa984b0be402397cde1f3a75ab20b4948ef6f9024927ff0baae49a5cb3bb037d917efafd8334b
AUX ungoogled-chromium-launcher-r3.sh 1209 BLAKE2B 788893ccd7564ce96f1b67d6240c5e384ab824d6cba7dca6dfc8e72b7fe5a1c377d2154691503a08e40a072b100f6d6bf021fa752f093d210c217b613bb77438 SHA512 34434668f03ae4b019f8602f9a4b9f515f175e04a4370bfb36b3e68df026d58102c2f0f6ef76e08da549021de197cc8f6655b8350b164a47528155cb7bea9a15
AUX ungoogled-chromium.default 333 BLAKE2B 896d53b121d85827ca039da8138239bb4f82435fdfe8b1a93bb32e828dc66e6df6d41da761dd5237df96a3d54227dc3bd5016377e8040dc6aec3a27547cb1bc7 SHA512 7d53e55b14d323062cdaca1148af6aaf7697855aeb2edb4f6eaaa984b0be402397cde1f3a75ab20b4948ef6f9024927ff0baae49a5cb3bb037d917efafd8334b
DIST ungoogled-chromium-bin-75.0.3770.80-1.2.tar.xz 72340380 BLAKE2B 5f02ef2cde4bf99ddff6e294ccba00954f4bc623167f7225be05ea3bac787a233dd740dfb70b0c2d1432de3a214c7a558b6f09fc718cb2bd2d4df928bf8d7920 SHA512 600e56794e92fbffce97ff62ad3939395ec754728731c76a3ef0dc143786db367914137b5d62e35ecf288c19db8e35a359eb4402ef3d0b5f6646d5df152edeab
EBUILD ungoogled-chromium-bin-75.0.3770.80_p12.ebuild 4613 BLAKE2B aabe5ea5dbe08893de4caed6b65b910b6e0f597c4253664671de6623386ce1c2ac164d4af5931a8d4c33dea79477b3fe0cd4decf44d4c5aa02a8789597cfc98f SHA512 25151bff2600cf1b5dab410599ad28070844870977ad74400410a90791039bdd7a8234559de88b034e7fce6cb52978da6a451d4d60cd43ce5cc18f9874b3997d
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
<default-apps>
<web-browsers>
<web-browser>
<name>Chromium</name>
<executable>chromium-browser</executable>
<command>chromium-browser %s</command>
<icon-name>chromium-browser</icon-name>
<run-in-terminal>false</run-in-terminal>
</web-browser>
</web-browsers>
</default-apps>
# Default settings for ungoogled-chromium. This file is sourced by /bin/bash
# from the chromium launcher.
# Uncomment this to spoof timezone to UTC
#export TZ='Etc/UTC'
# Options to pass to ungoogled-chromium.
# See https://github.com/Eloston/ungoogled-chromium#features for additional
# command-line switches.
#CHROMIUM_FLAGS=""
#!/bin/bash
# Allow the user to override command-line flags, bug #357629.
# This is based on Debian's chromium-browser package, and is intended
# to be consistent with Debian.
for f in /etc/chromium/*; do
[[ -f ${f} ]] && source "${f}"
done
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default).
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
# Let the wrapped binary know that it has been run through the wrapper
export CHROME_WRAPPER=$(readlink -f "$0")
PROGDIR=${CHROME_WRAPPER%/*}
case ":$PATH:" in
*:$PROGDIR:*)
# $PATH already contains $PROGDIR
;;
*)
# Append $PROGDIR to $PATH
export PATH="$PATH:$PROGDIR"
;;
esac
if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then
# Running as root with HOME owned by root.
# Pass --user-data-dir to work around upstream failsafe.
CHROMIUM_FLAGS="--user-data-dir=${XDG_CONFIG_HOME:-${HOME}/.config}/chromium
${CHROMIUM_FLAGS}"
fi
# Set the .desktop file name
export CHROME_DESKTOP="chromium-browser-ungoogled-chromium.desktop"
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "[email protected]"
# Default settings for ungoogled-chromium. This file is sourced by /bin/bash
# from the chromium launcher.
# Uncomment this to spoof timezone to UTC
#export TZ='Etc/UTC'
# Options to pass to ungoogled-chromium.
# See https://github.com/Eloston/ungoogled-chromium#features for additional
# command-line switches.
#CHROMIUM_FLAGS=""
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fi fil fr gu he hi hr
hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw
ta te th tr uk vi zh-CN zh-TW
"
inherit chromium-2 desktop readme.gentoo-r1 xdg-utils
# Patch level with a dot
MY_PV="${PV/_p12/_p1.2}"
MY_PV="${MY_PV/_p/-}"
MY_PN="${PN/-bin}"
MY_P="${MY_PN}_${MY_PV}"
DESCRIPTION="Modifications to Chromium for removing Google integration and enhancing privacy"
HOMEPAGE="https://github.com/Eloston/ungoogled-chromium"
SRC_URI="https://github.com/Eloston/ungoogled-chromium-binaries/releases/download/${MY_PV}/${MY_P}_linux.tar.xz -> ${PN}-${MY_PV}.tar.xz"
RESTRICT="mirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE="+suid"
RDEPEND="
app-accessibility/at-spi2-atk:2
app-arch/bzip2
>=net-print/cups-1.3.11
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
>=dev-libs/nss-3.26
>=media-libs/alsa-lib-1.0.19
media-libs/fontconfig
media-libs/freetype
>=media-libs/harfbuzz-1.6.0
media-libs/libpng
sys-apps/dbus
sys-apps/pciutils
virtual/opengl
virtual/ttf-fonts
virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
>=x11-libs/libXi-1.6.0
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/pango
x11-misc/xdg-utils
!www-client/chromium
!www-client/chromium-bin
!www-client/ungoogled-chromium
"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="
Some web pages may require additional fonts to display properly.
Try installing some of the following packages if some characters
are not displayed properly:
- media-fonts/arphicfonts
- media-fonts/droid
- media-fonts/ipamonafont
- media-fonts/noto
- media-fonts/noto-emoji
- media-fonts/ja-ipafonts
- media-fonts/takao-fonts
- media-fonts/wqy-microhei
- media-fonts/wqy-zenhei
To fix broken icons on the Downloads page, you should install an icon
theme that covers the appropriate MIME types, and configure this as your
GTK+ icon theme.
"
QA_PREBUILT="*"
S="${WORKDIR}/${MY_P}"
# Temporal fix due to broken .tar archive
S="${WORKDIR}/ungoogled-chromium_75.0.3770.80-1.1_linux"
pkg_pretend() {
# Protect against people using autounmask overzealously
use amd64 || die "${PN} only works on amd64"
}
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_install() {
local CHROMIUM_HOME="/opt/chromium-browser"
exeinto "${CHROMIUM_HOME}"
doexe chrome
if use suid; then
newexe chrome_sandbox chrome-sandbox
fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
fi
doexe chromedriver
newexe "${FILESDIR}/${MY_PN}-launcher-r3.sh" chromium-launcher.sh
sed -i "s:/usr/lib/:/usr/$(get_libdir)/:g" \
"${ED}${CHROMIUM_HOME}/chromium-launcher.sh" || die
# It is important that we name the target "chromium-browser",
# xdg-utils expect it (bug #355517)
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser
# keep the old symlink around for consistency
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium
dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver
# Allow users to override command-line options (bug #357629)
insinto /etc/chromium
newins "${FILESDIR}/${MY_PN}.default" "default"
pushd locales > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die
insinto "${CHROMIUM_HOME}"
doins ./*.bin
doins ./*.pak
doins ./*.so
doins icudtl.dat
doins -r locales
doins -r resources
# Install icons and desktop entry
newicon -s 48 "product_logo_48.png" chromium-browser.png
local mime_types="text/html;text/xml;application/xhtml+xml;"
mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
mime_types+="x-scheme-handler/ftp;" # bug #412185
mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
# shellcheck disable=SC1117
make_desktop_entry \
chromium-browser \
"Chromium" \
chromium-browser \
"Network;WebBrowser" \
"MimeType=${mime_types}\nStartupWMClass=chromium-browser"
sed -i "/^Exec/s/$/ %U/" "${ED}"/usr/share/applications/*.desktop || die
readme.gentoo_create_doc
}
update_caches() {
if type gtk-update-icon-cache &>/dev/null; then
ebegin "Updating GTK icon cache"
gtk-update-icon-cache "${EROOT}/usr/share/icons/hicolor"
eend $? || die
fi
xdg_desktop_database_update
}
pkg_postrm() {
update_caches
}
pkg_postinst() {
update_caches
readme.gentoo_print_elog
}