Update Zotero add Obsidian
This commit is contained in:
4
app-editors/obsidian/Manifest
Normal file
4
app-editors/obsidian/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
DIST Obsidian-0.11.13.tar.gz 82495769 BLAKE2B a776c37a46efa0d52a486bd4f622bf940120669f04a5b6ca51c298264ebdb23b47cb8e927e7502cdbac50053816ba563abba3bae8200070654b14bfb665f7612 SHA512 2c32e6770897d25f6ef9631e53359c8ae04372c534243900f9b3f7809de6979124d875f27f56815050d923a14a1af6c8b8bd56c2f9fa21559b2989ac92d001c6
|
||||
DIST Obsidian-0.9.2.tar.gz 77186356 BLAKE2B d8195352263bb618ecc07531e1c4e84d72c448e50e2ce007b50977a9aa9975bcae91e7047c4c9fefa565e256a8d2595ff1b7f92a6e4546ed1281f48fdff2d063 SHA512 207f56af71a112987502e2c60c9b14bbd7fa43ba7b0a4943d20c34f167115e01099795bd99d9b1f9ac953a0b2ced7bd3e0329b70dadfc69c917a97f1f17f5c70
|
||||
EBUILD obsidian-0.11.13.ebuild 1338 BLAKE2B 9ed973da8f4688aa3053157978635269ce264eda694504e04d716aa6900d7e419eeb1fce2b8a1b184706e40de1fc5dcc5eb5e9b7a4d9c04fc7d24faeb3766a8d SHA512 56855d9717a2c6bdd55f46cad0472806cea5a377c573d5f119139e35162a3ef186c620c4caa90f5a65bd44014ae8b593ddc4e03ddafdb037f33954b3b96ea8b5
|
||||
EBUILD obsidian-0.9.2.ebuild 1338 BLAKE2B 9ed973da8f4688aa3053157978635269ce264eda694504e04d716aa6900d7e419eeb1fce2b8a1b184706e40de1fc5dcc5eb5e9b7a4d9c04fc7d24faeb3766a8d SHA512 56855d9717a2c6bdd55f46cad0472806cea5a377c573d5f119139e35162a3ef186c620c4caa90f5a65bd44014ae8b593ddc4e03ddafdb037f33954b3b96ea8b5
|
58
app-editors/obsidian/obsidian-0.11.13.ebuild
Normal file
58
app-editors/obsidian/obsidian-0.11.13.ebuild
Normal file
@ -0,0 +1,58 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Obsidian"
|
||||
HOMEPAGE="https://obsidian.md/"
|
||||
SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/Obsidian-${PV}.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/opt/obsidian/chrome-sandbox
|
||||
/opt/obsidian/libEGL.so
|
||||
/opt/obsidian/libGLESv2.so
|
||||
/opt/obsidian/libffmpeg.so
|
||||
/opt/obsidian/libvk_swiftshader.so
|
||||
/opt/obsidian/libvulkan.so
|
||||
/opt/obsidian/resources/app.asar.unpacked/node_modules/btime/binding.node
|
||||
/opt/obsidian/obsidian
|
||||
/opt/obsidian/swiftshader/libGLESv2.so
|
||||
/opt/obsidian/swiftshader/libEGL.so"
|
||||
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/obsidian
|
||||
doins -r obsidian-${PV}/*
|
||||
insinto /usr/share
|
||||
#doins -r usr/share/applications
|
||||
#doins -r usr/share/icons
|
||||
fperms +x /opt/obsidian/chrome-sandbox /opt/obsidian/obsidian
|
||||
fperms u+s /opt/obsidian/chrome-sandbox
|
||||
pax-mark m opt/obsidian/obsidian opt/obsidian/chrome-sandbox
|
||||
|
||||
dosym ../../opt/obsidian/obsidian /usr/bin/obsidian
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
58
app-editors/obsidian/obsidian-0.9.2.ebuild
Normal file
58
app-editors/obsidian/obsidian-0.9.2.ebuild
Normal file
@ -0,0 +1,58 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Obsidian"
|
||||
HOMEPAGE="https://obsidian.md/"
|
||||
SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/Obsidian-${PV}.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/opt/obsidian/chrome-sandbox
|
||||
/opt/obsidian/libEGL.so
|
||||
/opt/obsidian/libGLESv2.so
|
||||
/opt/obsidian/libffmpeg.so
|
||||
/opt/obsidian/libvk_swiftshader.so
|
||||
/opt/obsidian/libvulkan.so
|
||||
/opt/obsidian/resources/app.asar.unpacked/node_modules/btime/binding.node
|
||||
/opt/obsidian/obsidian
|
||||
/opt/obsidian/swiftshader/libGLESv2.so
|
||||
/opt/obsidian/swiftshader/libEGL.so"
|
||||
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/obsidian
|
||||
doins -r obsidian-${PV}/*
|
||||
insinto /usr/share
|
||||
#doins -r usr/share/applications
|
||||
#doins -r usr/share/icons
|
||||
fperms +x /opt/obsidian/chrome-sandbox /opt/obsidian/obsidian
|
||||
fperms u+s /opt/obsidian/chrome-sandbox
|
||||
pax-mark m opt/obsidian/obsidian opt/obsidian/chrome-sandbox
|
||||
|
||||
dosym ../../opt/obsidian/obsidian /usr/bin/obsidian
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
Reference in New Issue
Block a user