# HG changeset patch # User Dirk Olmes # Date 1555400745 -7200 # Node ID 4eda6e8ffca1fd1b3770e1eb86a612dd779c89de # Parent c7e64a76f7bb3578c58b6f7e51ced6a54c494cb5 ebuild for vscodium diff -r c7e64a76f7bb -r 4eda6e8ffca1 app-editors/vscodium/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/vscodium/Manifest Tue Apr 16 09:45:45 2019 +0200 @@ -0,0 +1,5 @@ +AUX vscodium.desktop 219 BLAKE2B 76da7de95bb06cab2feaef664aee550b9ea68b58ecf3a9affa82fa11e1aeb8e754498cf1aa0b2dc18030fc2d800173c4b7ffd9c17dc0dc9de012fafd631d0060 SHA512 97b81eb1461225f5fef1187709387679d081e377897660e825a6ea356753b2c95e690552e5e75d76371126551786f36a43cd141b06c3cde436ccfb4a75347b03 +AUX vscodium.png 20146 BLAKE2B 992d0bcfc250ae3e6ab25b9f6270ddfe03168973844763fab254c6bbe9f069aea3bb08a3f004a7be6209066501cc642e319b07e5916df528003d85df7fa8dbe0 SHA512 2bbc1044aa83a7be4acf099e8c196833b6cada6febe2bd49c1e6001f08cac631795814c909e6349d691cf69f45c6076d7a991e6068d5695093340720c5a436b0 +DIST vscodium-1.33.1-x64.tar.gz 68103931 BLAKE2B 6523c61ca2e5074772da01e305ab1d182faf8165199423365da1c2ebf5fb0ab0a9fc202e818c94a3d0d2f26bd8aeb54eec19c76bc95465d002b4fe4c0b1fe101 SHA512 42fdc475222aed2963dbfe965f10ff185d86acb3af0c571f8f1efcbecc70a60245afdf8f66d0247e0a40cb6d1c84db52f92970eb7bd02035bed11e0a7aad2601 +EBUILD vscodium-1.33.1-r1.ebuild 1368 BLAKE2B 199b1fdaca4bfb6bc414447c46babf22d9aeafc52c9ed2a892c79f46f62123c80d1a12e30e72ca1a0ed70394863c0b86ea142c748dbb78f6653e8c209a66fc8b SHA512 194fd39532391dd1f961db843f805af1b1712612b28ff4d220ea9d348504cf8caef52d57d00d83473cda3c2375dc9a0a9ec9602b3570663969c01e65b6c9b57c +MISC metadata.xml 362 BLAKE2B 39630aa08acc184fded8fff0b33271414fa85821700f5b6666eb14ff207a4c924e035c04c2d819daf960770c032879e2fe5cdb0040a10721495060432cad54a1 SHA512 145a66637ab9dd8cd6c2424673f1e775d850a49b0cccf3b8108b1f54489989f5ba9aab6d29e7bd931e5b70517226ae7a22c7486273ea90c314abdea67593c55c diff -r c7e64a76f7bb -r 4eda6e8ffca1 app-editors/vscodium/files/vscodium.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/vscodium/files/vscodium.desktop Tue Apr 16 09:45:45 2019 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Visual Studio Code +Type=Application +Comment=Multiplatform Visual Studio Code from Microsoft +Exec=visual-studio-code %F +TryExec=visual-studio-code +Icon=visual-studio-code +Categories=Development;IDE; diff -r c7e64a76f7bb -r 4eda6e8ffca1 app-editors/vscodium/files/vscodium.png Binary file app-editors/vscodium/files/vscodium.png has changed diff -r c7e64a76f7bb -r 4eda6e8ffca1 app-editors/vscodium/metadata.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/vscodium/metadata.xml Tue Apr 16 09:45:45 2019 +0200 @@ -0,0 +1,12 @@ + + + + + wolvie@gmail.com + Thomas Andrade + wolvie Overlay + + + Enable libsecret support + + diff -r c7e64a76f7bb -r 4eda6e8ffca1 app-editors/vscodium/vscodium-1.33.1-r1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/vscodium/vscodium-1.33.1-r1.ebuild Tue Apr 16 09:45:45 2019 +0200 @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils pax-utils + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +SRC_URI=" + amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-x64.tar.gz )" +RESTRICT="mirror strip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libsecret" + +DEPEND=" + >=media-libs/libpng-1.2.46:0 + >=x11-libs/gtk+-3.0:3 + x11-libs/cairo + x11-libs/libXtst +" + +RDEPEND=" + ${DEPEND} + >=net-print/cups-2.0.0 + x11-libs/libnotify + x11-libs/libXScrnSaver + dev-libs/nss + libsecret? ( app-crypt/libsecret[crypt] ) +" + +QA_PRESTRIPPED="opt/${PN}/code" + +S="${WORKDIR}" + +src_install(){ + pax-mark m code + insinto "/opt/${PN}" + doins -r * + dosym "../../opt/${PN}/bin/vscodium" "/usr/bin/${PN}" + make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE" + doicon "${FILESDIR}/${PN}.png" + fperms +x "/opt/${PN}/vscodium" + fperms +x "/opt/${PN}/bin/vscodium" + fperms +x "/opt/${PN}/libnode.so" + fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + insinto "/usr/share/licenses/${PN}" +} + +pkg_postinst(){ + elog "You may install some additional utils, so check them in:" + elog "https://code.visualstudio.com/Docs/setup#_additional-tools" +}