Browse Source

Cleanup repository a bit.

master
Rafal Kupiec 2 months ago
parent
commit
4d8b41993c
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
42 changed files with 6 additions and 1843 deletions
  1. +1
    -25
      app-editors/visual-studio-code/Manifest
  2. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.24.0.ebuild
  3. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.24.1.ebuild
  4. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.25.1.ebuild
  5. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.26.0.ebuild
  6. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.26.1.ebuild
  7. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.27.1.ebuild
  8. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.29.0.ebuild
  9. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.30.2.ebuild
  10. +0
    -63
      app-editors/visual-studio-code/visual-studio-code-1.32.3.ebuild
  11. +0
    -62
      app-editors/visual-studio-code/visual-studio-code-1.33.1.ebuild
  12. +0
    -62
      app-editors/visual-studio-code/visual-studio-code-1.34.0.ebuild
  13. +0
    -58
      app-editors/visual-studio-code/visual-studio-code-1.38.0.ebuild
  14. +0
    -58
      app-editors/visual-studio-code/visual-studio-code-1.39.2.ebuild
  15. +0
    -0
      app-editors/visual-studio-code/visual-studio-code-1.48.0.ebuild
  16. +1
    -3
      media-plugins/kodi-pvr-hts/Manifest
  17. +0
    -32
      media-plugins/kodi-pvr-hts/kodi-pvr-hts-17_p20170223.ebuild
  18. +0
    -32
      media-plugins/kodi-pvr-hts/kodi-pvr-hts-19_p20190516.ebuild
  19. +4
    -3
      media-plugins/kodi-pvr-hts/kodi-pvr-hts-19_p20200709.ebuild
  20. +0
    -14
      media-tv/tvheadend/files/tvheadend.confd
  21. +0
    -19
      media-tv/tvheadend/files/tvheadend.initd
  22. +0
    -14
      media-tv/tvheadend/files/tvheadend.service
  23. +0
    -102
      media-tv/tvheadend/tvheadend-9999.ebuild
  24. +0
    -3
      x11-drivers/nvidia-drivers/Manifest
  25. +0
    -1
      x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist
  26. +0
    -2
      x11-drivers/nvidia-drivers/files/95-nvidia-settings
  27. +0
    -2
      x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1
  28. +0
    -14
      x11-drivers/nvidia-drivers/files/nvidia-169.07
  29. +0
    -13
      x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch
  30. +0
    -8
      x11-drivers/nvidia-drivers/files/nvidia-persistenced.conf
  31. +0
    -24
      x11-drivers/nvidia-drivers/files/nvidia-persistenced.init
  32. +0
    -3
      x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf
  33. +0
    -22
      x11-drivers/nvidia-drivers/files/nvidia-settings-fno-common.patch
  34. +0
    -22
      x11-drivers/nvidia-drivers/files/nvidia-settings-linker.patch
  35. +0
    -7
      x11-drivers/nvidia-drivers/files/nvidia-settings.desktop
  36. +0
    -24
      x11-drivers/nvidia-drivers/files/nvidia-smi.init
  37. +0
    -17
      x11-drivers/nvidia-drivers/files/nvidia-udev.sh
  38. +0
    -20
      x11-drivers/nvidia-drivers/files/nvidia-udev.sh-r1
  39. +0
    -1
      x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule
  40. +0
    -6
      x11-drivers/nvidia-drivers/files/nvidia.udev-rule
  41. +0
    -26
      x11-drivers/nvidia-drivers/metadata.xml
  42. +0
    -577
      x11-drivers/nvidia-drivers/nvidia-drivers-440.44-r1.ebuild

+ 1
- 25
app-editors/visual-studio-code/Manifest View File

@ -1,27 +1,3 @@
DIST visual-studio-code-1.24.0-amd64.tar.gz 70371127 BLAKE2B 903436b176c3fa771fa5a0802d989187ff0c434539c9c3dc2c3bdb87ee670fba6fd6e0e70e8a7fc0b313768341af444299d028194e8a033929bffadc20a47c51 SHA512 623c92cc8b0c0b0b68bf9aed9fb906c681704354600b36b2b66ab78f22a95001970dbcbde054e04d15835d9b4f5d1b4e158717bf5042eeed36175be19058c1ed
DIST visual-studio-code-1.24.0-x86.tar.gz 71307420 BLAKE2B b8c0b9740b45f4e9d64173f4b84e273407de002fff17caef6e18dc594f4f80d8b232ea81b0f5ac150fe1ab145af0797217a3534ecc23c13da81e60092f7e0925 SHA512 2a863b8f890900db846f978caea6ffcbdc6e1cc4b1b8ae74f576256876ac8af253b9a50012ece4e1ac3156a9aba1de81c563fe0710314584091b42e375cead9d
DIST visual-studio-code-1.24.1-amd64.tar.gz 70368270 BLAKE2B 0ca681cb94ee2ee6ad838fb8b924586c1a1f04567d91c7897edb32351b255571d7e9a77a6f3bdd9c73d7edc11654f50453e621f2d7dea130576eb964fc443415 SHA512 6ec30d134e5dd982e55d7f4bea97da00101bcded7ed64519b428a9ce27b60c0cdc786e9989964436eef50536fe371d4e5079fa7a1e22280e6d472bcc4815d01b
DIST visual-studio-code-1.24.1-x86.tar.gz 71307539 BLAKE2B 3919d4e68aacafc3e53d9f8916ab440bf1be125d44e139326d15f9596b0d2f2d1fd5474822dd524dd4c465400c5e884054de6997e876843f6f43bd438b885b00 SHA512 4c004a98a48e2d9bc64a6dd0d246f6c42cf7ebeb26bd83cd980670ae03a67a16f25b427e5f341e4359544d9973f39e85760aa71672ed1286021bcfeb72c0919e
DIST visual-studio-code-1.25.1-amd64.tar.gz 71669633 BLAKE2B db90a5c47fe367f54fed90f1ff124a03d8aede5ff4f0b7bac1dea4f86f706059d85e68a2cc23925f7227b197db63851262e11067234fd66500c4f273e7f662b3 SHA512 c50ce7c36bbaab1b9ed672afb29732105db7827780f444b96bd33d7907cd9cfafee7149f7a2adddb8efd9e24a0d050762ac8462f794671b2c945463910de1d36
DIST visual-studio-code-1.25.1-x86.tar.gz 72608871 BLAKE2B c7737b16024a1227518857febc69ed95f58205858db736ae00bf8b5a698bd7bd43c2a33bce22307763f86f7ea1ca6d2e834cb8bf788c3d2e3293f7f963952ad1 SHA512 08fb07534e42bf90ba724f9cfa1e8c6761779d405ee662c63e65b0e1ced75938198eb195dd87b99cf6d1fb80626d1e526f50b64c1041afd7d330e628bea4156e
DIST visual-studio-code-1.26.0-amd64.tar.gz 69776082 BLAKE2B 59a9c91bbd2fc6f6a1a994d85ee80946dab5805b8094fb43ffb6e240df8203ddd5cd98edfa04dc9ff82172786d8993b74a3cb8977e59b9dc39805ab2039eac53 SHA512 d71105fc4d0b89ee7d654a730a354343711e55202e89c9e9f5b9030877c136c1eef2dceb4eca8546a753d939959b8da63b5a7f4eebc4dc5bf07e0c6359add73a
DIST visual-studio-code-1.26.0-x86.tar.gz 72861878 BLAKE2B 5b62fd4bf9dc50d0021358e7164cc19826a133f2a368d47340929c61015185b07212df33be9ba23d1d0f24eec83f7e5e6be55c5ab245fc72f6e588ea81ebdbb5 SHA512 fb381766479538c005ba285e2322172148f9a374379edf89a616910f87b66c1a0234bd25f0011a38c02c831c6e1591b720b3c5eacece1990d9e50764c3988979
DIST visual-studio-code-1.26.1-amd64.tar.gz 69775652 BLAKE2B 0023187f469e24a5f745f3ce0a6ab4962d7236cc3a898af4000d12b429b2a42539bd94d3eb72f65fd3af24b28cb4fd94d5d5c93dab88592da5b1cfedc35509d5 SHA512 3af3a4253c9d9585620378b07ae3ae48defd0798174a6e395ecece8e1aefe1a225c81a9bc319d760e86fe1be09a9d6e0314fa6ea11fc56e13a46692dd8ed8491
DIST visual-studio-code-1.26.1-x86.tar.gz 72863476 BLAKE2B cf0d7f17062447661c6c21c833240db1b60cd8b31f98c9d0a96dc5451a9063260806c5c0eb7d3f57292437ded622aaa8f708b7bd96f7f781ec4655fc8d28acea SHA512 c37f8be25b2fda8eb4363f7ff5cee59f328127370ede9be36a641e214a5930750db9117825070f8110563b0ac65da7f062e84b1509bfe7fe06d230160c9ed032
DIST visual-studio-code-1.27.1-amd64.tar.gz 66446275 BLAKE2B f0521dad778d8eab633645c04543479e1799e6b95a43e8e7f1491edc386015b1f44717c49e765cc6c0247597389dd735763ea9df10182566430db8ac13d0f430 SHA512 3b5f1c9205fdb3b84a676a426d680e20fcb4eae5bc03c9f7499fb9488e2bae6adb263fbc636a91d8a45014854fadfd29c5636b134faea956c838aa1adeb9b1fa
DIST visual-studio-code-1.27.1-x86.tar.gz 69491072 BLAKE2B 95f36aef51395fd9ce7ee636dfa211c0d1a0e78e0db07c8c64916c724a28b17eb479138f173611d7600f0475a52fc2ed09ba5e3278ea6f14b14f43e7afc4a327 SHA512 a2a14aa6bb905109d408e5b702f1e9e863454b88ae7655b199197674c5f38aa13daa05c8cfc7836ff799fcb2ae4f4ce1c5246c5c806d60c7e3ebf134458fb27a
DIST visual-studio-code-1.29.0-amd64.tar.gz 64557730 BLAKE2B 6314fce6b09e0cf9030eb96272f7efbd2050899b594753e6f3400d5212d6ff58e57dc3bb5bede3085736916a08ca994082d02869d8ac155ac12d167950496a3a SHA512 fc5a1dc49918646dde9058886e2888fffdfc1915f79244c3dee445fe22e98e75597c33bd1dd0c36cf15ddb2e8a1aedeca4313aefbd7a5e9fd123b46cf57e6fe5
DIST visual-studio-code-1.29.0-x86.tar.gz 67517811 BLAKE2B 6732c288ef30065335f33ee3f243d3d10c3b93ad5bec7d4287331e7e89b5271dfe40f6b25adbd5035d9606ed75ceb1633d11ea4d5ae5468603e9297007aa3a55 SHA512 6fbc42c038e275372ab090abcababecb90b8a5e2e86991f1a65072dd56b53b1a589399f7383a12e588c76a2e2aeb4e6e1ee2d903d44b6365f3824db376a79318
DIST visual-studio-code-1.30.2-amd64.tar.gz 64974797 BLAKE2B 289dd69fac033b33bd4579c70481e802b97588d5ceb6db09043577c842f15af02c4bb600cb255d59bb4742810ff23f69f97360f76195953e14d4a12198a24b6e SHA512 3d9d9cdb4129c0a32a15a39337ccfe1f215870cda65f81616d9e5ae17dcadbee3a5afa118c96d26513dd215c5eb49e81bbc1ea4af46e0a02790d712c96fa96d1
DIST visual-studio-code-1.30.2-x86.tar.gz 67934150 BLAKE2B 569614ecc3e7c7b45c534029b6895603ca759a5fcc1e0f8b408e5970613798fd4b55254cabc1003dc17dc7baedae73c4fdd7ce8fa7ec3b1a655b48d002777b43 SHA512 bf399d5c5ea423204d5674332117eca130e944c48e676ca37b0850318935bffc96b1de1404f1185ec904e9813d869a089208443188504d07389f2539f6ffa61b
DIST visual-studio-code-1.32.3-amd64.tar.gz 68078974 BLAKE2B b6178a09e2d6f2e8e776869cc5d1e10bb3fd66185e2f32d970bdb60ab44b72cacb87b258a71c81ea835a108699a491f84699cce9fa028b7067394395510978ec SHA512 d91faef02d03a695323c55ea9ebae5e43af689c54418bad6f98cc9ee6a31cd75aca7e0ff34f0d24d7f4557ecc6e7d90d81146d22d4a2312b8c03206f9af71874
DIST visual-studio-code-1.32.3-x86.tar.gz 69060505 BLAKE2B 28e26a4b5a9cf1cec69b945ada27e0ebb86be4d012f1e2f5f4c5d8f7482089b5e91b30c5b3bbf909a1ba22a6bf3b43a0ae5578e181db897a08c455995cc7b9e9 SHA512 8a967ce21b23ca2758beb08330b08fa76606a32035727f79d8ccf54a3383b217e53171fbf7e68d0b4185cc395c08bed92b77f0584cd3beca791b47a5910da881
DIST visual-studio-code-1.33.1-amd64.tar.gz 68365770 BLAKE2B c542ae61cd440ad73f95adcc5836f6a4d9b23230b54f1fdc72ce50134a24180fc8cd1baf2332d26c5c027a2628fc25465e2d04e71ae004f3dd41c40e6a5db5bc SHA512 bd8035051d52eca92979cb39187aa45fb6bb66715eda2950b472a9566dfacd52d20d7c45782c69c43f0d031a06c714f6270886840d3318881f8a38d4bfbc0b68
DIST visual-studio-code-1.33.1-x86.tar.gz 69343642 BLAKE2B 6ff9a2a25f387356eafdc89da57d906623e8cade671269b35f7f54d35c724ed16333f375c4a5ea495901b400781d8bf36474a2543d393d33f18d205183a9dc94 SHA512 4ba061d2cdab3872f92848e607ad531fbcf80dd9855984812997c283a89beaabcd8485929b73f939ce685547fc5817b5c56a9ffbd00872639c19cddd8685b62d
DIST visual-studio-code-1.34.0-amd64.tar.gz 68422077 BLAKE2B fe8405147634af71294d09828effd4e9d6c3598656f2880274c8d59a21f3fc7b186a5b3464db4f71dfcced246bbbbd0d557aa69701d485d2dd842528c80cf2ae SHA512 35bf97455dc3b9cfd4c6fb1d0fb1a47675670bada4c4f43b688741ae1a37e6c3960bfbae75b27669d76f222dbd9b4e44f257dde5f601274a7e8e4a1bbe06bfba
DIST visual-studio-code-1.34.0-x86.tar.gz 69399018 BLAKE2B 9a8cb73d13a229bd432d12528d8dd2284b0f4cd1a2f217381695e4c7b6fe033eb5ef66ce7b897c67e247f50b344a68f5bd0ef3b2e6761c8afcc85a3b7bfd58d6 SHA512 4ce7cffc9e3a3b74ac0d0d71fe40c654a5ff6e4c4c9b51198b57f2e8e9035abdca6c0fce7ae8bb026eb7304885a46558af846f14bed96c6ddc8ee3ebc0977c0b
DIST visual-studio-code-1.36.0-amd64.tar.gz 77632421 BLAKE2B 14ed5b2a042d8b41375575203dfe97f460da0ea9c84d1fbdb3255aae8fab67d9d8c3416b423de31b5f3d32dff085953956c4522d4ec3dc8438a6d93185875391 SHA512 2a6e066311345ec000dbe51da1ac662fb4e04f73e907fe433d7e55b3b33a470d8363c1260f0b4b75f20a359a281e850e2136b28bae7eb2c2ce82d41f93b708e0
DIST visual-studio-code-1.38.0-amd64.tar.gz 80879094 BLAKE2B efd6ce4e61b424d0581f14d25fb93fd87ac43c492fb956f9fa8708cca188a732b6fb16136b05c609c196f9cd8a6a4a5f159bea1c289a4097e1a56e76d2499aed SHA512 9f13490bca4e8b4bfba75a0c69afdcda3b188f8bd88c33018a77537df01bf4ea8b97035a229300298b440f6b1d68e0543c43ef4e353c2be4b0edd2450c45a4dc
DIST visual-studio-code-1.39.2-amd64.tar.gz 80262440 BLAKE2B a50933f1a110fbbeef3d5d886d34c1b670b26be1a01607cdee879f1e1739eb4a04b437ee6cd5eb71c356f03e3483869c90abb3df4992edf0460e04e3145faac1 SHA512 f6cf0c04b67ab29613c6ff50df781c9d6264a63eae6f8dbf1d0fc25c804991885c7cbb1ab9db9ad9927c842a41b69ab5f8a8d1ef929623a76ec28673f4517000
DIST visual-studio-code-1.41.1-amd64.tar.gz 81500694 BLAKE2B 575e6aef99eba240c3d47c1f2e849ef5390ee2e6bc35b38486d5351a63c1654903b93d2f4db74f0f5e0923c89f14d9a47dc69b6b1705ee877bfcbaeeaafd15ec SHA512 c180a2e112dd1bff97adca83c5aeb6d1bd66ba391d2a63dbae83629065c7bd3c0547f3f3cc3e0c1d67dac1ea601f3f620c6fe57906018883d8c943ddcc5a7830
DIST visual-studio-code-1.45.1-amd64.tar.gz 87836263 BLAKE2B b595451964062cf517e17a1ff40115781c1c13f98d34281e8f47f31e5add6e2a4e3f132fba8cd1ad6b75fe33a2be9ef62e14b25f6ce388cdc2bed4f2aee54b2e SHA512 1dca6259003da32287378214dd9adf8c4240afb4142f48d1f29c0055936a44c46f1c496963f04d5eb2005f89e4812c6d37d3974d1ee8b56697e8b5cb8af472af
DIST visual-studio-code-1.48.0-amd64.tar.gz 89962587 BLAKE2B 8e678aa20b038628dd1d847870ba0a9b8b98d0ddec30baa53bb0e06a15f5956b7c5737da36024f91952125f535668f48507601b824a0e8a3db56c6a70900eb26 SHA512 b0cbbe51edc1da285085576ad1753bb583a3df6e88c991a3133a3a0dc37a3e184ab0d4546a0f24c413298a6a585b74ebddd717c176c59dc78d7dc57993d4cc2c

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.24.0.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.24.1.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.25.1.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.26.0.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.26.1.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.27.1.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.29.0.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.30.2.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 63
app-editors/visual-studio-code/visual-studio-code-1.32.3.ebuild View File

@ -1,63 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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}"
newins "resources/app/LICENSE.txt" "LICENSE"
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}

+ 0
- 62
app-editors/visual-studio-code/visual-studio-code-1.33.1.ebuild View File

@ -1,62 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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"
}

+ 0
- 62
app-editors/visual-studio-code/visual-studio-code-1.34.0.ebuild View File

@ -1,62 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="
x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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"
}

+ 0
- 58
app-editors/visual-studio-code/visual-studio-code-1.38.0.ebuild View File

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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"
}

+ 0
- 58
app-editors/visual-studio-code/visual-studio-code-1.39.2.ebuild View File

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# 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"
BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
SRC_URI="${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="opt/${PN}/code"
QA_PREBUILT="opt/${PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
}
src_install(){
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
doicon ${FILESDIR}/${PN}.png
fperms +x "/opt/${PN}/code"
fperms +x "/opt/${PN}/bin/code"
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"
}

app-editors/visual-studio-code/visual-studio-code-1.36.0.ebuild → app-editors/visual-studio-code/visual-studio-code-1.48.0.ebuild View File


+ 1
- 3
media-plugins/kodi-pvr-hts/Manifest View File

@ -1,4 +1,2 @@
DIST kodi-pvr-hts-17_p20170223.tar.gz 199572 BLAKE2B 63f2afaf8d1a68a44e572d1aa4a85e122a59267c294b07bdb6c343738fe613ccc53b22803497462f011580915f81f724694e248cb3a1452ff66c17313d5c5e66 SHA512 160434b860efceb6e6f92afb200ab07361b2b1a4a30b763f3eb9d75425255102566cbef3dcaad839ab7dafc0b1c89a321cb48c030d8b32bbfb41b0dbd5d065e0
DIST kodi-pvr-hts-17_p20170827.tar.gz 203710 BLAKE2B bfcba07913596d3f68d446751e89f00024c614a6ef8c32234a114c4653e9e55a79fa3e448f8c2086d2db073b712b47a136c5da810e185441beacee0d220f6626 SHA512 427c8e7375900ce28616abf9345df9fae4f85473281e2f7ab8b3c9d556e2d2edbfc2e2aa65c5dc847d7298b2c57ea1d1bbd14b89e657cf97eb0bff1900feaa1a
DIST kodi-pvr-hts-18_p20181122.tar.gz 159931 BLAKE2B 31a96e581e1fbd80144535ce5bd4df55815d6e5924311f37f5fe5acdc21819a7d3bfacc8377bacc9243143d1be0c4de4f254a10c0314172830a6219f4721f67f SHA512 e536150d6f5a678ec7c969895b667c13000856b2d5297f3345c1e39249554663d3ed8ac4965871abeb8fa85334ac535c1f040de40554fe4e14daddbb255f61e8
DIST kodi-pvr-hts-19_p20190516.tar.gz 161510 BLAKE2B bd41231bdd20ae105d21a83ab1c0737291853dd78ac62706dd80a28bdc181364c4328d49d4015ab7945f52df29c13b51bf399e2d969c3c8cf98935f8fb35ec5a SHA512 9d992e0b45971870ba2e39289fc24fb041c1b24b921f38be30a19005875f1a6b68aee0d1ee99fa96073d7a83a4dcba74bfeec54ad1a23646d9c18cf7ccaf5a10
DIST kodi-pvr-hts-19_p20200709.tar.gz 167367 BLAKE2B 265799100f24693acad9fb8db659f1b8ec2beba390fb412969c648d78555e086c944e96604e623097ee9743b84bf9df2aab7f53212d2688aa1d008b8b9cf5e82 SHA512 fd7c8d0888051d6863ad24ebd88ef38315a75e49d020c8941614b426272c727ab7713c62c369bc112c4353c9f1089c0f6df36dbebbc1c38b8d94f3872e7022c8

+ 0
- 32
media-plugins/kodi-pvr-hts/kodi-pvr-hts-17_p20170223.ebuild View File

@ -1,32 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils
GIT_COMMIT="82ea43f"
DESCRIPTION="Tvheadend Live TV and Radio PVR client addon for Kodi"
HOMEPAGE="https://github.com/kodi-pvr/pvr.hts"
SRC_URI="https://github.com/kodi-pvr/pvr.hts/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
# libplatform changed in version 2 from platform to p8-platform which makes it incompatible
DEPEND="=dev-libs/libplatform-2*
=media-libs/kodi-platform-17*
=media-tv/kodi-17*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/kodi-pvr-pvr.hts-${GIT_COMMIT}"
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/lib/kodi
)
cmake-utils_src_configure
}

+ 0
- 32
media-plugins/kodi-pvr-hts/kodi-pvr-hts-19_p20190516.ebuild View File

@ -1,32 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils
GIT_COMMIT="d301b2b"
DESCRIPTION="Tvheadend Live TV and Radio PVR client addon for Kodi"
HOMEPAGE="https://github.com/kodi-pvr/pvr.hts"
SRC_URI="https://github.com/kodi-pvr/pvr.hts/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
# libplatform changed in version 2 from platform to p8-platform which makes it incompatible
DEPEND="=dev-libs/libplatform-2*
=media-libs/kodi-platform-18*
=media-tv/kodi-18*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/kodi-pvr-pvr.hts-${GIT_COMMIT}"
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/lib/kodi
)
cmake-utils_src_configure
}

media-plugins/kodi-pvr-hts/kodi-pvr-hts-17_p20170827.ebuild → media-plugins/kodi-pvr-hts/kodi-pvr-hts-19_p20200709.ebuild View File

@ -5,7 +5,8 @@ EAPI=5
inherit cmake-utils
GIT_COMMIT="3211941"
GIT_BRANCH="Matrix"
GIT_COMMIT="b3b9d1"
DESCRIPTION="Tvheadend Live TV and Radio PVR client addon for Kodi"
HOMEPAGE="https://github.com/kodi-pvr/pvr.hts"
SRC_URI="https://github.com/kodi-pvr/pvr.hts/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
@ -17,8 +18,8 @@ IUSE=""
# libplatform changed in version 2 from platform to p8-platform which makes it incompatible
DEPEND="=dev-libs/libplatform-2*
=media-libs/kodi-platform-17*
=media-tv/kodi-17*"
=media-libs/kodi-platform-19*
=media-tv/kodi-19*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/kodi-pvr-pvr.hts-${GIT_COMMIT}"

+ 0
- 14
media-tv/tvheadend/files/tvheadend.confd View File

@ -1,14 +0,0 @@
# /etc/conf.d/tvheadend: config file for /etc/init.d/tvheadend
# See the tvheadend(1) manpage for more info.
# Run Tvheadend as this user.
TVHEADEND_USER="tvheadend"
# Run Tvheadend as this group.
TVHEADEND_GROUP="video"
# Path to Tvheadend config.
TVHEADEND_CONFIG="/etc/tvheadend"
# Other options you want to pass to Tvheadend.
TVHEADEND_OPTIONS=""

+ 0
- 19
media-tv/tvheadend/files/tvheadend.initd View File

@ -1,19 +0,0 @@
#!/sbin/openrc-run
depend() {
need net
}
start() {
ebegin "Starting Tvheadend"
start-stop-daemon --start --quiet --exec /usr/bin/tvheadend \
-- -f -C -u ${TVHEADEND_USER} -g ${TVHEADEND_GROUP} \
-c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS}
eend $?
}
stop() {
ebegin "Stopping Tvheadend"
start-stop-daemon --stop --quiet --pidfile /var/run/tvheadend.pid
eend $?
}

+ 0
- 14
media-tv/tvheadend/files/tvheadend.service View File

@ -1,14 +0,0 @@
[Unit]
Description=tvheadend
After=network.target
[Service]
Type=forking
PIDFile=/run/tvheadend.pid
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -c /etc/tvheadend -u tvheadend -g video
ExecStop=/usr/bin/rm /run/tvheadend.pid
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target

+ 0
- 102
media-tv/tvheadend/tvheadend-9999.ebuild View File

@ -1,102 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils git-r3 linux-info systemd toolchain-funcs user
DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
HOMEPAGE="https://tvheadend.org/"
EGIT_REPO_URI="git://github.com/tvheadend/tvheadend.git"
#EGIT_COMMIT="cf800cb7ee190833695e739ac7cde5dc174c6d6f"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="avahi +capmt +constcw +cwc dbus +dvb ffmpeg hdhomerun libav +imagecache inotify +iptv +satip +timeshift uriparser xmltv zlib"
RDEPEND="dev-libs/openssl:=
virtual/libiconv
avahi? ( net-dns/avahi )
dbus? ( sys-apps/dbus )
ffmpeg? (
!libav? ( media-video/ffmpeg:0= )
libav? ( media-video/libav:= )
)
hdhomerun? ( media-libs/libhdhomerun )
uriparser? ( dev-libs/uriparser )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
dvb? ( virtual/linuxtv-dvb-headers )
capmt? ( virtual/linuxtv-dvb-headers )
virtual/pkgconfig"
RDEPEND+="
xmltv? ( media-tv/xmltv )"
CONFIG_CHECK="~INOTIFY_USER"
DOCS=( README.md )
pkg_setup() {
enewuser tvheadend -1 -1 /dev/null video
}
src_prepare() {
# remove '-Werror' wrt bug #438424
sed -e 's:-Werror::' -i Makefile || die 'sed failed!'
}
src_configure() {
econf --prefix="${EPREFIX}"/usr \
--datadir="${EPREFIX}"/usr/share \
--disable-hdhomerun_static \
--disable-ffmpeg_static \
--disable-ccache \
--disable-dvbscan \
$(use_enable avahi) \
$(use_enable capmt) \
$(use_enable constcw) \
$(use_enable cwc) \
$(use_enable dbus) \
$(use_enable dvb linuxdvb) \
$(use_enable ffmpeg libav) \
$(use_enable hdhomerun hdhomerun_client) \
$(use_enable imagecache) \
$(use_enable inotify) \
$(use_enable iptv) \
$(use_enable satip satip_server) \
$(use_enable satip satip_client) \
$(use_enable timeshift) \
$(use_enable uriparser) \
$(use_enable zlib)
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
default
newinitd "${FILESDIR}/tvheadend.initd" tvheadend
newconfd "${FILESDIR}/tvheadend.confd" tvheadend
systemd_dounit "${FILESDIR}/tvheadend.service"
dodir /etc/tvheadend
fperms 0700 /etc/tvheadend
fowners tvheadend:video /etc/tvheadend
}
pkg_postinst() {
elog "The Tvheadend web interface can be reached at:"
elog "http://localhost:9981/"
elog
elog "Make sure that you change the default username"
elog "and password via the Configuration / Access control"
elog "tab in the web interface."
}

+ 0
- 3
x11-drivers/nvidia-drivers/Manifest View File

@ -1,3 +0,0 @@
DIST NVIDIA-FreeBSD-x86_64-440.44.tar.gz 82172949 BLAKE2B c276fc42d8bb2c3ea4b84b3f7fc26790d3de526087a01491a9a435b2dde7b8921a01d3fbdbbae8e91f28588093d658a9c3715996b4d8f6e82624823619002dc5 SHA512 c414f368d9b00a71a52e2da4d2b147347966ee17ac2d1142ad368e2211546e29ffa842997350419f17288881879c7c91f069bbdc3192c7e7ce28d1ef45d744a2
DIST NVIDIA-Linux-x86_64-440.44.run 141266881 BLAKE2B bc5ddcf9a6498c14bd9f9421a622bd647e83c8d296953923525680898548012cc9d01d078722a3194b6def5b5a90ed37b2dc08967a9603affabf449dbc87e69d SHA512 c0c0e19cdb82d47575adbcf46e23580977cf7a5097edfb9d76464c2e678a44f556d8c2d0d49515a86b6765f57176460193c6951927e24c278e6a7f411f89f26b
DIST nvidia-settings-440.44.tar.bz2 1128239 BLAKE2B 10c04d6c583b2be7bd40c2b3f90d98476b259d5e40b21a08fd4399771123087933d0a25d0b449096ea4dc54f5a0dde221bb2847742b52e43a2c2db9cd3b9b770 SHA512 e8c87fd260d665588cae707e318e4c7b202c4e41da2e83e58b108e7db6bb5fc907d67390912339c0cc63b8a1c5bc90a9dfa242c9ccaa6270264ac0714dc97622

+ 0
- 1
x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist View File

@ -1 +0,0 @@
PRELINK_PATH_MASK="/usr/lib{,64}/tls/libnvidia-tls*:/usr/lib{,64}/libnvidia*:/usr/lib{,64}/libGL*:/usr/lib{,64}/opengl/nvidia/*:/usr/lib{,64}/OpenCL/vendors/nvidia/*:/usr/lib{,64}/xorg/modules/drivers/nvidia*:/usr/lib{,64}/libvdpau_nvidia*:/usr/lib{,64}/libXvMCNVIDIA*:/usr/lib{,64}/libcuda*:/usr/lib{,64}/libnvcuvid*"

+ 0
- 2
x11-drivers/nvidia-drivers/files/95-nvidia-settings View File

@ -1,2 +0,0 @@
#!/bin/sh
/opt/bin/nvidia-settings --load-config-only

+ 0
- 2
x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1 View File

@ -1,2 +0,0 @@
#!/bin/sh
/usr/bin/nvidia-settings --load-config-only

+ 0
- 14
x11-drivers/nvidia-drivers/files/nvidia-169.07 View File

@ -1,14 +0,0 @@
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/PACKAGE/README
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
# WHAT YOU ARE DOING.
# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=VIDEOGID NVreg_ModifyDeviceFiles=1

+ 0
- 13
x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch View File

@ -1,13 +0,0 @@
--- a/kernel/conftest.sh
+++ b/kernel/conftest.sh
@@ -6,6 +6,10 @@
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR
+# translate_and_compile_header_files() expects the default locale
+# https://bugs.gentoo.org/698238
+export LC_ALL=C
+
CC="$1"
ARCH=$2
ISYSTEM=`$CC -print-file-name=include 2> /dev/null`

+ 0
- 8
x11-drivers/nvidia-drivers/files/nvidia-persistenced.conf View File

@ -1,8 +0,0 @@
# run-time configuration file for /etc/init.d/nvidia-persistenced
# NVPD_USER: The user nvidia-persistenced is intended to run for
NVPD_USER=""
# ARGS: Additional arguments to set the default persistence mode
# (see nvidia-persistenced(1))
ARGS=""

+ 0
- 24
x11-drivers/nvidia-drivers/files/nvidia-persistenced.init View File

@ -1,24 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
pidfile="/var/run/nvidia-persistenced/nvidia-persistenced.pid"
start() {
if ! [ "${NVPD_USER}x" = x ]; then
ebegin "Starting nvidia-persistenced for ${NVPD_USER}"
NVPD_USER_ARG="--user ${NVPD_USER}"
else
ebegin "Starting nvidia-persistenced"
fi
start-stop-daemon --start --quiet --pidfile ${pidfile} \
--background --exec /opt/bin/nvidia-persistenced \
-- ${NVPD_USER_ARG} ${ARGS}
eend $?
}
stop() {
ebegin "Stopping nvidia-persistenced"
start-stop-daemon --stop --quiet --pidfile ${pidfile}
eend $?
}

+ 0
- 3
x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf View File

@ -1,3 +0,0 @@
# Nvidia UVM support
remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia

+ 0
- 22
x11-drivers/nvidia-drivers/files/nvidia-settings-fno-common.patch View File

@ -1,22 +0,0 @@
--- a/nvidia-settings-@PV@/src/gtk+-2.x/ctkvdpau.c
+++ b/nvidia-settings-@PV@/src/gtk+-2.x/ctkvdpau.c
@@ -103,6 +103,8 @@
const gchar* __video_mixer_attribute_help =
"This shows the video mixer attributes and any applicable ranges.";
+struct VDPAUDeviceImpl VDPAUDeviceFunctions;
+
static int queryOutputSurface(CtkVDPAU *ctk_vdpau, VdpDevice device,
VdpGetProcAddress *getProcAddress);
--- a/nvidia-settings-@PV@/src/gtk+-2.x/ctkvdpau.h
+++ b/nvidia-settings-@PV@/src/gtk+-2.x/ctkvdpau.h
@@ -46,7 +46,7 @@
(G_TYPE_INSTANCE_GET_CLASS ((obj), CTK_TYPE_VDPAU, CtkVDPAUClass))
-struct VDPAUDeviceImpl {
+extern struct VDPAUDeviceImpl {
VdpGetErrorString *GetErrorString;
VdpGetProcAddress *GetProcAddress;

+ 0
- 22
x11-drivers/nvidia-drivers/files/nvidia-settings-linker.patch View File

@ -1,22 +0,0 @@
--- a/nvidia-settings-@PV@/utils.mk
+++ b/nvidia-settings-@PV@/utils.mk
@@ -475,7 +475,7 @@
define READ_ONLY_OBJECT_FROM_FILE_RULE
$$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
$(at_if_quiet)cd $$(dir $(1)); \
- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
+ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
$$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
$$(call quiet_cmd,OBJCOPY) \
--rename-section .data=.rodata,contents,alloc,load,data,readonly \
--- a/nvidia-settings-@PV@/src/libXNVCtrl/utils.mk
+++ b/nvidia-settings-@PV@/src/libXNVCtrl/utils.mk
@@ -475,7 +475,7 @@
define READ_ONLY_OBJECT_FROM_FILE_RULE
$$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
$(at_if_quiet)cd $$(dir $(1)); \
- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
+ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
$$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
$$(call quiet_cmd,OBJCOPY) \
--rename-section .data=.rodata,contents,alloc,load,data,readonly \

+ 0
- 7
x11-drivers/nvidia-drivers/files/nvidia-settings.desktop View File

@ -1,7 +0,0 @@
[Desktop Entry]
Type=Application
Name=NVIDIA X Server Settings
Comment=Configure NVIDIA X Server Settings
Exec=/usr/bin/nvidia-settings
Icon=nvidia-settings
Categories=System;Settings;

+ 0
- 24
x11-drivers/nvidia-drivers/files/nvidia-smi.init View File

@ -1,24 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
pidfile="/run/nvidia-smi.pid"
depend() {
after modules
}
start() {
ebegin "Starting NVIDIA System Management Interface"
rm -f ${pidfile}
start-stop-daemon --start --quiet --pidfile ${pidfile} \
--make-pidfile --background --exec /opt/bin/nvidia-smi -- \
-q -l 300
eend $?
}
stop() {
ebegin "Stopping NVIDIA System Management Interface"
start-stop-daemon --stop --quiet --pidfile ${pidfile}
eend $?
}

+ 0
- 17
x11-drivers/nvidia-drivers/files/nvidia-udev.sh View File

@ -1,17 +0,0 @@
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Invalid args" >&2
exit 1
fi
case $1 in
add|ADD)
/opt/bin/nvidia-smi > /dev/null
;;
remove|REMOVE)
rm -f /dev/nvidia*
;;
esac
exit 0

+ 0
- 20
x11-drivers/nvidia-drivers/files/nvidia-udev.sh-r1 View File

@ -1,20 +0,0 @@
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Invalid args" >&2
exit 1
fi
case $1 in
add|ADD)
#hopefully this prevents infinite loops like bug #454740
if lsmod | grep -iq nvidia; then
/opt/bin/nvidia-smi > /dev/null
fi
;;
remove|REMOVE)
rm -f /dev/nvidia*
;;
esac
exit 0

+ 0
- 1
x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule View File

@ -1 +0,0 @@
KERNEL=="nvidia_uvm", RUN+="/bin/bash -c '/bin/mknod -m 660 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0; /bin/chgrp video /dev/nvidia-uvm'"

+ 0
- 6
x11-drivers/nvidia-drivers/files/nvidia.udev-rule View File

@ -1,6 +0,0 @@
ACTION=="add", DEVPATH=="/module/nvidia", SUBSYSTEM=="module", RUN+="nvidia-udev.sh $env{ACTION}"
# Previously the ACTION was "add|remove" but one user on bug #376527 had a
# problem until he recompiled udev-171-r5, which is one of the versions I
# tested with and it was fine. I'm breaking the rules out just to be safe
# so someone else doesn't have an issue
ACTION=="remove", DEVPATH=="/module/nvidia", SUBSYSTEM=="module", RUN+="nvidia-udev.sh $env{ACTION}"

+ 0
- 26
x11-drivers/nvidia-drivers/metadata.xml View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>jer@gentoo.org</email>
</maintainer>
<longdescription>
Nvidia provides different branches of its drivers for different batches of its
hardware. When maintaining these ebuilds or other ebuilds depending on them,
you will need to keep in mind that the major versions represent these different
branches.
You can use http://www.nvidia.com/Download/Find.aspx to figure out which branch
best matches your hardware.
</longdescription>
<use>
<flag name="X">Install the X.org driver, OpenGL libraries, XvMC libraries, and VDPAU libraries</flag>
<flag name="compat">Install non-GLVND libGL for backwards compatibility</flag>
<flag name="driver">Install the kernel driver module</flag>
<flag name="gtk3">Install nvidia-settings with support for GTK+ 3</flag>
<flag name="kms">Enable support for kernel mode setting (KMS)</flag>
<flag name="libglvnd">Use <pkg>media-libs/libglvnd</pkg> for dispatch</flag>
<flag name="tools">Install additional tools such as nvidia-settings</flag>
<flag name="uvm">Install the Unified Memory kernel module (nvidia-uvm) for sharing memory between CPU and GPU in CUDA programs</flag>
</use>
</pkgmetadata>

+ 0
- 577
x11-drivers/nvidia-drivers/nvidia-drivers-440.44-r1.ebuild View File

@ -1,577 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
nvidia-driver portability toolchain-funcs unpacker user udev
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
HOMEPAGE="https://www.nvidia.com/"
AMD64_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86_64-${PV}"
AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}"
ARM_NV_PACKAGE="NVIDIA-Linux-armv7l-gnueabihf-${PV}"
NV_URI="https://us.download.nvidia.com/XFree86/"
SRC_URI="
amd64-fbsd? ( ${NV_URI}FreeBSD-x86_64/${PV}/${AMD64_FBSD_NV_PACKAGE}.tar.gz )
amd64? ( ${NV_URI}Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run )
tools? (
https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${PV}.tar.bz2
)
"
EMULTILIB_PKG="true"
KEYWORDS="-* ~amd64"
LICENSE="GPL-2 NVIDIA-r2"
SLOT="0/${PV%.*}"
IUSE="acpi compat +driver gtk3 kernel_FreeBSD kernel_linux +kms libglvnd multilib static-libs +tools uvm wayland +X"
REQUIRED_USE="
tools? ( X )
static-libs? ( tools )
"
COMMON="
app-eselect/eselect-opencl
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
tools? (
dev-libs/atk
dev-libs/glib:2
dev-libs/jansson
gtk3? (
x11-libs/gtk+:3
)
x11-libs/cairo
x11-libs/gdk-pixbuf[X]
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXv
x11-libs/libXxf86vm
x11-libs/pango[X]
)
X? (
!libglvnd? ( >=app-eselect/eselect-opengl-1.0.9 )
libglvnd? (
media-libs/libglvnd[${MULTILIB_USEDEP}]
!app-eselect/eselect-opengl
)
app-misc/pax-utils
)
"
DEPEND="
${COMMON}
kernel_linux? ( virtual/linux-sources )
tools? ( sys-apps/dbus )
"
RDEPEND="
${COMMON}
acpi? ( sys-power/acpid )
tools? ( !media-video/nvidia-settings )
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
X? (
<x11-base/xorg-server-1.20.99:=
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libvdpau-1.0[${MULTILIB_USEDEP}]
sys-libs/zlib[${MULTILIB_USEDEP}]
)
"
QA_PREBUILT="opt/* usr/lib*"
S=${WORKDIR}/
PATCHES=(
"${FILESDIR}"/${PN}-440.26-locale.patch
)
NV_KV_MAX_PLUS="5.6"
CONFIG_CHECK="!DEBUG_MUTEXES ~!I2C_NVIDIA_GPU ~!LOCKDEP ~MTRR ~SYSVIPC ~ZONE_DMA"
pkg_pretend() {
nvidia-driver_check
}
pkg_setup() {
nvidia-driver_check
# try to turn off distcc and ccache for people that have a problem with it
export DISTCC_DISABLE=1
export CCACHE_DISABLE=1
if use driver && use kernel_linux; then
MODULE_NAMES="nvidia(video:${S}/kernel)"
use uvm && MODULE_NAMES+=" nvidia-uvm(video:${S}/kernel)"
use kms && MODULE_NAMES+=" nvidia-modeset(video:${S}/kernel) nvidia-drm(video:${S}/kernel)"
# This needs to run after MODULE_NAMES (so that the eclass checks
# whether the kernel supports loadable modules) but before BUILD_PARAMS
# is set (so that KV_DIR is populated).
linux-mod_pkg_setup
BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} \
SYSOUT=${KV_OUT_DIR} CC=$(tc-getBUILD_CC) NV_VERBOSE=1"
# linux-mod_src_compile calls set_arch_to_kernel, which
# sets the ARCH to x86 but NVIDIA's wrapping Makefile
# expects x86_64 or i386 and then converts it to x86
# later on in the build process
BUILD_FIXES="ARCH=$(uname -m | sed -e 's/i.86/i386/')"
fi
if use kernel_linux && kernel_is lt 2 6 9; then
eerror "You must build this against 2.6.9 or higher kernels."
fi
# set variables to where files are in the package structure
if use kernel_FreeBSD; then
use amd64-fbsd && S="${WORKDIR}/${AMD64_FBSD_NV_PACKAGE}"
NV_DOC="${S}/doc"
NV_OBJ="${S}/obj"
NV_SRC="${S}/src"
NV_MAN="${S}/x11/man"
NV_X11="${S}/obj"
NV_SOVER=1
elif use kernel_linux; then
NV_DOC="${S}"
NV_OBJ="${S}"
NV_SRC="${S}/kernel"
NV_MAN="${S}"
NV_X11="${S}"
NV_SOVER=${PV}
else
die "Could not determine proper NVIDIA package"
fi
}
src_configure() {
tc-export AR CC LD
default
}
src_prepare() {
local man_file
for man_file in "${NV_MAN}"/*1.gz; do
gunzip $man_file || die
done
if use tools; then
cp "${FILESDIR}"/nvidia-settings-fno-common.patch "${WORKDIR}" || die
cp "${FILESDIR}"/nvidia-settings-linker.patch "${WORKDIR}" || die
sed -i \
-e "s:@PV@:${PV}:g" \
"${WORKDIR}"/nvidia-settings-fno-common.patch \
"${WORKDIR}"/nvidia-settings-linker.patch \
|| die
eapply "${WORKDIR}"/nvidia-settings-fno-common.patch
eapply "${WORKDIR}"/nvidia-settings-linker.patch
fi
default
if ! [ -f nvidia_icd.json ]; then
cp nvidia_icd.json.template nvidia_icd.json || die
sed -i -e 's:__NV_VK_ICD__:libGLX_nvidia.so.0:g' nvidia_icd.json || die
fi
}
src_compile() {
cd "${NV_SRC}"
if use kernel_FreeBSD; then
MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \
LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
elif use driver && use kernel_linux; then
BUILD_TARGETS=module linux-mod_src_compile \
KERNELRELEASE="${KV_FULL}" \
src="${KERNEL_DIR}"
fi
if use tools; then
emake -C "${S}"/nvidia-settings-${PV}/src/libXNVCtrl \
DO_STRIP= \
LIBDIR="$(get_libdir)" \
NVLD="$(tc-getLD)" \
NV_VERBOSE=1 \
OUTPUTDIR=. \
RANLIB="$(tc-getRANLIB)"
emake -C "${S}"/nvidia-settings-${PV}/src \
DO_STRIP= \
GTK3_AVAILABLE=$(usex gtk3 1 0) \
LIBDIR="$(get_libdir)" \
NVLD="$(tc-getLD)" \
NVML_ENABLED=0 \
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \
OUTPUTDIR=.
fi
}
# Install nvidia library:
# the first parameter is the library to install
# the second parameter is the provided soversion
# the third parameter is the target directory if it is not /usr/lib
donvidia() {
# Full path to library
nv_LIB="${1}"
# SOVER to use
nv_SOVER="$(scanelf -qF'%S#F' ${nv_LIB})"
# Where to install
nv_DEST="${2}"
# Get just the library name
nv_LIBNAME=$(basename "${nv_LIB}")
if [[ "${nv_DEST}" ]]; then
exeinto ${nv_DEST}
action="doexe"
else
nv_DEST="/usr/$(get_libdir)"
action="dolib.so"
fi
# Install the library
${action} ${nv_LIB} || die "failed to install ${nv_LIBNAME}"
# If the library has a SONAME and SONAME does not match the library name,
# then we need to create a symlink
if [[ ${nv_SOVER} ]] && ! [[ "${nv_SOVER}" = "${nv_LIBNAME}" ]]; then
dosym ${nv_LIBNAME} ${nv_DEST}/${nv_SOVER}
fi
dosym ${nv_LIBNAME} ${nv_DEST}/${nv_LIBNAME/.so*/.so}
}
src_install() {
if use driver && use kernel_linux; then
linux-mod_src_install
# Add the aliases
# This file is tweaked with the appropriate video group in
# pkg_preinst, see bug #491414
insinto /etc/modprobe.d
newins "${FILESDIR}"/nvidia-169.07 nvidia.conf
if use uvm; then
doins "${FILESDIR}"/nvidia-rmmod.conf
udev_newrules "${FILESDIR}"/nvidia-uvm.udev-rule 99-nvidia-uvm.rules
else
sed -e 's|nvidia-uvm ||g' "${FILESDIR}"/nvidia-rmmod.conf \
> "${T}"/nvidia-rmmod.conf || die
doins "${T}"/nvidia-rmmod.conf
fi
# Ensures that our device nodes are created when not using X
exeinto "$(get_udevdir)"
newexe "${FILESDIR}"/nvidia-udev.sh-r1 nvidia-udev.sh
udev_newrules "${FILESDIR}"/nvidia.udev-rule 99-nvidia.rules
elif use kernel_FreeBSD; then
if use x86-fbsd; then
insinto /boot/modules
doins "${S}/src/nvidia.kld"
fi
exeinto /boot/modules
doexe "${S}/src/nvidia.ko"
fi
# NVIDIA kernel <-> userspace driver config lib
donvidia ${NV_OBJ}/libnvidia-cfg.so.${NV_SOVER}
# NVIDIA framebuffer capture library
donvidia ${NV_OBJ}/libnvidia-fbc.so.${NV_SOVER}
# NVIDIA video encode/decode <-> CUDA
if use kernel_linux; then
donvidia ${NV_OBJ}/libnvcuvid.so.${NV_SOVER}
donvidia ${NV_OBJ}/libnvidia-encode.so.${NV_SOVER}
fi
if use X; then
# Xorg DDX driver
insinto /usr/$(get_libdir)/xorg/modules/drivers
doins ${NV_X11}/nvidia_drv.so
# Xorg GLX driver
donvidia ${NV_X11}/libglxserver_nvidia.so.${NV_SOVER} \
/usr/$(get_libdir)/xorg/modules/extensions
# Xorg nvidia.conf
if has_version '>=x11-base/xorg-server-1.16'; then
insinto /usr/share/X11/xorg.conf.d
newins {,50-}nvidia-drm-outputclass.conf
fi
insinto /usr/share/glvnd/egl_vendor.d
doins ${NV_X11}/10_nvidia.json
fi
if use wayland; then
insinto /usr/share/egl/egl_external_platform.d
doins ${NV_X11}/10_nvidia_wayland.json
fi
# OpenCL ICD for NVIDIA
if use kernel_linux; then
insinto /etc/OpenCL/vendors
doins ${NV_OBJ}/nvidia.icd
fi
# Helper Apps
exeinto /opt/bin/
if use X; then
doexe ${NV_OBJ}/nvidia-xconfig
insinto /etc/vulkan/icd.d
doins nvidia_icd.json
insinto /etc/vulkan/implicit_layer.d
doins nvidia_layers.json
fi
if use kernel_linux; then
doexe ${NV_OBJ}/nvidia-cuda-mps-control
doexe ${NV_OBJ}/nvidia-cuda-mps-server
doexe ${NV_OBJ}/nvidia-debugdump
doexe ${NV_OBJ}/nvidia-persistenced
doexe ${NV_OBJ}/nvidia-smi
# install nvidia-modprobe setuid and symlink in /usr/bin (bug #505092)
doexe ${NV_OBJ}/nvidia-modprobe
fowners root:video /opt/bin/nvidia-modprobe
fperms 4710 /opt/bin/nvidia-modprobe
dosym /{opt,usr}/bin/nvidia-modprobe
doman nvidia-cuda-mps-control.1
doman nvidia-modprobe.1
doman nvidia-persistenced.1
newinitd "${FILESDIR}/nvidia-smi.init" nvidia-smi
newconfd "${FILESDIR}/nvidia-persistenced.conf" nvidia-persistenced
newinitd "${FILESDIR}/nvidia-persistenced.init" nvidia-persistenced
fi
if use tools; then
emake -C "${S}"/nvidia-settings-${PV}/src/ \
DESTDIR="${D}" \
DO_STRIP= \
GTK3_AVAILABLE=$(usex gtk3 1 0) \
LIBDIR="${D}/usr/$(get_libdir)" \
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \