Merge remote-tracking branch 'upstream/master' into master

This commit is contained in:
Andreas Westman Dorcsak 2020-09-22 20:35:33 +02:00
commit 8603d86b31
35 changed files with 648 additions and 493 deletions

View File

@ -0,0 +1,14 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
KEYWORDS="~amd64 ~arm64"
DESCRIPTION="Jelyfin program group"
ACCT_GROUP_ID=-1
SLOT="0"

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -0,0 +1,16 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-user
KEYWORDS="~amd64 ~arm64"
DESCRIPTION="Jellyfin user"
ACCT_USER_ID=-1
ACCT_USER_GROUPS=( jellyfin )
acct-user_add_deps
SLOT="0"

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -1,8 +1,3 @@
DIST vscodium-bin-1.42.0.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f
DIST vscodium-bin-1.42.1.tar.gz 83257052 BLAKE2B 5c6d7b029d120ad6a8701f6fa82c5cc12bc16c9a2243623c01fedf7b9d7e93946017cd4c3cde8a54a0fbeec0347af7128de56040e8292fcfa9d4025e77445ced SHA512 4751f4e1589c81878b2e5248cb413967403d1ac42316235d85b668dbc440bee3ff13d2ba5072d255e9e3f4db8477afb66a181a90fe410cf8513ea7f112bf0718
DIST vscodium-bin-1.43.0.tar.gz 90470255 BLAKE2B 3980f08814625d887f0194d162e6bae80d98456f59dccf3df2f4b672f73173a67ee91405e494cd06b552f81a9f71a7c17586630a07ca2e0b3079375871f09772 SHA512 1cfa3b7c21bd1875423241fe92e11236a9b30b2a26e8191808bfe2949ee7cc24aa8ce8c7bc75e10958f3c1fa5947be2a848a1f1aa4875921451aef073aac5b8f
DIST vscodium-bin-1.43.2.tar.gz 90575258 BLAKE2B 1432faa9aa3a66f83c3bdf2bcffae3cf733cecddb38c83f0b822c0677b193128ec4a957a39ddcc39faf2c10eb2437f22c2d6eac53a417d5ed71d1847cfb79698 SHA512 856c30d6daa1ffaa484d56063160d96ad739de649e1a5c7c9d594b89fa8bbe4794d986086da40c275f4cb756b24576101e8621b1a120655d117576611e1cc626
DIST vscodium-bin-1.44.0.tar.gz 90738217 BLAKE2B 213703df0984bbc35914248920cb39d5cbd900239986ffc956918820405279b05f529cb8562a6e8f8532391ba6d4a027f0f3014c9d84d8cb701b90b055bdd74b SHA512 c5a5be360c34f4e6a3d43317989570b7181a421ec9dc3d10416d589d461303dee0a870dd76fc5487f670bb5f62915c84362e8054d61c2f8f82479a0296ebc046
DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47 DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47
DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9 DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9
DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1 DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1

View File

@ -1,59 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
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/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
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"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -1,59 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
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/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
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"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -1,59 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
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/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
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"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -3,13 +3,13 @@
EAPI=7 EAPI=7
inherit desktop pax-utils inherit desktop pax-utils xdg
DESCRIPTION="Open Source Software Binaries of VSCode" DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium" HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
RESTRICT="mirror strip bindist"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
@ -21,14 +21,15 @@ DEPEND="
x11-libs/cairo x11-libs/cairo
x11-libs/libXtst x11-libs/libXtst
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
>=net-print/cups-2.0.0 >=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] ) x11-libs/libXScrnSaver
x11-libs/libnotify
libsecret? (
app-crypt/libsecret[crypt]
)
" "
QA_PRESTRIPPED=" QA_PRESTRIPPED="
@ -42,6 +43,7 @@ src_install() {
insinto "/opt/${PN}" insinto "/opt/${PN}"
doins -r * doins -r *
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin" dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE" make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium" fperms +x "/opt/${PN}/codium"
@ -51,9 +53,11 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
elog "You may install some additional utils, so check them in:" xdg_desktop_database_update
elog "https://code.visualstudio.com/Docs/setup#_additional-tools" xdg_icon_cache_update
elog "" }
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts" pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
} }

View File

@ -1,59 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
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/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
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"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -3,13 +3,13 @@
EAPI=7 EAPI=7
inherit desktop pax-utils inherit desktop pax-utils xdg
DESCRIPTION="Open Source Software Binaries of VSCode" DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium" HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
RESTRICT="mirror strip bindist"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
@ -21,14 +21,15 @@ DEPEND="
x11-libs/cairo x11-libs/cairo
x11-libs/libXtst x11-libs/libXtst
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
>=net-print/cups-2.0.0 >=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] ) x11-libs/libXScrnSaver
x11-libs/libnotify
libsecret? (
app-crypt/libsecret[crypt]
)
" "
QA_PRESTRIPPED=" QA_PRESTRIPPED="
@ -42,6 +43,7 @@ src_install() {
insinto "/opt/${PN}" insinto "/opt/${PN}"
doins -r * doins -r *
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin" dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE" make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium" fperms +x "/opt/${PN}/codium"
@ -51,9 +53,11 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
elog "You may install some additional utils, so check them in:" xdg_desktop_database_update
elog "https://code.visualstudio.com/Docs/setup#_additional-tools" xdg_icon_cache_update
elog "" }
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts" pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
} }

View File

@ -1,59 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
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/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
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"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}

View File

@ -1,2 +1 @@
DIST godot-3.2.1.tar.gz 22087727 BLAKE2B 9a62a574753c2f6f4f345a467ee29ade128cbe1c45549546fb9a877b4e75ca59584b717cdf37367aa790cbe1d0a0146367ac0db829b94ea2067b6488b744e7c6 SHA512 7053550e752a7a8654cc7660217e58e87be5878e26d623236065a8e2ded1f89118257aa7e46856b239c1de7a5af7b0e452df0de887e9ecb3d44b0acb5e5bf158 DIST godot-3.2.3.tar.gz 22459811 BLAKE2B fdebfc4fc4a259d52496feb2904ff1e311a8df3fd57568091b181380e28b789efd16d598df7a2331f22f182acebacb7af1f5aa88583f8b7e992be52f2f494198 SHA512 229a32f082e412f20533b781ee95a1e7a9039a6329fe3429f9a3388ba3aada311bcc49c2abecdeec7496ef039a81358009126b21daaeeb127c170b77c3def99f
DIST godot-3.2.2.tar.gz 22299965 BLAKE2B 943073fa2c75feb90e045ab7c448c1596f50078dfe68de07e1a7a4c721305d0d8f7ae71ab4716e6190ac1e586669e2d0d49c7b100465940e7505a7d404463d2d SHA512 1f3fa639daa05e5a92a407d20ba6430b60b55dede57b3e1984ada93e74d94a40bc05f374edd8ba7a929808fae46ee25b87c1e59701d1e5a5a24292a891b6b861

View File

@ -1,151 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit eutils python-any-r1 scons-utils flag-o-matic llvm desktop xdg
DESCRIPTION="Multi-platform 2D and 3D game engine"
HOMEPAGE="http://godotengine.org"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/godotengine/${PN}.git"
EGIT_BRANCH="master"
KEYWORDS=""
else
SRC_URI="https://github.com/godotengine/${PN}/archive/${PV}-stable.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}-stable"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
IUSE="
+udev
debug
llvm
lto
pulseaudio
"
DEPEND="
>=app-arch/bzip2-1.0.6-r6
>=app-arch/lz4-0_p120
>=app-arch/xz-utils-5.0.8
>=app-arch/zstd-1.4.4
>=dev-libs/json-c-0.11-r1
>=media-libs/alsa-lib-1.0.28
>=media-libs/flac-1.3.1-r1
>=media-libs/freetype-2.5.3-r1:2
>=media-libs/libogg-1.3.1
>=media-libs/libpng-1.6.16:0=
>=media-libs/libsndfile-1.0.25-r1
>=media-libs/libvorbis-1.3.4
>=media-libs/mesa-10.2.8[gles2]
>=net-libs/libasyncns-0.8-r3
>=sys-apps/attr-2.4.47-r1
>=sys-apps/tcp-wrappers-7.6.22-r1
>=sys-apps/util-linux-2.25.2-r2
>=sys-libs/gdbm-1.11
>=sys-libs/glibc-2.20-r2
>=sys-libs/libcap-2.22-r2
>=sys-libs/zlib-1.2.8-r1
>=x11-libs/libX11-1.6.2
>=x11-libs/libXcursor-1.1.14
>=x11-libs/libXinerama-1.1.3
dev-libs/libpcre2[pcre32]
media-libs/libtheora
media-libs/libvpx
media-libs/libwebp
media-libs/opus
media-libs/opusfile
net-libs/enet:=
net-libs/mbedtls
net-libs/miniupnpc
virtual/glu
llvm? (
>=sys-devel/llvm-3.6.0:=
)
!llvm? (
>=sys-devel/gcc-4.6.4:*[cxx]
)
pulseaudio? (
>=media-sound/pulseaudio-5.0-r7
)
udev? (
virtual/udev
)
"
RDEPEND="
${DEPEND}
"
pkg_setup() {
llvm_pkg_setup
python-any-r1_pkg_setup
}
src_configure() {
if use llvm && ! tc-is-clang; then
einfo "Enforcing the use of clang due to USE=llvm ..."
CC=${CHOST}-clang
CXX=${CHOST}-clang++
fi
strip-unsupported-flags
myesconsargs=(
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
builtin_enet=no
builtin_freetype=no
builtin_libogg=no
builtin_libpng=no
builtin_libtheora=no
builtin_libvorbis=no
builtin_libvpx=no
builtin_libwebp=no
builtin_mbedtls=no
builtin_miniupnpc=no
builtin_opus=no
builtin_pcre2=no
builtin_zlib=no
builtin_zstd=no
module_enet_enabled=yes
module_freetype_enabled=yes
module_mbedtls_enabled=yes
module_opus_enabled=yes
module_theora_enabled=yes
module_vorbis_enabled=yes
module_webp_enabled=yes
platform=x11
progress=yes
pulseaudio=$(usex pulseaudio)
target=$(usex debug debug release_debug)
tools=yes
udev=$(usex udev)
use_lld=$(usex llvm)
use_llvm=$(usex llvm)
use_lto=$(usex lto)
verbose=yes
)
}
src_compile() {
escons "${myesconsargs[@]}"
}
src_install() {
newicon icon.svg ${PN}.svg
dobin bin/godot.*
if use llvm; then
make_desktop_entry godot.x11.opt.tools.64.llvm Godot
else
make_desktop_entry godot.x11.opt.tools.64 Godot
fi
}

View File

@ -140,12 +140,18 @@ src_compile() {
} }
src_install() { src_install() {
newicon icon.svg ${PN}.svg einstalldocs
dobin bin/godot.*
if use llvm; then newicon icon.svg "${PN}.svg"
make_desktop_entry godot.x11.opt.tools.64.llvm Godot
if use llvm
then
dobin "bin/${PN}.x11.opt.tools.64.llvm"
dosym "${EPREFIX}/usr/bin/${PN}.x11.opt.tools.64.llvm" "${EPREFIX}/usr/bin/${PN}"
else else
make_desktop_entry godot.x11.opt.tools.64 Godot dobin "bin/${PN}.x11.opt.tools.64"
dosym "${EPREFIX}/usr/bin/${PN}.x11.opt.tools.64" "${EPREFIX}/usr/bin/${PN}"
fi fi
make_desktop_entry godot Godot
} }

View File

@ -1 +1,2 @@
DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61 DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61
DIST electron-outlook_1.0.1_amd64.deb 50733580 BLAKE2B 3c4be6090454d111f1b0875f0da4f322b229e23ececa4ab6f912634684b107a28132da46010c7c2aedd4fe1ec702e657e1fb762affe6d373deb28575117f53c8 SHA512 a8639165f334b8cde3489102d72bf3b68c71ac8c692d5f1b4657a7cfc6cc899d26d7d669e26e164cd554472c33db4a9ada72bdfad155d40b11858d92f5d04cd7

View File

@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN=electron-outlook
MY_P="${MY_PN}_${PV}"
inherit unpacker xdg-utils
DESCRIPTION="Freelook, an Electron-based client for Microsoft Outlook"
HOMEPAGE="https://github.com/eNkru/freelook"
SRC_URI="https://github.com/eNkru/${PN//-bin}/releases/download/v${PV}/${MY_P}_amd64.deb"
RESTRICT="bindist mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="
>=net-print/cups-2.0.0
dev-libs/libappindicator
dev-libs/nss
gnome-base/gconf:2
x11-libs/libXtst
x11-libs/libnotify
"
QA_PREBUILT="
/opt/Freelook/*
"
S="${WORKDIR}"
pkg_setup() {
use amd64 || die "Arch not supported"
}
src_unpack() {
unpack_deb ${A}
}
src_install() {
mv * "${D}" || die
rm -rd "${D}/usr/share/doc"
dosym "../../opt/Freelook/${MY_PN}" "${EROOT}/usr/bin/${MY_PN}"
}
pkg_postinst() {
xdg_icon_cache_update
elog "Keep in mind that Freelook binary is named electron-outlook..."
}
pkg_postrm() {
xdg_icon_cache_update
}

View File

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person">
<email> parona@protonmail.com </email>
<name> Alfred Wingate </name>
</maintainer>
<use> <use>
<flag name="doxygen"> Build and install source code documentation </flag> <flag name="doxygen"> Build and install source code documentation </flag>
</use> </use>

View File

@ -3,7 +3,7 @@
EAPI=7 EAPI=7
inherit xdg-utils cmake inherit xdg cmake
DESCRIPTION="Professional open-source non-linear video editor" DESCRIPTION="Professional open-source non-linear video editor"
HOMEPAGE="https://github.com/olive-editor/olive" HOMEPAGE="https://github.com/olive-editor/olive"
@ -64,15 +64,3 @@ src_install() {
fi fi
cmake_src_install cmake_src_install
} }
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
}

1
net-misc/jftui/Manifest Normal file
View File

@ -0,0 +1 @@
DIST jftui-0.4.0.tar.gz 63150 BLAKE2B 7c2e08b1a21d5088471a03cc5a25c895b1580233fef0417186d771b379a2bd7b2fa3b9afdff18d8586543a7741f38ebf6b572750b12170c4f8adaf684fca0a72 SHA512 586e3277014ec421ec993dcc458d98925cad43357cf15bfb6148b3113ade667e5636a2509bf058b8837f22eaa80616edf84a2dd79646c02c9bb0365ecd2d344b

View File

@ -0,0 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
DESCRIPTION="minimalistic, lightweight command line client for Jellyfin"
HOMEPAGE="https://github.com/Aanok/jftui"
SRC_URI="https://github.com/Aanok/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
net-misc/curl
media-video/mpv
dev-libs/yajl
"

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">Aanok/jftui</remote-id>
</upstream>
<longdescription>
jftui is a minimalistic, lightweight C99 command line client for the open source Jellyfin media server.
It is developed for the GNU/Linux OS only, although it may be possible to make it run on BSD's.
Run jftui. You will be prompted for a minimal interactive configuration on first run.
BEWARE: jftui fetches https://github.com/Aanok/jftui/releases/latest on startup to check for newer versions. You can avoid this by passing the --no-check-updates argument. There is also a settings file entry.
The interface should be intuitive enough: select one or more entries by entering the corresponding index number. See below for a full description of the command syntax.
jftui will drop into a command line instance of mpv when starting playback. It will use mpv.conf and input.conf files found in $XDG_CONFIG_HOME/jftui (this location can be overridden with the --config-dir argument). It will also try and load scripts found in the same folder, but no guarantees are made about them actually working correctly.
It is recommended to consult the wiki page on configuring mpv commands to use jftui: a few special ones are required in particular to manipulate the playback playlist.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1 @@
DIST systemd-swap-4.4.0.tar.gz 29066 BLAKE2B 7278b0f5fac52039c91e901f29d72275e5ce4579001926f3d105c3f4bad026d2bcd21106d4006e9e971f92ecd66b81716b8e92f291230776de78e8fcd2580252 SHA512 39cf297d0d82f4d5fbae64f323bda2c286dd24665321892f068dc5bceea4ea5ddcacdcef14576cab869edbed7d258de759baec36535403051bb2b925406db0b3

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>themainone@mailu.io</email>
<name>TheMainOne</name>
</maintainer>
<upstream>
<remote-id type="github">Nefelim4ag/systemd-swap</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,25 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-info systemd
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
LICENSE="GPL-3"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
CONFIG_CHECK="~ZRAM ~ZSWAP"
src_install() {
emake PREFIX="${ED}/" install
}

View File

@ -0,0 +1,25 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-info systemd
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
LICENSE="GPL-3"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
CONFIG_CHECK="~ZRAM ~ZSWAP"
src_install() {
emake PREFIX="${ED}/" install
}

View File

@ -1 +1,2 @@
DIST balena-etcher-electron_1.5.109_amd64.deb 80928146 BLAKE2B 9047aff7efa307a11eee65e67cab5fb877e549863e7e3818bd37aa62b1c584d97f17c28b31d6ae8fca56856f15be3cacf7048cfcacba6872d6c2ccb011f1283a SHA512 6fde8f334ac8e0d89574c583a9a07b7198c66f5bb88d5a904da578d2cd16c232603d80e315eb0caa8e87a91a5c6ccc208e8f3827a9fdb7efcff326206242a874
DIST balena-etcher-electron_1.5.77_amd64.deb 87501208 BLAKE2B 6103e85e284c9320f421c69025063e0f359f557f567ad27c0b4edb3469752221452236a8a8bce4d1edfdc8592a3f187d92b2e7f5fbc0d3b7ae941002f63c8482 SHA512 24d95c02cadd9618e5244bfd5f9f953ff939c504f29d1cffc04db804ecedb1cfc14a23e49de00d5a073ad02e5791f7b188a947d56dfcc4294f13553eb7644872 DIST balena-etcher-electron_1.5.77_amd64.deb 87501208 BLAKE2B 6103e85e284c9320f421c69025063e0f359f557f567ad27c0b4edb3469752221452236a8a8bce4d1edfdc8592a3f187d92b2e7f5fbc0d3b7ae941002f63c8482 SHA512 24d95c02cadd9618e5244bfd5f9f953ff939c504f29d1cffc04db804ecedb1cfc14a23e49de00d5a073ad02e5791f7b188a947d56dfcc4294f13553eb7644872

View File

@ -0,0 +1,70 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN//-bin}"
inherit unpacker xdg-utils
DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
HOMEPAGE="https://etcher.io"
SRC_URI="https://github.com/balena-io/${MY_PN}/releases/download/v${PV}/balena-etcher-electron_${PV}_amd64.deb"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
app-arch/lzma
dev-libs/atk
dev-libs/expat
dev-libs/libappindicator
dev-libs/nss
gnome-base/gconf:2
media-libs/fontconfig
media-libs/freetype
net-print/cups
sys-apps/dbus
sys-auth/polkit
x11-apps/xrandr
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libnotify
"
QA_PREBUILT="
opt/balenaEtcher/*
"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}
src_install() {
mv * "${D}" || die
rm -rd "${D}/usr/share/doc/balena-etcher-electron"
sed -i "s/Utility/System/g" "${D}/usr/share/applications/balena-etcher-electron.desktop"
fperms 0755 /opt/balenaEtcher/balena-etcher-electron || die
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View File

@ -1 +1,2 @@
DIST brave-bin-1.12.73.zip 105195132 BLAKE2B 0bf0c1191e43ca8458932fe7120b7b34453d43106c81610c46cab75b8158dcd136d8e6eddd624cb95b1124d557824946425ce49118b638dd38bd990d8c01deaa SHA512 bbc0f13113834e1cdd11aebe7ef7304e73bee1226f948180feda737f0730d6a99ea20e1ba05f3ecf2fd6ad0b8b9b858a0f644855e5f3ef354a5d0ee994180cee DIST brave-bin-1.12.73.zip 105195132 BLAKE2B 0bf0c1191e43ca8458932fe7120b7b34453d43106c81610c46cab75b8158dcd136d8e6eddd624cb95b1124d557824946425ce49118b638dd38bd990d8c01deaa SHA512 bbc0f13113834e1cdd11aebe7ef7304e73bee1226f948180feda737f0730d6a99ea20e1ba05f3ecf2fd6ad0b8b9b858a0f644855e5f3ef354a5d0ee994180cee
DIST brave-bin-1.12.76.zip 105336169 BLAKE2B 71bd0cab3074a3e1a32e8fe1df3774323ac9d7265f1e87b80291e0131ea7f32952efc815669f54a6c011dec0198a975450015617fde446025d76c2c6967e1808 SHA512 e5484b39b8263de51b86f8597833d35a8647c0cd9649867566ac38285e4ecf25cb5d0bbb70559e314724940aea6bea3b987fa7611d2056d117b1c5a102763725

View File

@ -0,0 +1,123 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
BRAVE_PN="${PN/-bin/}"
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es es-419 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 eutils xdg
DESCRIPTION="Brave Web Browser"
HOMEPAGE="https://brave.com"
SRC_URI="https://github.com/brave/brave-browser/releases/download/v${PV}/brave-v${PV}-linux-x64.zip -> ${P}.zip"
RESTRICT="mirror"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gnome-keyring"
BDEPEND="
app-arch/unzip
"
DEPEND="
!www-client/brave
"
RDEPEND="
${DEPEND}
>=media-libs/libpng-1.6.34
>=net-print/cups-2.0.0
app-accessibility/at-spi2-atk
app-accessibility/at-spi2-core
app-arch/bzip2
dev-libs/atk
dev-libs/expat
dev-libs/fribidi
dev-libs/glib
dev-libs/gmp
dev-libs/gobject-introspection
dev-libs/libbsd
dev-libs/libffi
dev-libs/libpcre
dev-libs/libpthread-stubs
dev-libs/libtasn1
dev-libs/libunistring
dev-libs/nettle
dev-libs/nspr
dev-libs/nss
media-gfx/graphite2
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libepoxy
net-dns/libidn2
net-libs/gnutls
sys-libs/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+
x11-libs/libXScrnSaver
x11-libs/libXau
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXxf86vm
x11-libs/libxcb
x11-libs/libxshmfence
x11-libs/pango
x11-libs/pixman
"
QA_PREBUILT="*"
S="${WORKDIR}"
src_prepare() {
pushd "${S}/locales" >/dev/null || die
chromium_remove_language_paks
popd >/dev/null || die
default
}
src_install() {
declare BRAVE_HOME="/opt/${BRAVE_PN}"
dodir "${BRAVE_HOME%/*}"
insinto "${BRAVE_HOME}"
doins -r *
exeinto "${BRAVE_HOME}"
doexe brave
dosym "${BRAVE_HOME}/brave" "/usr/bin/${BRAVE_PN}" || die
dosym "${BRAVE_HOME}/brave" "/usr/bin/${PN}" || die
make_desktop_entry "brave" "Brave" "brave" "Network;WebBrowser;"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,2 @@
DIST jellyfin-bin-10.6.4-server-amd64.deb 36142684 BLAKE2B 566dbe54a639a3f7066115e8e99dfbe4adcc91b7467ce5d2dd70536a90bf9244f217e1ce36ed786ea1625af22a3faccb6805030288acfa4979875fccb536cd79 SHA512 0600b2f3434db5397f95ed560e9d28a3a69515c7039ccda1066c86ea5a3f6e8dbbc3ecc67584d58193535d009c6c8f66da06515b78cd50ae0c0061dd265f188d
DIST jellyfin-bin-10.6.4-web.deb 30548488 BLAKE2B 59061f90afcf1215a6ff65868dc5faac83b28914010e324f30cd13b74433857f2ae99736ea59970273eda5acf29ebf2dacee8135c45f61786ae97e36de176703 SHA512 834368480c942f32171967b0895972f75aa3d77c2a2fb131f67b81fd8dee438b8a00c48dd0901aa3e12d0fa369176e06f9a8662046086f43b94ff6c7ef41a591

View File

@ -0,0 +1,77 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public Licence v2
name=jellyfin
cfgfile="/etc/conf.d/${name}"
command="/usr/lib/${name}/bin/${name}"
command_user="${JELLYFIN_USER}"
command_background="yes"
pidfile="/run/${name}.pid"
depend() {
need net
}
start_pre() {
echo "Running with:"
echo " JELLYFIN_ARGS=${JELLYFIN_ARGS}"
echo " JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR}"
echo " JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR}"
echo " JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR}"
echo " JELLYFIN_FFMPEG_OPT=${JELLYFIN_FFMPEG_OPT}"
echo " JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR}"
echo " JELLYFIN_NOWEBAPP_OPT=${JELLYFIN_NOWEBAPP_OPT}"
echo " JELLYFIN_RESTART_OPT=${JELLYFIN_RESTART_OPT}"
echo " JELLYFIN_SERVICE_OPT=${JELLYFIN_SERVICE_OPT}"
echo " JELLYFIN_USER=${JELLYFIN_USER}"
echo " JELLYFIN_WEB_OPT=${JELLYFIN_WEB_OPT}"
mkdir -p ${JELLYFIN_CACHE_DIR}
mkdir -p ${JELLYFIN_CONFIG_DIR}
mkdir -p ${JELLYFIN_DATA_DIR}
mkdir -p ${JELLYFIN_LOG_DIR}
chown -R ${command_user}:${command_user} ${JELLYFIN_CACHE_DIR}
chown -R ${command_user}:${command_user} ${JELLYFIN_CONFIG_DIR}
chown -R ${command_user}:${command_user} ${JELLYFIN_DATA_DIR}
chown -R ${command_user}:${command_user} ${JELLYFIN_LOG_DIR}
}
start() {
ebegin "Starting ${name}"
env JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR} \
JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR} \
JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR} \
JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR} \
start-stop-daemon --start --exec ${command} \
--background \
--pidfile ${pidfile} \
--user ${command_user} \
--make-pidfile \
-- ${JELLYFIN_ARGS}
eend $?
}
stop() {
ebegin "Stopping ${name}"
env JELLYFIN_CACHE_DIR=${JELLYFIN_CACHE_DIR} \
JELLYFIN_CONFIG_DIR=${JELLYFIN_CONFIG_DIR} \
JELLYFIN_DATA_DIR=${JELLYFIN_DATA_DIR} \
JELLYFIN_LOG_DIR=${JELLYFIN_LOG_DIR} \
start-stop-daemon --stop --exec ${command} \
--pidfile ${pidfile} \
--user ${command_user} \
-- ${JELLYFIN_ARGS}
eend $?
}

View File

@ -0,0 +1,12 @@
index 7cbfa88..e7ac16b 100644
--- a/etc/default/jellyfin
+++ b/etc/default/jellyfin
@@ -25,7 +25,7 @@ JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web"
JELLYFIN_RESTART_OPT="--restartpath=/usr/lib/jellyfin/restart.sh"
# ffmpeg binary paths, overriding the system values
-JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"
+#JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"
# [OPTIONAL] run Jellyfin as a headless service
#JELLYFIN_SERVICE_OPT="--service"

View File

@ -0,0 +1,102 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN//-bin}"
BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/stable/"
# No 'webapp' here because this is a server
inherit eutils unpacker systemd
DESCRIPTION="The Free Software Media System"
HOMEPAGE="https://jellyfin.org"
SRC_URI="
amd64? (
${BASE_URI}/server/${PV}/${MY_PN}-server_${PV}-1_amd64.deb -> ${P}-server-${ARCH}.deb
)
arm64? (
${BASE_URI}/server/${PV}/${MY_PN}-server_${PV}-1_arm64.deb -> ${P}-server-${ARCH}.deb
)
${BASE_URI}/web/${PV}/${MY_PN}-web_${PV}-1_all.deb -> ${P}-web.deb
"
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE=""
DEPEND="
!www-servers/jellyfin
acct-group/jellyfin
acct-user/jellyfin
"
RDEPEND="
${DEPEND}
>=media-video/ffmpeg-4.2.2
dev-db/sqlite
dev-util/lttng-ust
media-libs/fontconfig
media-libs/freetype
"
QA_PRESTRIPPED="
usr/lib/${MY_PN}/bin/System.Globalization.Native.so
usr/lib/${MY_PN}/bin/System.IO.Compression.Native.so
usr/lib/${MY_PN}/bin/System.Native.so
usr/lib/${MY_PN}/bin/System.Net.Http.Native.so
usr/lib/${MY_PN}/bin/System.Net.Security.Native.so
usr/lib/${MY_PN}/bin/System.Security.Cryptography.Native.OpenSsl.so
usr/lib/${MY_PN}/bin/createdump
usr/lib/${MY_PN}/bin/${MY_PN}
usr/lib/${MY_PN}/bin/libSkiaSharp.so
usr/lib/${MY_PN}/bin/libclrjit.so
usr/lib/${MY_PN}/bin/libcoreclr.so
usr/lib/${MY_PN}/bin/libcoreclrtraceptprovider.so
usr/lib/${MY_PN}/bin/libdbgshim.so
usr/lib/${MY_PN}/bin/libe_sqlite3.so
usr/lib/${MY_PN}/bin/libhostfxr.so
usr/lib/${MY_PN}/bin/libhostpolicy.so
usr/lib/${MY_PN}/bin/libmscordaccore.so
usr/lib/${MY_PN}/bin/libmscordbi.so
"
S="${WORKDIR}"
PATCHES=(
"${FILESDIR}/${MY_PN}-default.patch"
)
src_unpack() {
unpack_deb "${P}-server-${ARCH}.deb"
unpack_deb "${P}-web.deb"
}
src_install() {
# Install the Server part
insinto usr/lib/
doins -r "usr/lib/${MY_PN}"
insinto etc
doins -r "etc/${MY_PN}"
# Install the Web UI part
insinto "usr/share/${MY_PN}/web"
doins -r "usr/share/${MY_PN}/web"/*
# Install wrappers
make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
dosym "${EPREFIX}/usr/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
# Install services
newinitd "${FILESDIR}/${MY_PN}" "${MY_PN}"
doconfd "etc/default/${MY_PN}"
dosym "${EPREFIX}/etc/conf.d/${MY_PN}" "${EPREFIX}/etc/default/${MY_PN}"
systemd_dounit "lib/systemd/system/${MY_PN}.service"
systemd_install_serviced "etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf"
# Fix permissions
chmod +x "${ED}/usr/lib/${MY_PN}"/* || die
chmod +x "${ED}/usr/lib/${MY_PN}/bin"/* || die
chown -R jellyfin:jellyfin "${ED}/usr/lib/${MY_PN}" || die
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">jellyfin/jellyfin</remote-id>
</upstream>
</pkgmetadata>