Compare commits

..

237 Commits

Author SHA1 Message Date
CvH
6c0f328c00 Merge pull request #5826 from HiassofT/le10-kernel-5.10.76
[le10] linux (RPi): update to 5.10.76-581049d, temp revert video callback limit commit
2021-10-29 18:35:15 +02:00
Christian Hewitt
ef95fe9106 Merge pull request #5828 from HiassofT/le10-brcmfmac-43436s 2021-10-29 14:26:31 +01:00
Matthias Reichl
37a8f07501 brcmfmac_sdio-firmware-rpi: update to 3888ba2
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 15:15:59 +02:00
Matthias Reichl
db0a5be3a6 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:50:11 +02:00
CvH
ddac75d8e7 Merge pull request #5817 from knaerzche/kernel-le10
[LE 10] linux: update to 5.10.76
2021-10-28 19:47:42 +02:00
CvH
db6b24feeb Merge pull request #5811 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-10-28 19:44:47 +02:00
Matthias Reichl
03fcd2342b linux (RPi): config options for 5.10.76-581049d
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-28 16:46:03 +02:00
Matthias Reichl
0fc918e372 linux (RPi): update to 5.10.76-581049d
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-28 16:44:18 +02:00
Matthias Reichl
9aad4cc35e RPi: update to firmware d8754a9
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-28 16:43:23 +02:00
Matthias Reichl
94a9046921 rpi-eeprom: update to 47976e4
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-28 16:42:06 +02:00
Alex Bee
814a092cb7 Allwinner: linux: rebase patches on 5.10.76 2021-10-27 23:37:14 +02:00
Alex Bee
96f772a52b linux: update to 5.10.76 2021-10-27 23:36:41 +02:00
knaerzche
21cc0880e7 Merge pull request #5819 from jernejsk/cec-fix-le10
[LE10] Allwinner: linux: Fix CEC after TV is power cycled
2021-10-27 20:30:44 +02:00
Jernej Skrabec
d743a8e459 Allwinner: linux: Fix CEC after TV is power cycled 2021-10-27 19:31:52 +02:00
Christian Hewitt
269c420391 Merge pull request #5816 from knaerzche/rockpi4-audio-fix-le10
[LE 10] Rockchip: linux: fix analog audio for Rock Pi 4
2021-10-27 17:44:08 +01:00
Alex Bee
9d0503f305 Rockchip: linux: fix analog audio for Rock Pi 4 2021-10-27 18:20:05 +02:00
heitbaum
efcc111781 kodi-binary-addons: update to latest versions
- pvr.hts: update 19.0.0-Matrix to 19.0.2-Matrix
2021-10-27 22:21:27 +11:00
CvH
e1c7827bd0 Merge pull request #5807 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-10-27 12:25:14 +02:00
CvH
1495e0e3f9 Merge pull request #5809 from HiassofT/le10-kernel-5.10.73
[le10] linux (RPi): update to 5.10.75-6cfe1a8
2021-10-27 12:25:00 +02:00
heitbaum
43fee3d59f kodi-binary-addons: update to latest versions
- audioencoder.lame: update 19.0.0-Matrix to 19.1.0-Matrix
2021-10-27 01:02:08 +11:00
CvH
f84330d3b8 Merge pull request #5781 from heitbaum/binaries10
pvr.nextpvr: update 19.0.0-Matrix to 19.0.1-Matrix
2021-10-26 11:42:08 +02:00
Matthias Reichl
1eb92b5a04 linux (RPi): update to 5.10.75-6cfe1a8
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
5e36b5811c RPi: update to firmware 8db7ef8
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
4fdf516a72 linux (RPi): update to 5.10.74-f814bfc
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
c7d6653ca0 RPi: update to firmware d2ab264
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
c6b090968e linux (RPi): update to 5.10.74-a4407c4
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
2749e24a06 linux (RPi): config options for 5.10.73-046e2dc
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
210beb3550 linux (RPi): update to 5.10.73-046e2dc
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
361ad6dc98 linux (RPi): config options for 5.10.73-1b07dc7
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Matthias Reichl
6835642af0 linux (RPi): update to 5.10.73-1b07dc7
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-26 10:00:56 +02:00
Christian Hewitt
13f300cb0c Merge pull request #5805 from mglae/le10_cacert_2021-09-30
cacert.pem: update to 2021-09-30
2021-10-26 05:57:53 +04:00
CvH
c174ff6af6 Merge pull request #5802 from knaerzche/cec-fix-fix-le10
[LE 10] Rockchip: linux: fix CEC-fix
2021-10-25 20:16:16 +02:00
Alex Bee
d0d10afbd1 Rockchip: linux: rework CEC-fix 2021-10-25 20:09:16 +02:00
Christian Hewitt
cfe5b35af9 Merge pull request #5774 from mglae/le10_mariadb-connector-c_auth
mariadb-connector-c: install secure authentication plugins
2021-10-25 10:35:50 +04:00
Christian Hewitt
552c9438b8 Merge pull request #5745 from boot2k3/patch-2
rpcbind: NFS discovery fix
2021-10-25 10:32:20 +04:00
Christian Hewitt
2ae26f3b0c Merge pull request #5705 from HiassofT/le10-fontconfig
[le10] fontconfig: remove kodi's font folder from fontconfig dirs
2021-10-25 10:31:21 +04:00
Christian Hewitt
9239bee5f0 Merge pull request #5649 from mglae/le10_current_crash_log
[le10] kodi.sh: never delete just created crash log
2021-10-25 10:30:09 +04:00
Christian Hewitt
afc57c5e09 Merge pull request #5783 from mglae/le10_e2fsprogs_timestamps
e2fsprogs: always support timestamps >2038
2021-10-25 10:28:52 +04:00
Christian Hewitt
707a64f3ce Merge pull request #5785 from mglae/le10_linux_cifs_debug
linux config: add CONFIG_CIFS_DEBUG=y to ease CIFS system mounts
2021-10-25 10:26:33 +04:00
Christian Hewitt
295cedae8f Merge pull request #5798 from CvH/10.0/kodi_19.3
kodi: update to 19.3
2021-10-25 10:03:35 +04:00
CvH
81670c8df7 kodi: update to 19.3 2021-10-24 21:33:36 +02:00
mglae
a92c92cfa2 cacert.pem: update to 2021-09-30 2021-10-24 19:45:14 +02:00
CvH
715514348d Merge pull request #5793 from knaerzche/rk-le10-backports
[LE10] Rockchip: backports
2021-10-22 16:52:27 +02:00
Alex Bee
eea5891db7 Rockchip: linux: add anlog sound for Rock Pi4 (backport from 5.15) 2021-10-22 13:51:07 +02:00
Alex Bee
7f13c80bf2 Rockchip: linux: fix CEC not working after power-cycle and reinstate debounce_ms patch 2021-10-22 13:41:00 +02:00
Alex Bee
6c9d0093d0 Rockchip: RK3328: Disable 500 MHz GPU OPP 2021-10-22 13:22:33 +02:00
Alex Bee
b96cfe165b Rockchip: ffmpeg: support more formats / automatic output format selection in deinterlace filter
Also increase input/output buffer count
2021-10-22 13:17:50 +02:00
Alex Bee
2bcc43cf01 Rockchip linux/ffmpeg hevc: increase max slices count 2021-10-22 13:17:11 +02:00
Alex Bee
40125b6aff Rockchip: linux: rkvdec: hevc: improve lowdelay 2021-10-22 13:15:34 +02:00
Alex Bee
bfb8e98f9d Rockchip: linux: rebase patches on 5.10.61 2021-10-22 13:03:50 +02:00
mglae
548bf300d0 e2fsprogs: always support timestamps >2038 2021-10-18 23:57:14 +02:00
heitbaum
77cbc6f460 kodi-binary-addons: update to latest versions
- pvr.nextpvr: update 19.0.0-Matrix to 19.0.1-Matrix
2021-10-18 18:56:54 +11:00
mglae
e485480152 linux config: add CONFIG_CIFS_DEBUG=y to ease CIFS system mounts 2021-10-17 12:09:57 +02:00
mglae
c51d42e7a6 mariadb-connector-c: install secure authentication plugins 2021-10-16 19:37:26 +02:00
CvH
96c6949552 Merge pull request #5769 from heitbaum/tz10
[le10] tz: update to 2021d
2021-10-16 11:19:36 +02:00
heitbaum
0d00a193d9 tz: update to 2021d
ann: http://mm.icann.org/pipermail/tz-announce/2021-October/000068.html

This release reflects the following changes, which were either
circulated on the tz mailing list or are relatively minor technical or
administrative changes:

   Briefly:
     Fiji suspends DST for the 2021/2022 season.
     'zic -r' marks unspecified timestamps with "-00".

   Changes to future timestamps

     Fiji will suspend observance of DST for the 2021/2022 season.
     Assume for now that it will return next year.  (Thanks to Jashneel
     Kumar and P Chan.)

   Changes to code

     'zic -r' now uses "-00" time zone abbreviations for intervals
     with UT offsets that are unspecified due to -r truncation.
     This implements a change in draft Internet RFC 8536bis.
2021-10-16 20:16:00 +11:00
Jernej Škrabec
811df0d667 Merge pull request #5759 from chewitt/settings
settings: bump to fix dbus agents unregistering
2021-10-14 07:25:15 +02:00
Christian Hewitt
d4f2286c55 settings: bump to fix dbus agents unregistering 2021-10-14 03:48:05 +00:00
Matthias Reichl
fc24a8d628 Merge pull request #5758 from chewitt/thirdtimesacharm
kodi: fix the 19.2 githash (again)
2021-10-13 17:37:25 +02:00
Christian Hewitt
02efdf97f2 kodi: fix the 19.2 githash (again) 2021-10-13 15:20:16 +00:00
Christian Hewitt
00f42d2054 Merge pull request #5703 from HiassofT/le10-drmprime-coords
[le10] kodi: fix subtitles not shown on GBM if GUI limit is active
2021-10-12 13:21:03 +04:00
Christian Hewitt
92420e05a9 Merge pull request #5748 from HiassofT/le10-retro-addons1
[le10] update retroplayer addons to latest versions
2021-10-12 06:09:50 +04:00
Christian Hewitt
cdfcae4504 Merge pull request #5752 from jernejsk/le10-h3-cec
[LE10] Allwinner: H3: linux: Fix SW CEC
2021-10-12 06:05:29 +04:00
Matthias Reichl
43968483fa game.libretro: update to 19.0.0-Matrix
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
b68736ab8e libretro-dosbox-pure: fix URL and build
add patch to disable CPU-guessing from /proc/cpuinfo and adding
ARM optimization flags

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
8794e6fa2d libretro-beetle-psx: fix build
set GIT_VERSION, disable static libstdc++ linking

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
7c7c4fbd6c libretro-vice: drop obsolete patch, fix build
Makefile.libretro was renamed to Makefile, we can drop make_target

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
9cd57b7784 libretro-opera: update cross build patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
312e5b59a3 libretro-mame2010: update cross build patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
3531a27f55 libretro-beetle-pcfx: drop obsolete patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Matthias Reichl
84a66d9937 update retroplayer addons to latest versions
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-11 22:53:12 +02:00
Jernej Skrabec
6001c2ba0f Allwinner: H3: linux: Fix SW CEC 2021-10-11 20:16:26 +02:00
Dmitry_L
c26eca3b7c rpcbind: NFS discovery fix
After update to 1.2.5 NFS servers discovery doesn't work anymore.
In this build added a new configuration flag --enable-rmtcalls which will be needed to enable the remote call functionality.
2021-10-10 17:41:17 +03:00
Matthias Reichl
ccfccf5448 Merge pull request #5730 from CvH/10.0/k192-fix
kodi: fix download
2021-10-08 23:15:23 +02:00
CvH
b6a121af8f kodi: fix download 2021-10-08 22:45:04 +02:00
Christian Hewitt
31700310ee Merge pull request #5729 from CvH/10.0/k192 2021-10-08 20:56:46 +04:00
CvH
84ab80c645 kodi: update to 19.2 2021-10-08 18:30:48 +02:00
CvH
503952bed4 Merge pull request #5728 from HiassofT/le10-kernel-5.10.63+
[le10] linux (RPi): update to 5.10.63-24c8b05
2021-10-07 19:36:14 +02:00
Matthias Reichl
8f28d4db46 rpi-eeprom: update to 194960a
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:43:05 +02:00
Matthias Reichl
142b53b043 linux (RPi): update to 5.10.63-24c8b05
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Matthias Reichl
b7cf8f263e linux (RPi): config options for 5.10.63-1faafd9
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Matthias Reichl
e01d494543 linux (RPi): update to 5.10.63-1faafd9
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Matthias Reichl
9763e6e570 RPi: update to firmware b5257da
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Matthias Reichl
e71138dc79 RPi: update to firmware 18bd87a
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Matthias Reichl
3ea668f407 linux (RPi): update to 5.10.63-edded5e
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:42:54 +02:00
Jernej Škrabec
3949b34560 Merge pull request #5725 from HiassofT/le10-profile-switch-crash
[le10] Python3: add patch to fix crash in asyncio
2021-10-07 17:28:25 +02:00
Matthias Reichl
f7921f1182 Python3: add patch to fix crash in asyncio
See https://bugs.python.org/issue45262

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 16:32:42 +02:00
CvH
6233abadb8 Merge pull request #5608 from heitbaum/chrome10
[le10] chrome: update to 93.0.4577.63
2021-10-06 20:43:27 +02:00
CvH
b419cbfff9 Merge pull request #5695 from howie-f/10-official-repo
[LE10] add "repository.libreelec.tv" to official repos
2021-10-06 20:41:34 +02:00
howie-f
bfbc6f4e0e add "repository.libreelec.tv" to official repos 2021-10-06 17:12:03 +02:00
CvH
9dede22950 Merge pull request #5713 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-10-03 07:59:27 +02:00
heitbaum
9998475277 kodi-binary-addons: update to latest versions
- pvr.freebox: update 6.1.4-Matrix to 19.0.0-Matrix
- pvr.mythtv: update 7.3.4-Matrix to 19.0.0-Matrix
- pvr.waipu: update 19.0.0-Matrix to 19.0.1-Matrix
2021-10-03 09:01:34 +11:00
Christian Hewitt
3b88d9a36a Merge pull request #5709 from heitbaum/tz10
[le10] tz: update to 2021c
2021-10-02 19:03:00 +04:00
Christian Hewitt
5e538af6e9 Merge pull request #5711 from heitbaum/samba10
[le10] samba: update to 4.13.12
2021-10-02 19:01:37 +04:00
heitbaum
e5685c5d4d tz: update to 2021c
ann:
- http://mm.icann.org/pipermail/tz-announce/2021-September/000066.html
- http://mm.icann.org/pipermail/tz-announce/2021-October/000067.html
2021-10-02 22:18:39 +10:00
heitbaum
654542e76e samba: update to 4.13.12
release notes:
- https://www.samba.org/samba/history/samba-4.13.12.html
2021-10-02 22:18:00 +10:00
heitbaum
8d77121c6f pango: update to 1.49.1 and PKG_URL
new package url referenced on https://pango.gnome.org/Download
2021-10-02 21:58:11 +10:00
heitbaum
035f8cdaf2 libXft: update to 2.3.4 2021-10-02 21:58:11 +10:00
heitbaum
89575a58f6 jasper: update to 2.0.33 2021-10-02 21:58:11 +10:00
heitbaum
10d429fc02 icu: update to 69.1 2021-10-02 21:58:11 +10:00
heitbaum
d9c85b6e2a itstool: update to 2.0.7 2021-10-02 21:58:10 +10:00
heitbaum
45ffa6c893 harfbuzz-icu: update build to exclude benchmark and tests 2021-10-02 21:58:10 +10:00
heitbaum
fd8eb9e0d8 harfbuzz: update to 2.9.0 and exclude benchmark and tests in build 2021-10-02 21:58:10 +10:00
heitbaum
cecf46eb3e chrome: update to 93.0.4577.63 and addon (108) 2021-10-02 21:58:02 +10:00
CvH
581226c9f1 Merge pull request #5692 from vpeter4/jre.10
[LE10] libbluray: disable X11 check because it will not run in headle…
2021-10-02 13:30:49 +02:00
CvH
a007ccabcc Merge pull request #5702 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-10-02 13:30:08 +02:00
CvH
5c00033be2 Merge pull request #5670 from Portisch/apache_ant_le10
[LE10] apache-ant: bump package to 1.10.11
2021-10-02 13:29:14 +02:00
CvH
f868be0fa2 Merge pull request #5632 from heitbaum/tv10
[le10] tvheadend43: update to 4.3-1979
2021-10-02 13:28:53 +02:00
CvH
267147a666 Merge pull request #5639 from Portisch/drop_tls_info_le10
kodi-config: LIBC_WIDEVINE_PATCHLEVEL is obsolete since script.module…
2021-10-02 13:26:55 +02:00
CvH
befd77c818 Merge pull request #5677 from wagnerch/rsync-le10
[LE10] rsync: add lchmod workaround patches
2021-10-02 13:26:28 +02:00
CvH
7b83c1eee5 Merge pull request #5610 from heitbaum/samba10
[le10] samba: update to 4.13.11
2021-10-02 13:25:42 +02:00
Matthias Reichl
e910308f24 fontconfig: remove kodi's font folder from fontconfig dirs
This is no longer needed as kodi Matrix/Nexus already make
.kodi/media/Fonts available to libass.

Large collections of fonts should better be stored in the default
XDG_DATA_HOME fonts location of fontconfig (/storage/.local/share/fonts)
though to avoid slow movie startup and kodi potentially running out
of memory as kodi/libass will load all fonts from .kodi/media/Fonts
into RAM. Making the fonts available to libass via fontconfig avoids
this issue.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-01 16:16:39 +02:00
Matthias Reichl
3221502820 kodi: fix subtitles not shown on GBM if GUI limit is active
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-01 11:39:14 +02:00
heitbaum
248accda8c kodi-binary-addons: update to latest versions
- audiodecoder.sacd: update 0.1.2-Matrix to 19.0.0-Matrix
2021-09-30 23:05:29 +10:00
Matthias Reichl
ea441bd4c3 Merge pull request #5694 from heitbaum/sndfile10
[le10] shairport-sync: update the build to use pkg-config
2021-09-29 13:04:51 +02:00
heitbaum
d6ba70f526 libsndfile: reorder static libraries 2021-09-29 20:45:55 +10:00
heitbaum
1e9b1fe740 shairport-sync: update to using pkg-config 2021-09-29 20:45:55 +10:00
Peter
993b36b152 [LE10] libbluray: disable X11 check because it will not run in headless mode 2021-09-27 20:07:32 +02:00
Matthias Reichl
120aafd282 Merge pull request #5583 from heitbaum/fluidsynth
[le10] fluidsynth: update to 2.2.3 and use with audiodecoder.fluidsynth 19.0.1-Matrix
2021-09-27 14:36:50 +02:00
heitbaum
7a20467088 libsndfile: enable external-libs (FLAC, Ogg, Opus and Vorbis)
create the pkg-config sndfile.pc used by fluidsynth and pulseaudio
2021-09-27 20:46:29 +10:00
SupervisedThinking
f5b3caace1 libsndfile: update to 1.0.31
- updated copyright notes
- updated license to SPDX short identifier
- switched to github repo
- enabled pic
- use CMake build
- updated build opts
2021-09-27 20:46:29 +10:00
heitbaum
38fff19e02 fluidsynth: update to 2.2.3
update 1.1.6 (25 Jun 2017) to 2.2.3 (12 Sep 2021)
changelog: https://github.com/FluidSynth/fluidsynth/releases
release notes:
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.1.8
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.0
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.1
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.2
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.3

- enable linking with libsndfile
- use static libraries during build
2021-09-27 20:46:29 +10:00
heitbaum
fe693871c5 soxr: dont build with openmp 2021-09-27 20:46:29 +10:00
Matthias Reichl
be8b823e65 Merge pull request #5690 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-09-27 11:18:24 +02:00
heitbaum
02749120c9 kodi-binary-addons: update to latest versions
- audiodecoder.fluidsynth: update 19.0.0-Matrix to 19.0.1-Matrix
- audiodecoder.modplug: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.openmpt: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.qsf: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.sidplay: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.snesapu: update 3.0.0-Matrix to 19.0.0-Matrix
2021-09-27 17:03:04 +10:00
Christian Hewitt
05c7cb738a Merge pull request #5686 from jernejsk/opi3-dt-fix-10
[backport] Allwinner: linux: Fix OrangePi 3 DT
2021-09-26 14:01:53 +04:00
Jernej Skrabec
0e4415bb93 Allwinner: linux: Fix OrangePi 3 DT 2021-09-26 10:41:34 +02:00
CvH
614f972f91 Merge pull request #5665 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-09-24 12:01:22 +02:00
mglae
8bb3765d74 rsync: fix reported version for rsync client 2021-09-23 12:37:16 -04:00
Christian Hewitt
c95f166075 Merge pull request #5681 from HiassofT/le10-ffmpeg-rpi-9
ffmpeg: update rpi patch
2021-09-23 14:28:05 +04:00
Christian Hewitt
6a1b8e2a86 Merge pull request #5680 from HiassofT/le10-kernel-5.10.63
[le10] linux (RPi): update to 5.10.63-a5d2df0
2021-09-23 14:27:10 +04:00
Matthias Reichl
73ad4ea695 linux (RPi): update to 5.10.63-a5d2df0
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-23 10:50:47 +02:00
Matthias Reichl
7ff83ef418 RPi: update to firmware f9bc224
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-23 10:50:47 +02:00
Matthias Reichl
f389d61d11 RPi: update to firmware 5d61ab7
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-23 10:50:47 +02:00
Matthias Reichl
620ceaa39d linux (RPi): update to 5.10.63-27f5c22
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-23 10:50:47 +02:00
Matthias Reichl
6fb25cbb73 RPi: update to firmware d5d14f4
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-09-23 10:50:47 +02:00
Matthias Reichl
d768be3e92 ffmpeg: update rpi patch
Patch created using revisions f719f86..8203de6
from branch test/4.3.2/rpi_main of https://github.com/jc-kynesim/rpi-ffmpeg
2021-09-23 10:44:18 +02:00
Chad Wagner
4c3b38c68e rsync: add lchmod workaround patches 2021-09-22 19:34:21 -04:00
heitbaum
aca1e468a8 kodi-binary-addons: update to latest versions
- audiodecoder.ssf: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.stsound: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.timidity: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.upse: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.usf: update 4.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.vgmstream: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.wsr: update 3.0.1-Matrix to 19.0.0-Matrix
- pvr.dvbviewer: update 7.3.3-Matrix to 19.0.1-Matrix
- pvr.filmon: update 6.1.3-Matrix to 19.0.0-Matrix
- pvr.hdhomerun: update 7.1.1-Matrix to 19.0.0-Matrix
- pvr.octonet: update 4.1.0-2-Matrix to 19.0.0-Matrix
- pvr.teleboy: update 19.8.0-Matrix to 19.8.2-Matrix
- screensaver.asteroids: update 2.6.0-Matrix to 19.0.0-Matrix
- screensaver.asterwave: update 3.3.0-Matrix to 19.0.0-Matrix
- screensaver.biogenesis: update 2.5.0-Matrix to 19.0.0-Matrix
- screensaver.greynetic: update 2.5.0-Matrix to 19.0.0-Matrix
- screensaver.matrixtrails: update 2.6.0-Matrix to 19.0.0-Matrix
- screensaver.pingpong: update 2.4.0-Matrix to 19.0.0-Matrix
- screensaver.pyro: update 3.3.0-Matrix to 19.0.0-Matrix
- screensaver.shadertoy: update 3.2.0-Matrix to 19.0.0-Matrix
- screensaver.stars: update 2.4.0-Matrix to 19.0.0-Matrix
- vfs.libarchive: update 2.0.1-Matrix to 19.0.0-Matrix
- vfs.rar: update 4.0.0-Matrix to 19.0.0-Matrix
- vfs.sftp: update 2.0.0-Matrix to 19.0.0-Matrix
2021-09-22 23:03:26 +10:00
Portisch
35a105da91 apache-ant: bump package to 1.10.11 2021-09-20 15:56:44 +02:00
CvH
4a92a19422 Merge pull request #5658 from heitbaum/binaries10
kodi-binary-addons: update to latest versions
2021-09-19 09:08:03 +02:00
heitbaum
9174632a19 kodi-binary-addons: update to latest versions
- pvr.hts: update 8.4.0-Matrix to 19.0.0-Matrix
- pvr.iptvsimple: update 7.6.13-Matrix to 19.0.0-Matrix
- pvr.mediaportal.tvserver: update 8.2.1-Matrix to 19.0.0-Matrix
- pvr.nextpvr: update 8.2.9-Matrix to 19.0.0-Matrix
- pvr.waipu: update 2.9.4-Matrix to 19.0.0-Matrix
2021-09-19 14:28:48 +10:00
CvH
3d6bbb5ae4 Merge pull request #5651 from heitbaum/binaries10
kodi-binary-addons: update to latest versions
2021-09-18 09:42:29 +02:00
heitbaum
965221c3a6 kodi-binary-addons: update to latest versions
- pvr.argustv: update 7.1.2-Matrix to 19.0.0-Matrix
- pvr.dvblink: update 9.1.2-Matrix to 19.0.0-Matrix
- pvr.nextpvr: update 8.2.8-Matrix to 8.2.9-Matrix
- pvr.njoy: update 7.1.1-Matrix to 19.0.0-Matrix
- pvr.pctv: update 6.1.1-Matrix to 19.0.0-Matrix
- pvr.stalker: update 7.1.1-Matrix to 19.0.0-Matrix
- pvr.vbox: update 8.1.2-Matrix to 19.0.0-Matrix
- pvr.vdr.vnsi: update 8.2.3-Matrix to 19.0.0-Matrix
- pvr.vuplus: update 7.4.11-Matrix to 19.0.0-Matrix
- pvr.wmc: update 6.1.2-Matrix to 19.0.0-Matrix
2021-09-18 16:42:29 +10:00
CvH
9e4d9f89eb Merge pull request #5636 from Portisch/libreelec-10.0
inputstream.adaptive: bump package to 19.0.0
2021-09-17 12:26:18 +02:00
CvH
4ce197fa2c Merge pull request #5641 from heitbaum/binaries10
kodi-binary-addons: update to latest versions
2021-09-17 12:24:20 +02:00
CvH
ef9ca26bb1 Merge pull request #5643 from mglae/le10_settings_8b1efa30
LibreELEC-settings: update to 8b1efa30
2021-09-17 12:23:45 +02:00
mglae
b9bcda6987 kodi.sh: never delete just created crash log
If system time was not set via NTP on RTC-less devices, current log may have
the oldest time stamp.
2021-09-16 20:04:41 +02:00
mglae
d661c840a4 LibreELEC-settings: update to 8b1efa30 2021-09-15 22:44:29 +02:00
heitbaum
6513b79dfc kodi-binary-addons: update to latest versions
- inputstream.ffmpegdirect: update 1.21.8-Matrix to 19.0.0-Matrix
- inputstream.rtmp: update 3.4.0-Matrix to 19.0.0-Matrix
- peripheral.xarcade: update 1.2.0-Matrix to 19.0.0-Matrix
- pvr.demo: update 7.1.5-Matrix to 19.0.0-Matrix
- pvr.mythtv: update 7.3.1-Matrix to 7.3.4-Matrix
- visualization.projectm: update 3.3.0-Matrix to 19.0.0-Matrix
- visualization.shadertoy: update 19.0.1-Matrix to 19.1.1-Matrix
2021-09-15 20:13:29 +10:00
Portisch
82a24c8e3c kodi-config: LIBC_WIDEVINE_PATCHLEVEL is obsolete since script.module.inputstreamhelper v0.5.8 2021-09-15 09:21:26 +02:00
Portisch
564dd3d70b inputstream.adaptive: bump package to 19.0.0 2021-09-15 09:12:23 +02:00
heitbaum
941f2eb9a9 tvheadend43: update to 4.3-1979 2021-09-14 22:14:24 +10:00
Christian Hewitt
8cd56b5e97 Merge pull request #5629 from jernejsk/aw-hdmi-fix-10
[LE10] Allwinner: linux: Fix HDMI driver
2021-09-14 05:49:49 +04:00
CvH
a029a9b8ae Merge pull request #5625 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-09-13 20:06:47 +02:00
Jernej Skrabec
59a2d60230 Allwinner: linux: Fix HDMI driver 2021-09-13 20:03:13 +02:00
heitbaum
542ec1667f kodi-binary-addons: update to latest versions
- pvr.iptvsimple: update 7.6.11-Matrix to 7.6.13-Matrix
- pvr.nextpvr: update 8.2.7-Matrix to 8.2.8-Matrix
- visualization.fishbmc: update 6.3.0-Matrix to 19.0.0-Matrix
- visualization.goom: update 3.4.0-Matrix to 19.0.0-Matrix
- visualization.matrix: update 1.0.1-Matrix to 19.0.0-Matrix
2021-09-13 22:24:32 +10:00
CvH
fe3e530950 Merge pull request #5620 from heitbaum/minisatip10
[le10] minisatip: update to 1.1.44 (107)
2021-09-12 08:36:27 +02:00
heitbaum
a9321275b3 minisatip: update to 1.1.44 (107)
Co-authored-by: CvH <1355173+CvH@users.noreply.github.com>
2021-09-11 23:50:42 +10:00
CvH
9d1d5ca127 Merge pull request #5618 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-09-11 15:03:18 +02:00
heitbaum
f21a9cede9 kodi-binary-addons: update to latest versions
- pvr.iptvsimple: update 7.6.10-Matrix to 7.6.11-Matrix
- visualization.pictureit: update 3.4.0-Matrix to 19.0.0-Matrix
2021-09-11 17:10:48 +10:00
Christian Hewitt
5fb97cb227 Merge pull request #5611 from vpeter4/sundtek-le10
[le10] sundtek-mediatv: updates for Python 3
2021-09-08 04:29:54 +04:00
Peter
ec47c1d798 [le10] sundtek-mediatv: updates for Python 3 2021-09-07 20:41:16 +02:00
heitbaum
356b0d811a samba: update to 4.13.11
update 4.13.9 to 4.13.11

release notes:
- https://www.samba.org/samba/history/samba-4.13.10.html
- https://www.samba.org/samba/history/samba-4.13.11.html
2021-09-07 22:07:53 +10:00
CvH
67abdb827f Merge pull request #5599 from heitbaum/pic10
[le10] build with -fPIC: aom and opus
2021-09-04 20:32:05 +02:00
heitbaum
2d59fb29d1 aom: build with -fPIC 2021-09-03 19:30:59 +10:00
heitbaum
d4e51735ff opus: build with -fPIC 2021-09-03 19:30:39 +10:00
Christian Hewitt
80d14d3daf Merge pull request #5582 from heitbaum/vfs-sftp10
[le10] vfs.sftp: update PKG_REV to build with libssh-0.9.6
2021-09-03 09:16:18 +04:00
Christian Hewitt
a2ec8af719 Merge pull request #5598 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-09-03 09:14:37 +04:00
heitbaum
0648d30fa2 kodi-binary-addons: update to latest versions
- peripheral.joystick: update 1.7.2-Matrix to 19.0.0-Matrix
- visualization.shadertoy: update 19.0.0-Matrix to 19.0.1-Matrix
- visualization.waveform: update 19.0.0-Matrix to 19.0.1-Matrix
2021-09-03 12:41:34 +10:00
Christian Hewitt
b5e4de9d18 Merge pull request #5594 from heitbaum/binaries10
kodi-binary-addons: update to latest versions
2021-09-01 16:28:15 +04:00
heitbaum
895a356552 kodi-binary-addons: update to latest versions
- audioencoder.flac: update 3.0.0-Matrix to 19.0.0-Matrix
- audioencoder.lame: update 3.0.2-Matrix to 19.0.0-Matrix
- audioencoder.vorbis: update 3.0.1-Matrix to 19.0.0-Matrix
- audioencoder.wav: update 3.0.0-Matrix to 19.0.0-Matrix
- imagedecoder.raw: update 3.0.1-Matrix to 19.0.0-Matrix
2021-09-01 21:49:10 +10:00
CvH
c91d4d44e5 Merge pull request #5586 from heitbaum/jellfin
jellyfin: update License and Description
2021-08-29 12:03:40 +02:00
heitbaum
e8143ec475 jellyfin: update License and Description 2021-08-29 19:57:39 +10:00
CvH
3d8e1af09a Merge pull request #5584 from heitbaum/binaries10
[le10] kodi-binary-addons: update to latest versions
2021-08-29 10:37:19 +02:00
CvH
3b69d8e615 Merge pull request #5488 from heitbaum/jellyfin
Jellyfin: add new addon package
2021-08-29 10:36:51 +02:00
heitbaum
6d4ceaf381 kodi-binary-addons: update to latest versions
- audiodecoder.organya: update 3.0.0-Matrix to 19.0.0-Matrix
- imagedecoder.heif: update 1.4.0-Matrix to 19.0.0-Matrix
- imagedecoder.mpo: update 2.0.1-Matrix to 19.0.0-Matrix
- pvr.filmon: update 6.1.2-Matrix to 6.1.3-Matrix
- pvr.iptvsimple: update 7.6.9-Matrix to 7.6.10-Matrix
- pvr.vuplus: update 7.4.9-Matrix to 7.4.11-Matrix
2021-08-29 15:18:41 +10:00
heitbaum
5591d61027 vfs.sftp: update PKG_REV to build with libssh-0.9.6 2021-08-29 14:02:10 +10:00
heitbaum
8b3e95c5e5 libssh: update to 0.9.6
security release
ann: https://www.libssh.org/2021/08/26/libssh-0-9-6-security-release/
2021-08-29 14:02:10 +10:00
Christian Hewitt
f371015afd Merge pull request #5580 from heitbaum/wire10
[le10] wireless-regdb: update to 2021.08.28
2021-08-29 07:57:48 +04:00
heitbaum
0a492e0ccc wireless-regdb: update to 2021.08.28
update 2021.04.21 to 2021.08.28

Release notes:

2021-08-28: Released
2021-08-28 wireless-regdb: update regulatory database based on preceding changes
2021-08-27 Update regulatory rules for Ecuador (EC)
2021-08-06 wireless-regdb: Update regulatory rules for Norway (NO) on 6 and 60 GHz
2021-08-02 wireless-regdb: Update regulatory rules for Germany (DE) on 6GHz
2021-07-14: Released
2021-07-14 wireless-regdb: update regulatory database based on preceding changes
2021-07-14 wireless-regdb: reduce bandwidth for 5730-5850 and 5850-5895 MHz in US
2021-07-08 wireless-regdb: remove PTMP-ONLY from 5850-5895 MHz for US
2021-07-06 wireless-regdb: recent FCC report and order allows 5850-5895 immediately
2021-06-08 wireless-regdb: update 5725-5850 MHz rule for GB
2021-08-29 13:51:16 +10:00
Christian Hewitt
7708407cce Merge pull request #5578 from heitbaum/init10 2021-08-29 06:26:17 +04:00
heitbaum
67ac35dabb parted: update parted:init to use /usr/sbin 2021-08-29 11:16:26 +10:00
CvH
536a90c9da Merge pull request #5499 from heitbaum/kernel10rc
[Allwinner,Generic,Rockchip] linux: Update to 5.10.61
2021-08-28 07:59:31 +02:00
Christian Hewitt
f73c12aa78 Merge pull request #5575 from heitbaum/binaries10
kodi-binary-addons: update to latest versions (LE10)
2021-08-28 06:55:56 +04:00
heitbaum
c9e6c042b5 kodi-binary-addons: update to latest versions
- audiodecoder.2sf: update 19.0.0-Matrix to 19.0.1-Matrix
- audiodecoder.fluidsynth: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.gsf: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.ncsf: update 3.0.0-Matrix to 19.0.0-Matrix
- audiodecoder.nosefart: update 3.0.0-Matrix to 19.0.0-Matrix
- inputstream.adaptive: update 2.6.22-Matrix to 2.6.23-Matrix
- pvr.demo: update 7.1.4-Matrix to 7.1.5-Matrix
- pvr.hts: update 8.3.4-Matrix to 8.4.0-Matrix
2021-08-28 07:56:54 +10:00
Christian Hewitt
8d5cbe6425 Merge pull request #5574 from HiassofT/le10-kernel-5.10.59+
[le10] linux (RPi): update to 5.10.60-e4cb65c
2021-08-27 19:57:33 +04:00
Matthias Reichl
0e803310ac linux (RPi): update to 5.10.60-e4cb65c
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
Matthias Reichl
c0249b095a linux (RPi): update to 5.10.60-2dd846f
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
Matthias Reichl
33bf467e25 linux (RPi): update to 5.10.59-7f4de43
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
Matthias Reichl
5ee39dfdf0 RPi: update to firmware 25e2b59
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
Matthias Reichl
f8c32276d6 linux (RPi): update to 5.10.59-2a30b82
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
Matthias Reichl
d9254726ab RPi: update to firmware 69cfd9f
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-27 17:19:07 +02:00
heitbaum
fc93580331 linux (Samsung): update linux.arm.conf for 5.10.20 2021-08-27 20:16:18 +10:00
heitbaum
c1845af5a6 linux (Qualcomm): update linux.arm.conf for 5.10.20 2021-08-27 20:16:18 +10:00
heitbaum
9642d7592d linux: update to 5.10.61 2021-08-27 06:57:57 +10:00
CvH
7a0e9bc605 Merge pull request #5570 from HiassofT/le10-ffmpeg-rpi-8
[le10] ffmpeg: update rpi patch
2021-08-26 20:24:51 +02:00
CvH
e3b604f818 Merge pull request #5571 from heitbaum/binaries10
kodi-binary-addons: update to latest versions (LE10)
2021-08-26 20:23:39 +02:00
Matthias Reichl
375a3ba892 ffmpeg: update rpi patch
Patch created using revisions f719f86..4044f5f
from branch test/4.3.2/rpi_main of https://github.com/jc-kynesim/rpi-ffmpeg
2021-08-26 18:24:26 +02:00
heitbaum
8c15c27a46 kodi-binary-addons: update to latest versions
- pvr.zattoo: update 19.7.9-Matrix to 19.7.10-Matrix
2021-08-26 23:17:12 +10:00
Matthias Reichl
d9a80e649f ffmpeg: update rpi patch
Patch created using revisions f719f86..d2b6a63
from branch test/4.3.2/rpi_main of https://github.com/jc-kynesim/rpi-ffmpeg
2021-08-26 12:40:53 +02:00
Matthias Reichl
3e6179534e ffmpeg: update rpi patch
Patch created using revisions f719f86..9f4662e
from branch test/4.3.2/rpi_main of https://github.com/jc-kynesim/rpi-ffmpeg
2021-08-26 12:40:53 +02:00
Matthias Reichl
38bdeb0532 ffmpeg gen-patches.sh: use jc's test/4.3.2/rpi_main branch
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-08-26 12:40:53 +02:00
Christian Hewitt
4503a311e5 Merge pull request #5565 from heitbaum/binaries10
kodi-binary-addons: update to latest versions (LE10)
2021-08-25 14:40:04 +04:00
heitbaum
118af6be70 kodi-binary-addons: update to latest versions
- pvr.nextpvr: update 8.2.6-Matrix to 8.2.7-Matrix
2021-08-25 20:27:21 +10:00
Christian Hewitt
7cb84b4a6a Merge pull request #5563 from mglae/le10_mc_4.8.27 2021-08-23 09:01:56 -04:00
mglae
f4b58022a0 system-tools: REV 125 2021-08-23 14:44:19 +02:00
mglae
92add05a48 mc: use ticket 4200 patch for disabled widechar in ncurses
See https://midnight-commander.org/ticket/4200
Define NCURSES_WIDECHAR=0 ourself because of ncurses not installing its configuraton
2021-08-23 14:44:19 +02:00
mglae
b0b5a0c3e6 mc: remove revert-wchar patch 2021-08-23 14:44:19 +02:00
mglae
2388d9191b mc: update to 4.8.27 2021-08-23 14:44:19 +02:00
Christian Hewitt
dc08cad942 Merge pull request #5544 from heitbaum/binaries
kodi-binary-addons: update to latest versions
2021-08-22 07:53:35 -04:00
heitbaum
2f140dd7e8 kodi-binary-addons: update to latest versions
- inputstream.adaptive: update 2.6.22-Matrix to 2.6.23-Matrix
- pvr.hts: update 8.3.4-Matrix to 8.4.0-Matrix
2021-08-22 21:20:49 +10:00
Jernej Skrabec
ce9e3b3fd5 ffmpeg: update v4l2-request patch
Patch created using revisions e2ee55c..dec361c
from branch v4l2-request-hwaccel-4.3.2-old-kernel of https://github.com/jernejsk/FFmpeg
2021-08-21 19:31:40 +10:00
heitbaum
70d8dfa57a linux (iMX8): fix drm-bridge-mhdp patch for 5.10.55 2021-08-21 19:31:40 +10:00
heitbaum
54544d6474 linux (Generic): add config option ACPI_TABLE_OVERRIDE_VIA_BUILTIN_INITRD is not set 2021-08-21 19:31:40 +10:00
heitbaum
0b9c252774 linux (Rockchip): update RK3328_PD_GPU patch for 5.10.53 2021-08-21 19:31:40 +10:00
heitbaum
d2e1a72c9f linux (Generic): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:40 +10:00
heitbaum
146a268aca linux (iMX8): add config option CONFIG_BTRFS_FS_POSIX_ACL=y 2021-08-21 19:31:40 +10:00
heitbaum
1d0652b715 linux (iMX6): add config option CONFIG_ARM_SCMI_PROTOCOL is not set 2021-08-21 19:31:40 +10:00
heitbaum
b236afa4e9 linux (Allwinner arm): add config option CONFIG_ARM_SCMI_PROTOCOL is not set 2021-08-21 19:31:39 +10:00
heitbaum
d307f4a802 linux (NXP iMX8): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
67b632b327 linux (Rockchip): patches upstreamed in 5.10.52 2021-08-21 19:31:39 +10:00
heitbaum
ff8b66772b linux (Allwinner): patches upstreamed in 5.10.52 2021-08-21 19:31:39 +10:00
heitbaum
3cdf4cc068 linux (Samsung): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
8763317528 linux (Rockchip RK3399): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
b13e99c7e1 linux (Rockchip RK3328): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
27d9d892dd linux (Rockchip RK3288): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
97b1d79318 linux (Qualcomm): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
06e76fbe28 linux (NXP iMX6): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
31f7f8e7cb linux (Allwinner arm): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
2548500ee7 linux (Allwinner): add config option BATTERY_RT5033 is not set 2021-08-21 19:31:39 +10:00
heitbaum
71351d2b0b linux (Qualcomm): add config option NVME_TCP is not set 2021-08-21 19:31:39 +10:00
heitbaum
470a741d30 linux (Samsung): add config option NVME_TCP is not set 2021-08-21 19:31:39 +10:00
heitbaum
ff8827d62e linux (Rockchip): 5.10.51 upstreamed rk3328 usb3
Full patch remove:
- arm64: dts: rockchip: add rk3328 usb3 and usb3phy nodes
- partially included in 5.10.51
2021-08-21 19:31:39 +10:00
heitbaum
a2ae094193 linux (Rockchip): patches upstreamed in 5.10.50 2021-08-21 19:31:39 +10:00
heitbaum
dfbf6487cd linux (Allwinner): patches upstreamed in 5.10.50 2021-08-21 19:31:33 +10:00
heitbaum
b9b9c89202 linux (Allwinner arm): add config option NVME_TCP and VFIO are not set 2021-08-19 23:01:56 +10:00
1828 changed files with 76919 additions and 90916 deletions

1
.github/FUNDING.yml vendored
View File

@@ -1 +0,0 @@
open_collective: libreelec

View File

@@ -1,3 +1,5 @@
BUILD_DIRS=build.*
all: release
system:
@@ -13,10 +15,10 @@ noobs:
./scripts/image noobs
clean:
./scripts/makefile_helper --clean
rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps
distclean:
./scripts/makefile_helper --distclean
rm -rf ./.ccache ./$(BUILD_DIRS)
src-pkg:
tar cvJf sources.tar.xz sources

View File

@@ -8,7 +8,7 @@ Please ask questions in the [LibreELEC forum: Help & Support](https://forum.libr
**Donations**
Contributions towards current project funding goals can be made via [OpenCollective](https://opencollective.com/libreelec/donate).
Contributions towards current project funding goals can be sent via PayPal to donations@libreelec.tv
**License**

View File

@@ -3,13 +3,6 @@
TARGET_CPU=cortex-a53
fi
# 64bit userland and neon required by armv8
if [ -z "${TARGET_FEATURES}" ]; then
TARGET_FEATURES="64bit neon"
else
TARGET_FEATURES+=" 64bit neon"
fi
# TARGET_CPU:
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72
# exynos-m1 qdf24xx thunderx xgene1 cortex-a57.cortex-a53
@@ -20,6 +13,8 @@
generic|cortex-a35|cortex-a53|cortex-a57|cortex-a72|exynos-m1|qdf24xx|thunderx|xgene1|cortex-a57.cortex-a53|cortex-a72.cortex-a53|cortex-a73.cortex-a53)
TARGET_SUBARCH=aarch64
TARGET_VARIANT=armv8-a
TARGET_ABI=eabi
TARGET_FEATURES+=" neon"
;;
esac
@@ -30,5 +25,5 @@
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU"
# Disable runtime checking support of ARMv8.0's optional LSE feature. Breaks gdb and mesa compile.
TARGET_CFLAGS="${TARGET_CFLAGS} -mno-outline-atomics"
TARGET_LDFLAGS=""
TARGET_ARCH_GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"

View File

@@ -3,13 +3,6 @@
TARGET_CPU=cortex-a8
fi
# 32bit userland
if [ -z "${TARGET_FEATURES}" ]; then
TARGET_FEATURES="32bit"
else
TARGET_FEATURES+=" 32bit"
fi
# TARGET_CPU:
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
@@ -64,12 +57,8 @@
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}
if [ "${TARGET_KERNEL_ARCH}" = "arm64" ]; then
TARGET_KERNEL_PATCH_ARCH="aarch64"
fi
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated"
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
TARGET_LDFLAGS=""
TARGET_ARCH_GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"

View File

@@ -1,30 +1,17 @@
# determines TARGET_CPU, if not forced by user
if [ -z "${TARGET_CPU}" ]; then
TARGET_CPU="x86-64"
if [ -z "$TARGET_CPU" ]; then
TARGET_CPU=core2
fi
# determine architecture's family
TARGET_SUBARCH="x86_64"
TARGET_SUBARCH=x86_64
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_KERNEL_ARCH="x86"
TARGET_KERNEL_ARCH=x86
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=${TARGET_CPU}"
TARGET_LDFLAGS=""
TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
# build with microarchitecture feature support defined by the TARGET_CPU value
# see https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/home for further details
TARGET_FEATURES="64bit cmov cx8 fpu fxsr mmx osfxsr sce sse sse2"
TARGET_FEATURES_X86_64_V2="cmpxchg16b lahf-sahf popcnt sse3 sse4_1 sse4_2 ssse3"
TARGET_FEATURES_X86_64_V3="avx avx2 bmi1 bmi2 f16c fma lzcnt movbe osxsave"
if [ "${TARGET_CPU}" = "x86-64" ]; then
TARGET_FEATURES+=" no_sahf"
elif [ "${TARGET_CPU}" = "x86-64-v2" ]; then
TARGET_FEATURES+=" ${TARGET_FEATURES_X86_64_V2}"
elif [ "${TARGET_CPU}" = "x86-64-v3" ]; then
TARGET_FEATURES+=" ${TARGET_FEATURES_X86_64_V2} ${TARGET_FEATURES_X86_64_V3}"
else
TARGET_FEATURES+=" UNKNOWN_ADDITIONAL_CPU_SPECIFIC_FEATURES"
fi
TARGET_FEATURES="$(echo ${TARGET_FEATURES} | xargs -n1 | sort -u | xargs)"
# build with SIMD support ( yes / no )
TARGET_FEATURES+=" mmx sse sse2"

View File

@@ -150,33 +150,6 @@ build_msg() {
fi
}
print_qa_checks() {
if [ -n "${PKG_NAME}" ]; then
if [ -d "${PKG_QA_CHECKS}" ]; then
for qa_check in ${PKG_QA_CHECKS}/*; do
print_color CLR_WARNING "[QA CHECK] [${PKG_NAME}] [$(basename ${qa_check})]:\n$(cat ${qa_check})\n\n"
done
fi
fi
}
log_qa_check() {
local qa_check_title="${1}"
local qa_check_message="${2}"
if [ -n "${qa_check_title}" -a -n "${qa_check_message}" ]; then
if [ -n "${PKG_NAME}" ]; then
print_color CLR_WARNING "[QA CHECK] [${PKG_NAME}] [${qa_check_title}]:\n${qa_check_message}\n"
mkdir -p "${PKG_QA_CHECKS}"
echo -e "${qa_check_message}" >> ${PKG_QA_CHECKS}/${qa_check_title}
else
print_color CLR_WARNING "[QA CHECK] [general] [${qa_check_title}]:\n${qa_check_message}\n"
mkdir -p "${BUILD}/qa_checks/general"
echo -e "${qa_check_message}" >> ${BUILD}/qa_checks/general/${qa_check_title}
fi
fi
}
# prints a warning if the file slated for removal doesn't exist
# this allows us to continue instead of bailing out with just "rm"
safe_remove() {
@@ -185,8 +158,10 @@ safe_remove() {
for path in "$@" ; do
if [ -e "${path}" -o -L "${path}" ]; then
rm -r "${path}"
elif [ -n "${PKG_NAME}" ]; then
print_color CLR_WARNING "safe_remove: path does not exist: [${PKG_NAME}]: ${path}\n"
else
log_qa_check "safe_remove" "path does not exist: ${path}"
print_color CLR_WARNING "safe_remove: path does not exist: ${path}\n"
fi
done
}
@@ -239,11 +214,8 @@ check_toolchain_config() {
if [ "${toolchain}" == "AUTOTOOLS" ]; then
toolchain="CONFIGURE"
fi
if [ "${toolchain}" == "CMAKE-MAKE" ]; then
toolchain="CMAKE"
fi
for var in "${!PKG_@}"; do
if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS || "${var}" =~ _TAR_COPY_OPTS ]]; then
if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS ]]; then
continue
fi
if [[ "${var}" =~ _OPTS_${target}$ \
@@ -254,50 +226,8 @@ check_toolchain_config() {
done
}
# args: linker, default availability yes/no
linker_allowed() {
if flag_enabled "$1" "$2"; then
# bfd is always available, others need to be enabled with <LINKER>_SUPPORT="yes"
local linker_support="${1^^}_SUPPORT"
if [ "$1" = "bfd" ] || [ "${!linker_support}" = "yes" ]; then
return 0
fi
fi
return 1
}
# return target linker to use for a package
get_target_linker() {
# all known linkers, in descending order of priority
# those are candidates for explicit opt-in via PKG_BUILD_FLAGS
local all_linkers="mold gold bfd"
# linkers to choose from unless disabled via PKG_BUILD_FLAGS
local linker_candidates="${DEFAULT_LINKER:-bfd} ${all_linkers}"
local linker
# check if package prefers a specific linker
for linker in ${all_linkers}; do
if linker_allowed "${linker}" "no"; then
echo "${linker}"
return
fi
done
# select linker which isn't disabled by PKG_BUILD_FLAGS
for linker in ${linker_candidates}; do
if linker_allowed "${linker}" "yes"; then
echo "${linker}"
return
fi
done
# none of our linkers matched, use the compiler's default linker
echo "compiler_default"
}
setup_toolchain() {
local have_gold="no"
if [ "$LTO_SUPPORT" = "yes" ]; then
if flag_enabled "lto-parallel" "no"; then
TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
@@ -320,14 +250,15 @@ setup_toolchain() {
TARGET_LDFLAGS+=" $FLAGS_OPTIM_LTO_OFF"
fi
local linker="$(get_target_linker)"
local linker_opts="LDFLAGS_OPTIM_LINKER_${linker^^}"
TARGET_LDFLAGS+=" ${!linker_opts}"
# gold flag
if flag_enabled "gold" "$GOLD_SUPPORT" "only-disable"; then
TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_GOLD"
have_gold="yes"
fi
# compiler optimization, descending priority: speed, size, default
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
if [ "${SPLIT_DEBUG_INFO}" = "yes" -a "${linker}" = "gold" ]; then
if [ "${SPLIT_DEBUG_INFO}" = "yes" -a "${have_gold}" = "yes" ]; then
TARGET_CFLAGS+=" $CFLAGS_OPTIM_DEBUG_SPLIT"
TARGET_CXXFLAGS+=" $CXXFLAGS_OPTIM_DEBUG_SPLIT"
TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_DEBUG_SPLIT"
@@ -457,9 +388,6 @@ setup_toolchain() {
echo "SET(CMAKE_C_COMPILER $CC)" >> $CMAKE_CONF
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_CPP_COMPILER $CPP)" >> $CMAKE_CONF
echo "SET(CMAKE_ASM_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_CXX_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_C_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH $SYSROOT_PREFIX)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $CMAKE_CONF
@@ -482,28 +410,12 @@ setup_toolchain() {
export _python_sysroot="$SYSROOT_PREFIX"
export _python_prefix=/usr
export _python_exec_prefix=/usr
# rust
export CARGO_TARGET_DIR="${PKG_BUILD}/.${TARGET_NAME}/target"
export CARGO_HOME="$(get_build_dir rust)/cargo_home"
export RUST_TARGET_PATH="${TOOLCHAIN}/lib/rustlib/"
;;
host:*|bootstrap:*)
export DESTIMAGE="host"
export AWK="gawk"
if [ "$1" = "host" ] && flag_enabled "local-cc" "no"; then
export CC="${LOCAL_CC}"
export CXX="${LOCAL_CXX}"
if [ -n "${LOCAL_CCACHE}" ]; then
export CCACHE_DIR="${LOCAL_CCACHE_DIR}"
export CC="${LOCAL_CCACHE} ${CC}";
export CXX="${LOCAL_CCACHE} ${CXX}";
fi
else
export CC="$TOOLCHAIN/bin/host-gcc"
export CXX="$TOOLCHAIN/bin/host-g++"
fi
export CC="$TOOLCHAIN/bin/host-gcc"
export CXX="$TOOLCHAIN/bin/host-g++"
export CPP="cpp"
export LD="ld"
export AS="as"
@@ -528,9 +440,6 @@ setup_toolchain() {
echo "SET(CMAKE_C_COMPILER $CC)" >> $CMAKE_CONF
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_CPP_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_ASM_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_CXX_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_C_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
echo "SET(CMAKE_AR $AR CACHE FILEPATH "Archiver")" >> $CMAKE_CONF # hum?
echo "SET(CMAKE_FIND_ROOT_PATH $TOOLCHAIN)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)" >> $CMAKE_CONF
@@ -549,23 +458,6 @@ setup_toolchain() {
export _python_sysroot="$TOOLCHAIN"
export _python_prefix=/
export _python_exec_prefix=/
# rust
case "${MACHINE_HARDWARE_NAME}" in
"arm")
RUST_HOST="arm-unknown-linux-gnueabihf"
;;
"aarch64")
RUST_HOST="aarch64-unknown-linux-gnu"
;;
"x86_64")
RUST_HOST="x86_64-unknown-linux-gnu"
;;
esac
export CARGO_TARGET_DIR="${PKG_BUILD}/.${RUST_HOST}/target"
export CARGO_HOME="$(get_build_dir rust)/cargo_home"
export RUST_TARGET_PATH="${TOOLCHAIN}/lib/rustlib/"
;;
esac
}
@@ -581,29 +473,21 @@ cpp = '$CXX'
ar = '$AR'
strip = '$STRIP'
pkgconfig = '$PKG_CONFIG'
llvm-config = '$TOOLCHAIN/bin/llvm-config'
llvm-config = '$TOOLCHAIN/bin/llvm-config-host'
libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
[build_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_NAME}'
endian = 'little'
[host_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_NAME}'
cpu_family = '$TARGET_ARCH'
cpu = '$TARGET_SUBARCH'
endian = 'little'
[built-in options]
[properties]
root = '$TOOLCHAIN'
$(python3 -c "import os; print('c_args = {}'.format([x for x in os.getenv('CFLAGS').split()]))")
$(python3 -c "import os; print('c_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
$(python3 -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('CXXFLAGS').split()]))")
$(python3 -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
[properties]
root = '$TOOLCHAIN'
${!properties}
EOF
}
@@ -619,30 +503,21 @@ cpp = '$TARGET_CXX'
ar = '$TARGET_AR'
strip = '$TARGET_STRIP'
pkgconfig = '$PKG_CONFIG'
llvm-config = '$SYSROOT_PREFIX/usr/bin/llvm-config'
llvm-config = '$TOOLCHAIN/bin/llvm-config-host'
libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
[build_machine]
system = 'linux'
cpu_family = '${MACHINE_HARDWARE_NAME}'
cpu = '${MACHINE_HARDWARE_NAME}'
endian = 'little'
[host_machine]
system = 'linux'
cpu_family = '$TARGET_ARCH'
cpu = '$TARGET_SUBARCH'
endian = 'little'
[built-in options]
[properties]
root = '$SYSROOT_PREFIX/usr'
$(python3 -c "import os; print('c_args = {}'.format([x for x in os.getenv('TARGET_CFLAGS').split()]))")
$(python3 -c "import os; print('c_link_args = {}'.format([x for x in os.getenv('TARGET_LDFLAGS').split()]))")
$(python3 -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('TARGET_CXXFLAGS').split()]))")
$(python3 -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('TARGET_LDFLAGS').split()]))")
[properties]
needs_exe_wrapper = true
root = '$SYSROOT_PREFIX/usr'
${!properties}
EOF
}
@@ -744,7 +619,7 @@ build_with_debug() {
[ "${PKG_IS_KERNEL_PKG}" = "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "linux\+" && return 0
# Build this package with debug if it's a resolved dependency
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}[+]?" && return 0
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}" && return 0
fi
return 1
@@ -786,7 +661,7 @@ init_package_cache() {
export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
# overwrite existing cache files only when they are invalid, or not yet created
mkdir -p "${_CACHE_PACKAGE_GLOBAL%/*}"
mkdir -p "$(dirname "${_CACHE_PACKAGE_GLOBAL}")"
if [ -f "${_CACHE_PACKAGE_LOCAL}" ] && cmp -s "${temp_local}" "${_CACHE_PACKAGE_LOCAL}"; then
rm "${temp_local}"
else
@@ -824,11 +699,11 @@ save_build_config() {
check_path() {
local dashes="===========================" path_err_msg
if [ "${PWD##/usr}" != "${PWD}" ]; then
path_err_msg="\n ${dashes}${dashes}${dashes}"
path_err_msg+="\n ERROR: Detected building inside /usr"
path_err_msg+="\n ${dashes}${dashes}${dashes}"
path_err_msg+="\n This is not supported by the buildsystem."
path_err_msg+="\n Please use another directory (for example your \$HOME) to build ${DISTRONAME}"
path_err_msg="\n $dashes$dashes$dashes"
path_err_msg="${path_err_msg}\n ERROR: Detected building inside /usr"
path_err_msg="${path_err_msg}\n $dashes$dashes$dashes"
path_err_msg="${path_err_msg}\n This is not supported with our buildsystem."
path_err_msg="${path_err_msg}\n Please use another dir (for example your \$HOME) to build ${DISTRONAME}"
die "${path_err_msg}"
fi
@@ -837,13 +712,13 @@ check_path() {
check_distro() {
local dashes="===========================" distro_err_msg
if [ -z "${DISTRO}" -o ! -d "${DISTRO_DIR}/${DISTRO}" ]; then
distro_err_msg="\n ${dashes}${dashes}${dashes}"
distro_err_msg+="\n ERROR: Distro not found, use a valid distro or create a new config"
distro_err_msg+="\n ${dashes}${dashes}${dashes}"
distro_err_msg+="\n\n Valid distros:"
distro_err_msg="\n $dashes$dashes$dashes"
distro_err_msg="${distro_err_msg}\n ERROR: Distro not found, use a valid distro or create a new config"
distro_err_msg="${distro_err_msg}\n $dashes$dashes$dashes"
distro_err_msg="${distro_err_msg}\n\n Valid distros:"
for distros in ${DISTRO_DIR}/*; do
distro_err_msg+="\n - ${distros##*/}"
distro_err_msg="${distro_err_msg}\n - ${distros##*/}"
done
die "${distro_err_msg}"
fi
@@ -852,13 +727,13 @@ check_distro() {
check_project() {
local dashes="===========================" project_err_msg
if [ -z "${PROJECT}" -o ! -d "${PROJECT_DIR}/${PROJECT}" ]; then
project_err_msg="\n ${dashes}${dashes}${dashes}"
project_err_msg+="\n ERROR: Project not found. Use a valid project or create a new config"
project_err_msg+="\n ${dashes}${dashes}${dashes}"
project_err_msg+="\n\n Valid projects:"
project_err_msg="\n $dashes$dashes$dashes"
project_err_msg="${project_err_msg}\n ERROR: Project not found, use a valid project or create a new config"
project_err_msg="${project_err_msg}\n $dashes$dashes$dashes"
project_err_msg="${project_err_msg}\n\n Valid projects:"
for projects in ${PROJECT_DIR}/*; do
project_err_msg+="\n - ${projects##*/}"
project_err_msg="${project_err_msg}\n - ${projects##*/}"
done
die "${project_err_msg}"
fi
@@ -866,22 +741,15 @@ check_project() {
check_device() {
local dashes="===========================" device_err_msg
if [ -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices" ]; then
if [ \( -z "${DEVICE}" -a -d "${PROJECT_DIR}/${PROJECT}/devices" \) -o \
\( -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}" \) ]; then
device_err_msg="\n $dashes$dashes$dashes"
device_err_msg+="\n ERROR: You must not specify DEVICE for the $PROJECT project"
device_err_msg+="\n $dashes$dashes$dashes"
device_err_msg+="\n\n There are no devices for project: ${PROJECT}"
die "${device_err_msg}"
elif [ \( -z "${DEVICE}" -a -d "${PROJECT_DIR}/${PROJECT}/devices" \) -o \
\( -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}" \) ]; then
device_err_msg="\n ${dashes}${dashes}${dashes}"
device_err_msg+="\n ERROR: Specify a valid device for the ${PROJECT} project"
device_err_msg+="\n ${dashes}${dashes}${dashes}"
device_err_msg+="\n\n Valid devices for project: ${PROJECT}"
device_err_msg="${device_err_msg}\n ERROR: You need to specify a valid device for the $PROJECT project"
device_err_msg="${device_err_msg}\n $dashes$dashes$dashes"
device_err_msg="${device_err_msg}\n\n Valid devices for project: ${PROJECT}"
for device in ${PROJECT_DIR}/${PROJECT}/devices/*; do
device_err_msg+="\n - ${device##*/}"
device_err_msg="${device_err_msg}\n - ${device##*/}"
done
die "${device_err_msg}"
fi
@@ -895,17 +763,17 @@ check_arch() {
linux_config_dir="${PROJECT_DIR}/${PROJECT}/linux"
fi
if [ ! -e "${linux_config_dir}/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf" ] &&
! ls "${linux_config_dir}/"*/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf &>/dev/null; then
arch_err_msg="\n ${dashes}${dashes}${dashes}"
arch_err_msg+="\n ERROR: Architecture not found. Use a valid Architecture"
arch_err_msg+="\n for your project or create a new config"
arch_err_msg+="\n ${dashes}${dashes}${dashes}"
arch_err_msg+="\n\n Valid Architectures for project: ${PROJECT}"
if [ ! -e "$linux_config_dir/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf" ] &&
! ls "$linux_config_dir/"*/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf &>/dev/null; then
arch_err_msg="\n $dashes$dashes$dashes"
arch_err_msg="${arch_err_msg}\n ERROR: Architecture not found, use a valid Architecture"
arch_err_msg="${arch_err_msg}\n for your project or create a new config"
arch_err_msg="${arch_err_msg}\n $dashes$dashes$dashes"
arch_err_msg="${arch_err_msg}\n\n Valid Architectures for your project: ${PROJECT}"
for arch in ${linux_config_dir}/*.conf ${linux_config_dir}/*/linux.${TARGET_ARCH}.conf; do
for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
[[ ${arch} =~ .*\*.* ]] && continue #ignore unexpanded wildcard
arch_err_msg+="\n - $(echo ${arch##*/} | cut -f2 -d".")"
arch_err_msg="${arch_err_msg}\n - $(basename $arch | cut -f2 -d".")"
done
die "${arch_err_msg}"
fi
@@ -954,15 +822,6 @@ do_autoreconf() {
export LIBTOOL=$TOOLCHAIN/bin/libtool
fi
# >autoconf-2.69 will call gtkdocize when used in macros
# when called with --install parameter.
# use "true" unless gtkdocsize is in the toolchain.
if [ -e "$TOOLCHAIN/bin/gtkdocize" ]; then
export GTKDOCIZE=$TOOLCHAIN/bin/gtkdocize
else
export GTKDOCIZE=true
fi
if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
mkdir -p $ACLOCAL_DIR
if [ -e "$LIBTOOLIZE" ]; then
@@ -979,11 +838,6 @@ is_sequential_build() {
[ "${MTWITHLOCKS}" != "yes" ] && return 0 || return 1
}
# arg1: filename (libtool) to remove hardcode rpath when --disable-rpath is not supported by configure
libtool_remove_rpath() {
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${1}
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${1}
}
### PACKAGE HELPERS ###
# get variable ($2) for package ($1).
@@ -1257,7 +1111,7 @@ source_package() {
unset_functions
if [ -n "${1}" ]; then
[ -f "${1}" ] && PKG_DIR="${1%/*}" || PKG_DIR="$(get_pkg_directory "${1}")"
[ -f "${1}" ] && PKG_DIR="$(dirname "${1}")" || PKG_DIR="$(get_pkg_directory "${1}")"
[ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ] || die "FAILURE: unable to source package - ${1}/package.mk does not exist"
@@ -1309,10 +1163,10 @@ source_package() {
${PKG_NAME}-${PKG_VERSION}.*)
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
;;
*.tar | *.tbz | *.tgz | *.txz | *.tzst | *.7z | *.zip)
*.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
;;
*.tar.bz2 | *.tar.gz | *.tar.xz | *.tar.zst )
*.tar.bz2 | *.tar.gz | *.tar.xz)
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.tar.${PKG_SOURCE_NAME##*\.}
;;
*.diff | *.patch | *.diff.bz2 | *.patch.bz2 | patch-*.bz2 | *.diff.gz | *.patch.gz | patch-*.gz)
@@ -1332,8 +1186,6 @@ source_package() {
elif [[ "${1}" =~ :init$ ]]; then
PKG_INSTALL="$BUILD/install_init/${PKG_NAME}-${PKG_VERSION}"
fi
PKG_QA_CHECKS="${BUILD}/qa_checks/${PKG_NAME}-${PKG_VERSION}"
fi
build_with_debug && BUILD_WITH_DEBUG="yes" || BUILD_WITH_DEBUG="no"
@@ -1471,6 +1323,23 @@ get_full_firmware_dir() {
echo "$(get_kernel_overlay_dir $1)/lib/firmware"
}
fix_module_depends() {
# modify .modinfo section in kernel module to depends on other required modules
local MODULE="$1"
local DEPENDS="$2"
local OLD_DEPENDS=""
cp ${MODULE} ${MODULE}_orig
$OBJDUMP -s -j .modinfo ${MODULE}_orig | awk 'BEGIN{v=0;} /Contents/ {v=1; next;} {if (v==1) print $0;}' >new.modinfo1
cat new.modinfo1 | cut -c7-41 | awk '{printf($0);}' | sed 's/ //g;s/../\\\x&/g;' >new.modinfo2
/bin/echo -ne `cat new.modinfo2` | tr '\000' '\n' >new.modinfo3
cat new.modinfo3 | awk '/^depends=/ {next;} {print $0;}' | tr '\n' '\000' >new.modinfo
OLD_DEPENDS=$(awk '{FS="="} /depends=/ {print $2}' new.modinfo3)
[ -n "$OLD_DEPENDS" ] && DEPENDS="$OLD_DEPENDS,$DEPENDS"
/bin/echo -ne "depends=$DEPENDS\0" >>new.modinfo
$OBJCOPY --remove-section=.modinfo --add-section=.modinfo=new.modinfo --set-section-flags .modinfo=contents,alloc,load,readonly,data ${MODULE}_orig ${MODULE}
rm new.modinfo*
}
### ADDON HELPERS ###
install_binary_addon() {
@@ -1554,7 +1423,7 @@ done
for f in $PKG_DIR/source/resources/screenshot-*.{jpg,png}; do
if [ -f "$f" ]; then
screenshots+="<screenshot>resources/${f##*/}</screenshot>\n"
screenshots+="<screenshot>resources/$(basename $f)</screenshot>\n"
fi
done
@@ -1621,8 +1490,6 @@ add_user() {
PASSWORD="$2"
if [ "$PASSWORD" = "x" ]; then
PASSWORD="*"
else
PASSWORD=$(openssl passwd -6 "${PASSWORD}")
fi
if ! grep -q "^$1:" ${INSTALL}/usr/cache/shadow; then
echo "$1:$PASSWORD:::::::" >> ${INSTALL}/usr/cache/shadow
@@ -1854,24 +1721,6 @@ release_update_lock() {
flock --unlock 97 2>/dev/null
}
# store current timestamp in TIMESTAMP_xxx variable (xxx set by arg)
# timestamps are seconds.milliseconds since epoch
record_timestamp() {
if [ -n "${TRACE_BUILD_TIMING}" ]; then
typeset -g "TIMESTAMP_$1=$(date +%s.%3N)"
fi
}
# args: text, start timestamp, end timestamp
show_timestamp_diff() {
if [ -n "${TRACE_BUILD_TIMING}" ]; then
local start="TIMESTAMP_$2"
local end="TIMESTAMP_$3"
local timediff=$(echo "${!end}-${!start}" | bc)
printf '%20s: %10.3f\n' "$1" "${timediff}"
fi
}
# Use distribution functions if any
if [ -f "distributions/$DISTRO/config/functions" ]; then
. distributions/$DISTRO/config/functions

View File

@@ -1,32 +1,21 @@
[ -z "${OPENGL}" ] && OPENGL="no"
[ -z "${OPENGLES}" ] && OPENGLES="no"
[ -z "${VULKAN}" ] && VULKAN="no"
if [ "${OPENGL}" = "no" ]; then
if [ "${OPENGL}" = no ]; then
OPENGL_SUPPORT="no"
else
OPENGL_SUPPORT="yes"
fi
if [ "${OPENGLES}" = "no" ]; then
if [ "${OPENGLES}" = no ]; then
OPENGLES_SUPPORT="no"
else
OPENGLES_SUPPORT="yes"
fi
if [ "${VULKAN}" = "no" ]; then
VULKAN_SUPPORT="no"
else
VULKAN_SUPPORT="yes"
fi
get_graphicdrivers() {
# set defaults
GALLIUM_DRIVERS=""
DRI_DRIVERS=""
XORG_DRIVERS=""
VULKAN_DRIVERS_CONFIG=""
VULKAN_DRIVERS_MESA=""
LLVM_SUPPORT="no"
COMPOSITE_SUPPORT="no"
VDPAU_SUPPORT="no"
@@ -34,14 +23,7 @@ get_graphicdrivers() {
V4L2_SUPPORT="no"
if [ "${GRAPHIC_DRIVERS}" = "all" ]; then
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi nvidia nvidia-legacy nvidia-ng vmware virtio vc4"
fi
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
GALLIUM_DRIVERS+=" crocus"
XORG_DRIVERS+=" intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
GRAPHIC_DRIVERS="iris i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
fi
if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
@@ -59,7 +41,14 @@ get_graphicdrivers() {
fi
if listcontains "${GRAPHIC_DRIVERS}" "i915"; then
GALLIUM_DRIVERS+=" i915"
DRI_DRIVERS+=" i915"
XORG_DRIVERS+=" intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if listcontains "${GRAPHIC_DRIVERS}" "i965"; then
DRI_DRIVERS+=" i965"
XORG_DRIVERS+=" intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
@@ -68,7 +57,6 @@ get_graphicdrivers() {
if listcontains "${GRAPHIC_DRIVERS}" "iris"; then
GALLIUM_DRIVERS+=" iris"
XORG_DRIVERS+=" intel"
VULKAN_DRIVERS_MESA+=" intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
@@ -84,7 +72,6 @@ get_graphicdrivers() {
if listcontains "${GRAPHIC_DRIVERS}" "nvidia"; then
XORG_DRIVERS+=" nvidia"
VULKAN_DRIVERS_CONFIG+=" nvidia"
VDPAU_SUPPORT="yes"
fi
@@ -93,17 +80,17 @@ get_graphicdrivers() {
VDPAU_SUPPORT="yes"
fi
if listcontains "${GRAPHIC_DRIVERS}" "nvidia-ng"; then
VULKAN_DRIVERS_CONFIG+=" nvidia-ng"
VAAPI_SUPPORT="yes"
fi
if listcontains "${GRAPHIC_DRIVERS}" "panfrost"; then
GALLIUM_DRIVERS+=" kmsro panfrost"
VULKAN_DRIVERS_MESA+=" panfrost"
V4L2_SUPPORT="yes"
fi
if listcontains "${GRAPHIC_DRIVERS}" "r200"; then
DRI_DRIVERS+=" r200"
XORG_DRIVERS+=" ati"
COMPOSITE_SUPPORT="yes"
fi
if listcontains "${GRAPHIC_DRIVERS}" "r300"; then
GALLIUM_DRIVERS+=" r300"
XORG_DRIVERS+=" ati"
@@ -124,7 +111,6 @@ get_graphicdrivers() {
if listcontains "${GRAPHIC_DRIVERS}" "radeonsi"; then
GALLIUM_DRIVERS+=" radeonsi"
XORG_DRIVERS+=" ati amdgpu"
VULKAN_DRIVERS_MESA+=" amd"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
@@ -133,7 +119,6 @@ get_graphicdrivers() {
if listcontains "${GRAPHIC_DRIVERS}" "vc4"; then
GALLIUM_DRIVERS+=" vc4 v3d kmsro"
VULKAN_DRIVERS_MESA+=" broadcom"
V4L2_SUPPORT="yes"
VAAPI_SUPPORT="no"
VDPAU_SUPPORT="no"
@@ -149,16 +134,8 @@ get_graphicdrivers() {
COMPOSITE_SUPPORT="yes"
fi
# VDPAU Support depends on X11
if [ ! "${DISPLAYSERVER}" = "x11" ]; then
VDPAU_SUPPORT="no"
fi
# remove duplicate entries
GALLIUM_DRIVERS="$(echo ${GALLIUM_DRIVERS} | xargs -n1 | sort -u | xargs)"
GRAPHIC_DRIVERS="$(echo ${GRAPHIC_DRIVERS} | xargs -n1 | sort -u | xargs)"
XORG_DRIVERS="$(echo ${XORG_DRIVERS} | xargs -n1 | sort -u | xargs)"
VULKAN_DRIVERS_MESA="$(echo ${VULKAN_DRIVERS_MESA} | xargs -n1 | sort -u | xargs)"
VULKAN_DRIVERS_CONFIG+=" ${VULKAN_DRIVERS_MESA}"
VULKAN_DRIVERS_CONFIG="$(echo ${VULKAN_DRIVERS_CONFIG} | xargs -n1 | sort -u | xargs)"
DRI_DRIVERS="$(echo ${DRI_DRIVERS} | xargs -n1 | sort -u | xargs)"
}

View File

@@ -27,29 +27,26 @@ FLAGS_OPTIM_LTO_FAT="-ffat-lto-objects"
FLAGS_OPTIM_LTO_OFF="-fno-lto"
LDFLAGS_OPTIM_LTO_COMMON="-fuse-linker-plugin"
# linker specific flags
LDFLAGS_OPTIM_LINKER_COMPILER_DEFAULT=""
LDFLAGS_OPTIM_LINKER_BFD="-fuse-ld=bfd"
LDFLAGS_OPTIM_LINKER_GOLD="-fuse-ld=gold"
LDFLAGS_OPTIM_LINKER_MOLD="-fuse-ld=mold"
# gold flags
LDFLAGS_OPTIM_GOLD="-fuse-ld=gold"
# default compiler optimization
CFLAGS_OPTIM_DEFAULT="-O2 -fomit-frame-pointer -DNDEBUG"
CFLAGS_OPTIM_DEFAULT="-O2 -fomit-frame-pointer"
CXXFLAGS_OPTIM_DEFAULT="$CFLAGS_OPTIM_DEFAULT"
# speed flag
CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer -DNDEBUG"
CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer"
CXXFLAGS_OPTIM_SPEED="$CFLAGS_OPTIM_SPEED"
# size flag
CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer -DNDEBUG"
CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer"
CXXFLAGS_OPTIM_SIZE="$CFLAGS_OPTIM_SIZE"
# debug settings
CFLAGS_OPTIM_DEBUG="-ggdb -Og"
CFLAGS_OPTIM_DEBUG="-ggdb -Os"
CXXFLAGS_OPTIM_DEBUG="$CFLAGS_OPTIM_DEBUG"
LDFLAGS_OPTIM_DEBUG="-ggdb"
# split debug settings (requires gold)
CFLAGS_OPTIM_DEBUG_SPLIT="-gdwarf-4 -gsplit-dwarf -Og"
CFLAGS_OPTIM_DEBUG_SPLIT="-gsplit-dwarf -Os"
CXXFLAGS_OPTIM_DEBUG_SPLIT="$CFLAGS_OPTIM_DEBUG_SPLIT"
LDFLAGS_OPTIM_DEBUG_SPLIT="-gdwarf-4 -Wl,--gdb-index"
LDFLAGS_OPTIM_DEBUG_SPLIT="-Wl,--gdb-index"
# position-independent code
CFLAGS_OPTIM_PIC="-fPIC -DPIC"
@@ -69,14 +66,13 @@ if [ -z "$HOST_LIBDIR" ]; then
# ubuntu/debian specific "multiarch support"
export MACHINE_HARDWARE_NAME="$(uname -m)"
FAMILY_TRIPLET=$($LOCAL_CC -print-multiarch)
if [ -n "$FAMILY_TRIPLET" ]; then
if [ -d /lib/$FAMILY_TRIPLET ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
fi
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
fi
export MACHINE_HARDWARE_PLATFORM="$(uname -i)"
FAMILY_TRIPLET=${HOST_NAME/${MACHINE_HARDWARE_NAME}/${MACHINE_HARDWARE_PLATFORM}}
if [ -d /lib/$FAMILY_TRIPLET ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
fi
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
fi
# default multiarch support

View File

@@ -26,11 +26,6 @@ DISTRO="${DISTRO:-LibreELEC}"
# determines PROJECT, if not forced by user
export PROJECT="${PROJECT:-Generic}"
# default to Generic device if building Generic project without device set
if [ "${PROJECT}" = "Generic" -a -z "${DEVICE}" ]; then
export DEVICE="Generic"
fi
# determines TARGET_ARCH, if not forced by user
export ARCH="${ARCH:-x86_64}"
TARGET_ARCH="${ARCH}"
@@ -48,26 +43,21 @@ fi
# read DISTRO version information
. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n"
# read DISTRO options
# read DISTRO options if available
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
. "${DISTRO_DIR}/${DISTRO}/options"
fi
# read PROJECT options
# read PROJECT options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/options"
fi
# read DEVICE options
# read DEVICE options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
fi
# read architecture defaults
if [ -f "config/arch.${TARGET_ARCH}" ]; then
. "config/arch.${TARGET_ARCH}"
fi
# projects can set KERNEL_NAME (kernel.img)
KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
@@ -103,15 +93,6 @@ VERBOSE="${VERBOSE:-yes}"
# directory.
CCACHE_CACHE_SIZE="10G"
# compression level for ccache
# This option determines the level at which ccache will compress object files
# using the real-time compression algorithm Zstandard. It only has effect if
# compression is enabled (which it is by default). Zstandard is extremely fast
# for decompression and very fast for compression for lower compression
# levels. The default is 0. The value 0 means that ccache will choose a
# suitable zstd level, currently 1.
CCACHE_COMPRESSLEVEL="0"
# set addon paths
if [ -z "$ADDON_PATH" ]; then
if [ -n "$ADDON_PROJECT" ]; then
@@ -134,18 +115,6 @@ if [ -f "${HOME}/.libreelec/options" ]; then
. "${HOME}/.libreelec/options"
fi
if [ "${LOCAL_CCACHE_SUPPORT}" = "yes" ] && [ -z "${CCACHE_DISABLE}" ]; then
# like LOCAL_CC check for local ccache only on the very first
# call to config/options, before toolchain has been added to the path,
# otherwise we might pick up ccache from toolchain/bin here
if [ -z "${LOCAL_CCACHE}" ] && [ "${LOCAL_CCACHE_CHECKED}" != "yes" ]; then
export LOCAL_CCACHE="$(command -v ccache)"
export LOCAL_CCACHE_CHECKED="yes"
fi
else
export LOCAL_CCACHE=""
fi
# overwrite OEM_SUPPORT via commandline
if [ "${OEM}" = "yes" -o "${OEM}" = "no" ]; then
OEM_SUPPORT="${OEM}"

View File

@@ -13,6 +13,11 @@ set -e
TARGET_IMG=${TARGET_DIR:-$ROOT/target}
ADDONS=addons
# include ARCH specific options
if [ -f config/arch.$TARGET_ARCH ]; then
. config/arch.$TARGET_ARCH
fi
[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
@@ -56,12 +61,18 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
. config/optimize
# use different toolchain for 64/32 split builds
# use ARM toolchain on 64/32 split builds
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
KERNEL_TOOLCHAIN="aarch64"
if [ "${MACHINE_HARDWARE_NAME}" = "x86_64" ]; then
KERNEL_TOOLCHAIN="aarch64-none-linux-gnu"
elif [ "${MACHINE_HARDWARE_NAME}" = "aarch64" ]; then
KERNEL_TOOLCHAIN="aarch64-none-elf"
else
die "No known toolchain available for ${MACHINE_HARDWARE_NAME}."
fi
fi
if [ -n "$KERNEL_TOOLCHAIN" ]; then
TARGET_KERNEL_PREFIX=$KERNEL_TOOLCHAIN-none-elf-
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-arm-$KERNEL_TOOLCHAIN/bin/$KERNEL_TOOLCHAIN-
else
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
fi
@@ -70,14 +81,6 @@ if [ -z "$CCACHE_DIR" ]; then
export CCACHE_DIR=$BUILD/.ccache
fi
# keep a copy of ccache dir used for toolchain ccache
export BUILD_CCACHE_DIR="${CCACHE_DIR}"
# local ccache dir in case we build early packages with local ccache
if [ -z "${LOCAL_CCACHE_DIR}" ]; then
export LOCAL_CCACHE_DIR="${BUILD}/.ccache-local"
fi
if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
fi
@@ -103,6 +106,3 @@ unset CONFIG_SITE
# Ignore custom python installs...
unset PYTHONHOME PYTHONPATH PYTHONSTARTUP
export PYTHONNOUSERSITE=yes #disable PEP 370
# Fix #4737
unset PYTHONDONTWRITEBYTECODE

155
config/show_config Normal file → Executable file
View File

@@ -5,130 +5,101 @@ show_config() {
get_graphicdrivers
dashes="==========================="
config_message="\n ${dashes}${dashes}${dashes}"
config_message+="\n Configuration for ${DISTRONAME} "
if [ "${OFFICIAL}" = "yes" ]; then
config_message+="(official)"
else
config_message+="(community)"
fi
config_message+="\n ${dashes}${dashes}${dashes}"
config_message="\n $dashes$dashes$dashes"
config_message+="\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
config_message+="\n $dashes$dashes$dashes"
# Build options
config_message+="\n\n Buildsystem configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - CPU:\t\t\t\t\t ${TARGET_CPU}"
config_message+="\n - Kernel Architecture:\t\t\t ${TARGET_KERNEL_ARCH}"
config_message+="\n - Userland Architecture:\t\t ${TARGET_ARCH}"
if [ -n "${TARGET_FLOAT}" ]; then
config_message+="\n - FLOAT:\t\t\t\t ${TARGET_FLOAT}"
fi
if [ -n "${TARGET_FPU}" ]; then
config_message+="\n - FPU:\t\t\t\t\t ${TARGET_FPU}"
fi
config_message+="\n - CPU features:\t\t\t ${TARGET_FEATURES}"
config_message+="\n - LTO (Link Time Optimization) support: ${LTO_SUPPORT}"
config_message+="\n - GOLD (Google Linker) Support:\t ${GOLD_SUPPORT}"
config_message+="\n - MOLD (Modern Linker) Support:\t ${MOLD_SUPPORT}"
config_message+="\n - Default Linker:\t\t\t ${DEFAULT_LINKER}"
config_message+="\n - LLVM support:\t\t\t ${LLVM_SUPPORT}"
config_message+="\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
config_message+="\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
config_message+="\n - FPU:\t\t\t\t\t $TARGET_FPU"
config_message+="\n - CPU features:\t\t\t $TARGET_FEATURES"
config_message+="\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
config_message+="\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
config_message+="\n - LLVM support:\t\t\t $LLVM_SUPPORT"
config_message+="\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
config_message+="\n - CFLAGS:\t\t\t\t ${TARGET_CFLAGS}"
config_message+="\n - LDFLAGS:\t\t\t\t $(sed 's/^ *//' <<< ${TARGET_LDFLAGS})"
config_message+="\n - Local Ccache:\t\t\t ${LOCAL_CCACHE:-no}"
config_message+="\n - CFLAGS:\t $TARGET_CFLAGS"
config_message+="\n - LDFLAGS:\t $TARGET_LDFLAGS"
# Misc. hardware configuration
config_message+="\n\n Misc. hardware configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - ALSA support:\t\t\t ${ALSA_SUPPORT}"
config_message+="\n - Pulseaudio support:\t\t\t ${PULSEAUDIO_SUPPORT}"
config_message+="\n - Bluetooth support:\t\t\t ${BLUETOOTH_SUPPORT}"
config_message+="\n - ALSA support:\t\t\t $ALSA_SUPPORT"
config_message+="\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
config_message+="\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
for config_driver in ${ADDITIONAL_DRIVERS}; do
config_message+="\n - Include driver:\t\t\t ${config_driver}"
for config_driver in $ADDITIONAL_DRIVERS; do
config_message+="\n - Include driver:\t\t\t $config_driver"
done
if [ "${DRIVER_ADDONS_SUPPORT}" = "yes" ]; then
for config_driver_addons in ${DRIVER_ADDONS}; do
config_message+="\n - Include driver add-ons:\t\t ${config_driver_addons}"
if [ "$DRIVER_ADDONS_SUPPORT" = "yes" ]; then
for config_driver_addons in $DRIVER_ADDONS; do
config_message+="\n - Include driver add-ons:\t\t $config_driver_addons"
done
fi
for config_firmware in ${FIRMWARE}; do
config_message+="\n - Include firmware:\t\t\t ${config_firmware}"
for config_firmware in $FIRMWARE; do
config_message+="\n - Include firmware:\t\t\t $config_firmware"
done
# Misc. Filesystems
config_message+="\n\n Misc. Filesystems:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - Swap Support:\t\t\t ${SWAP_SUPPORT}"
if [ "${SWAP_SUPPORT}" = "yes" ]; then
config_message+="\n - Swapfile default size:\t\t ${SWAPFILESIZE}"
config_message+="\n - Swap Support:\t\t\t $SWAP_SUPPORT"
if [ "$SWAP_SUPPORT" = "yes" ]; then
config_message+="\n - Swapfile default size:\t\t $SWAPFILESIZE"
fi
config_message+="\n - Install HFS Tools:\t\t\t ${HFSTOOLS}"
config_message+="\n - NTFS Support (via Fuse):\t\t $NTFS3G"
config_message+="\n - Install HFS Tools:\t\t\t $HFSTOOLS"
# Network service configuration
config_message+="\n\n Network service configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - Avahi (Zeroconf) support:\t\t ${AVAHI_DAEMON}"
config_message+="\n - NFS mounting support:\t\t ${NFS_SUPPORT}"
config_message+="\n - SAMBA mounting support:\t\t ${SAMBA_SUPPORT}"
config_message+="\n - SAMBA server support:\t\t ${SAMBA_SERVER}"
config_message+="\n - SFTP server support:\t\t\t ${SFTP_SERVER}"
config_message+="\n - OpenVPN support:\t\t\t ${OPENVPN_SUPPORT}"
config_message+="\n - WireGuard support:\t\t\t ${WIREGUARD_SUPPORT}"
config_message+="\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
config_message+="\n - NFS mounting support:\t\t $NFS_SUPPORT"
config_message+="\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
config_message+="\n - SAMBA server support:\t\t $SAMBA_SERVER"
config_message+="\n - SFTP server support:\t\t\t $SFTP_SERVER"
config_message+="\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
config_message+="\n - WireGuard support:\t\t\t $WIREGUARD_SUPPORT"
# Graphic configuration
config_message+="\n\n Graphic configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n - Graphic Drivers:\t\t\t ${GRAPHIC_DRIVERS}"
config_message+="\n - Display Server:\t\t\t ${DISPLAYSERVER}"
if [ "${DISPLAYSERVER}" = "x11" ] ; then
for drv in ${XORG_DRIVERS}; do
XORG_DRIVERS_CONFIG+="xf86-video-${drv} "
done
config_message+="\n - X.Org Graphic Drivers:\t\t ${XORG_DRIVERS_CONFIG}"
config_message+="\n - X.Org Composite support:\t\t ${COMPOSITE_SUPPORT}"
fi
config_message+="\n - Window Manager / Compositor:\t\t ${WINDOWMANAGER}"
config_message+="\n - OpenGL (GLX) support (provider):\t ${OPENGL_SUPPORT}"
[ "${OPENGL}" != "no" ] && config_message+=" (${OPENGL})"
config_message+="\n - OpenGL ES support (provider):\t ${OPENGLES_SUPPORT}"
[ "${OPENGLES}" != "no" ] && config_message+=" (${OPENGLES})"
config_message+="\n - Vulkan API support (provider):\t ${VULKAN_SUPPORT}"
[ "${VULKAN}" != "no" ] && config_message+=" (${VULKAN})"
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
config_message+="\n - Vulkan Graphic Drivers:\t\t ${VULKAN_DRIVERS_CONFIG}"
fi
config_message+="\n $dashes$dashes"
# Video Acceleration configuration
config_message+="\n\n Video Acceleration configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n - VA-API Support:\t\t\t ${VAAPI_SUPPORT}"
config_message+="\n - VDPAU Support:\t\t\t ${VDPAU_SUPPORT}"
if [ "$DISPLAYSERVER" = "x11" ] ; then
config_message+="\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
config_message+="\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
config_message+="\n - WindowManager:\t\t\t $WINDOWMANAGER"
fi
config_message+="\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
config_message+="\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
config_message+="\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
config_message+="\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
# OS configuration
config_message+="\n\n OS configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - OEM Support:\t\t\t\t ${OEM_SUPPORT}"
config_message+="\n - Default ROOT Password:\t\t ${ROOT_PASSWORD}"
config_message+="\n - Bootloader:\t\t\t\t ${BOOTLOADER}"
config_message+="\n - UDevil support:\t\t\t ${UDEVIL}"
config_message+="\n - Installer support:\t\t\t ${INSTALLER_SUPPORT}"
for config_package in ${ADDITIONAL_PACKAGES}; do
config_message+="\n - Include package:\t\t\t ${config_package}"
config_message+="\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
config_message+="\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
config_message+="\n - Bootloader:\t\t\t\t $BOOTLOADER"
config_message+="\n - UDevil support:\t\t\t $UDEVIL"
config_message+="\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
for config_package in $ADDITIONAL_PACKAGES; do
config_message+="\n - Include package:\t\t\t $config_package"
done
# Distribution specific configuration
@@ -143,10 +114,16 @@ show_config() {
show_distro_config
fi
config_message+="\n\n ${dashes}${dashes}${dashes}"
config_message+="\n End Configuration for ${DISTRONAME}"
config_message+="\n ${dashes}${dashes}${dashes}"
config_message+="\n\n $dashes$dashes$dashes"
config_message+="\n End Configuration for $DISTRONAME"
config_message+="\n $dashes$dashes$dashes"
config_message+="\n\n\n"
echo -e "${config_message}"
echo -e "$config_message"
}
if [ "${FUNCNAME[0]}" = "main" ]; then
. config/options ""
show_config
fi

View File

@@ -4,26 +4,6 @@ CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_VFAT_FS=y
CONFIG_EXT4_FS=y
CONFIG_HUGETLBFS=n
# netfilter
CONFIG_NETFILTER=y
CONFIG_NF_CONNTRACK=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NF_REJECT_IPV4=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_NF_REJECT_IPV6=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_REJECT=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_NAT=m
CONFIG_IP6_NF_TARGET_MASQUERADE=m
# packages/network/iwd
CONFIG_CRYPTO_USER_API_HASH=y
@@ -45,14 +25,10 @@ CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=m
CONFIG_NLMON=m
CONFIG_RFKILL=m
# packages/network/wireguard
CONFIG_NET=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_NET_UDP_TUNNEL=m
CONFIG_CRYPTO_ALGAPI=y
CONFIG_WIREGUARD=m
@@ -64,13 +40,13 @@ CONFIG_INOTIFY_USER=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EPOLL=y
# CONFIG_NET=y # already set in packages/network/wireguard
CONFIG_NET=y
CONFIG_SYSFS=y
CONFIG_PROC_FS=y
CONFIG_FHANDLE=y
# CONFIG_CRYPTO_USER_API_HASH=y # already set in packages/network/iwd
# CONFIG_CRYPTO_HMAC=y # already set in packages/network/iwd
# CONFIG_CRYPTO_SHA256=y # already set in packages/network/iwd
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_SHA256=y
CONFIG_SYSFS_DEPRECATED=n
CONFIG_UEVENT_HELPER=n
CONFIG_FW_LOADER_USER_HELPER=n
@@ -86,87 +62,3 @@ CONFIG_KCMP=y
CONFIG_RT_GROUP_SCHED=n
CONFIG_CGROUP_BPF=y
CONFIG_BPF_SYSCALL=y
# Native language support
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
# Human Interface Device (HID)
CONFIG_HID_NINTENDO=m
CONFIG_NINTENDO_FF=y
# Docker
CONFIG_NAMESPACES=y
CONFIG_NET_NS=y
CONFIG_PID_NS=y
CONFIG_IPC_NS=y
CONFIG_UTS_NS=y
# CONFIG_CGROUPS=y # already set in packages/sysutils/systemd
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_SCHED=y
CONFIG_CPUSETS=y
CONFIG_MEMCG=y
# CONFIG_KEYS=y # already set in packages/network/iwd
CONFIG_VETH=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_NETFILTER=m
# CONFIG_IP_NF_FILTER=m # already set in netfilter
# CONFIG_IP_NF_TARGET_MASQUERADE=m # already set in netfilter
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_IPVS=m
CONFIG_NETFILTER_XT_MARK=m
# CONFIG_IP_NF_NAT=m # already set in netfilter
CONFIG_NF_NAT=m
CONFIG_POSIX_MQUEUE=y
# CONFIG_CGROUP_BPF=y # already set in packages/sysutils/systemd
CONFIG_USER_NS=y
# CONFIG_SECCOMP=y # already set in packages/sysutils/systemd
# CONFIG_SECCOMP_FILTER=y # already set in packages/sysutils/systemd
CONFIG_CGROUP_PIDS=y
CONFIG_BLK_CGROUP=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_CGROUP_PERF=y
CONFIG_NET_SCHED=y
CONFIG_NET_CLS_CGROUP=m
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_VS=m
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_RR=m
# CONFIG_EXT4_FS=y # already set in general
# CONFIG_EXT4_FS_POSIX_ACL=y # already set in packages/sysutils/systemd
CONFIG_EXT4_FS_SECURITY=y
CONFIG_VXLAN=m
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_GHASH=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_ALGO=y
CONFIG_INET_ESP=y
CONFIG_IPVLAN=m
CONFIG_MACVLAN=m
CONFIG_DUMMY=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_CONNTRACK_FTP=m
CONFIG_NF_NAT_TFTP=m
CONFIG_NF_CONNTRACK_TFTP=m
CONFIG_MD=y
CONFIG_BLK_DEV_DM=m
CONFIG_DM_THIN_PROVISIONING=m
CONFIG_OVERLAY_FS=m

View File

@@ -32,21 +32,12 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
# MOLD (Modern Linker) support
MOLD_SUPPORT="no"
# default linker (bfd / gold / mold)
DEFAULT_LINKER="gold"
# HARDENING (security relevant linker and compiler flags) support
HARDENING_SUPPORT="no"
# Default supported get handlers (archive, git, file etc.)
GET_HANDLER_SUPPORT="archive"
# use local ccache on build host, if available, for early package
# builds before ccache has been built
LOCAL_CCACHE_SUPPORT="yes"
### OS CONFIGURATION ###
@@ -57,7 +48,7 @@
# for a list of additional drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192DU RTL8812AU"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
# Default size of system partition, in MB, eg. 512
SYSTEM_SIZE=512
@@ -96,12 +87,6 @@
# build and install PulseAudio support (yes / no)
PULSEAUDIO_SUPPORT="yes"
# build and install pipewire support (yes / no)
PIPEWIRE_SUPPORT="no"
# build and install eSpeak-NG support (yes / no)
ESPEAK_SUPPORT="no"
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
@@ -147,14 +132,6 @@
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
KODI_SAMBA_SUPPORT="yes"
# build kodi with alsa support (yes/no)
KODI_ALSA_SUPPORT="yes"
# build kodi with pulseaudio support (yes/no)
KODI_PULSEAUDIO_SUPPORT="yes"
# build kodi with pipewire support (yes/no)
KODI_PIPEWIRE_SUPPORT="no"
### KODI ADDONS ###
@@ -184,10 +161,10 @@
DEBUG_GROUP_YES="kodi+"
# wireless daemon to use (wpa_supplicant/iwd)
WIRELESS_DAEMON="iwd"
WIRELESS_DAEMON="wpa_supplicant"
# build and install iSCSI support - iscsistart (yes / no)
ISCSI_SUPPORT="no"
ISCSI_SUPPORT="yes"
# build with NFS support (mounting nfs shares via the OS) (yes / no)
NFS_SUPPORT="yes"
@@ -216,6 +193,9 @@
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# build and install NTFS-3G fuse support (yes / no)
NTFS3G="yes"
# build and install hfs filesystem utilities (yes / no)
HFSTOOLS="yes"
@@ -228,6 +208,14 @@
# build with installer (yes / no)
INSTALLER_SUPPORT="yes"
# Windowmanager to use (fluxbox / none)
WINDOWMANAGER="fluxbox"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
GRAPHIC_DRIVERS="r300 r600 radeonsi iris i915 i965 nvidia nvidia-legacy vmware virtio"
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
@@ -246,9 +234,6 @@
# OEM packages for OEM's (yes / no)
OEM_SUPPORT="no"
# build and install ALSA Audio support (yes / no)
ALSA_SUPPORT="yes"
# additional packages to install:
# Space separated list is supported,
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"

View File

@@ -2,41 +2,41 @@ show_distro_config() {
# Hardware decoder support
config_message+="\n\n Kodi Hardware configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - Video Acceleration provider:\t\t ${KODIPLAYER_DRIVER}"
config_message+="\n - Video Acceleration provider:\t\t $KODIPLAYER_DRIVER"
# Input device configuration
config_message+="\n - Remote support:\t\t\t ${REMOTE_SUPPORT}"
config_message+="\n - CEC Adapter support:\t\t\t ${CEC_SUPPORT}"
config_message+="\n - CEC Framework support:\t\t ${CEC_FRAMEWORK_SUPPORT}"
config_message+="\n - Kodi Joystick support:\t\t ${JOYSTICK_SUPPORT}"
config_message+="\n - Remote support:\t\t\t $REMOTE_SUPPORT"
config_message+="\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message+="\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
config_message+="\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
# Kodi configuration
config_message+="\n\n Kodi Software configuration:"
config_message+="\n ${dashes}${dashes}"
config_message+="\n $dashes$dashes"
config_message+="\n - Kodi Blu-ray support:\t\t ${KODI_BLURAY_SUPPORT}"
if [ "${KODI_BLURAY_SUPPORT}" = "yes" ] ; then
config_message+="\n - Blu-ray BD+ support:\t\t ${BLURAY_BDPLUS_SUPPORT}"
config_message+="\n - Blu-ray AACS support:\t\t ${BLURAY_AACS_SUPPORT}"
config_message+="\n - Kodi Blu-ray support:\t\t $KODI_BLURAY_SUPPORT"
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
config_message+="\n - Blu-ray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
config_message+="\n - Blu-ray AACS support:\t\t $BLURAY_AACS_SUPPORT"
fi
config_message+="\n - Kodi DVDCSS support:\t\t\t ${KODI_DVDCSS_SUPPORT}"
config_message+="\n - Kodi Airplay support:\t\t ${KODI_AIRPLAY_SUPPORT}"
config_message+="\n - Kodi Airtunes support:\t\t ${KODI_AIRTUNES_SUPPORT}"
config_message+="\n - Kodi NFS support:\t\t\t ${KODI_NFS_SUPPORT}"
config_message+="\n - Kodi MySQL support:\t\t\t ${KODI_MYSQL_SUPPORT}"
config_message+="\n - Kodi Optical Drive support:\t\t ${KODI_OPTICAL_SUPPORT}"
config_message+="\n - Kodi SAMBA client support:\t\t ${KODI_SAMBA_SUPPORT}"
config_message+="\n - Kodi UPNP support:\t\t\t ${KODI_UPNP_SUPPORT}"
config_message+="\n - Kodi Webserver support:\t\t ${KODI_WEBSERVER_SUPPORT}"
config_message+="\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
config_message+="\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
config_message+="\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
config_message+="\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
config_message+="\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
config_message+="\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
config_message+="\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
config_message+="\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
config_message+="\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
for config_skin in ${SKINS}; do
config_message+="\n - Include Skin:\t\t\t ${config_skin}"
for config_skin in $SKINS; do
config_message+="\n - Include Skin:\t\t\t $config_skin"
done
config_message+="\n - Default Skin:\t\t\t ${SKIN_DEFAULT}"
config_message+="\n - Include extra fonts:\t\t\t ${KODI_EXTRA_FONTS}"
config_message+="\n - Default Skin:\t\t\t $SKIN_DEFAULT"
config_message+="\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
}

View File

@@ -2,7 +2,7 @@
LIBREELEC_VERSION="devel"
# OS_VERSION: OS Version
OS_VERSION="11.0"
OS_VERSION="10.0"
# ADDON_VERSION: Addon version
ADDON_VERSION="11.0.0"
ADDON_VERSION="10.0.0"

View File

@@ -1,90 +0,0 @@
7-Zip source code
~~~~~~~~~~~~~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7-Zip Copyright (C) 1999-2020 Igor Pavlov.
The licenses for files are:
1) CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction"
2) CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License"
3) Some files are "public domain" files, if "public domain" status is stated in source file.
4) the "GNU LGPL" for all other files. If there is no license information in
some source file, that file is under the "GNU LGPL".
The "GNU LGPL" with "unRAR license restriction" means that you must follow both
"GNU LGPL" rules and "unRAR license restriction" rules.
GNU LGPL information
--------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
BSD 3-clause License
--------------------
The "BSD 3-clause License" is used for the code in LzfseDecoder.cpp that implements LZFSE data decompression.
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc,
that also uses the "BSD 3-clause License":
----
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----
unRAR license restriction
-------------------------
The decompression engine for RAR archives was developed using source
code of unRAR program.
All copyrights to original unRAR code are owned by Alexander Roshal.
The license for original unRAR code has the following restriction:
The unRAR sources cannot be used to re-create the RAR compression algorithm,
which is proprietary. Distribution of modified unRAR sources in separate form
or as a part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
--
Igor Pavlov

View File

@@ -1,17 +0,0 @@
Software License Agreement for NextPVR
IMPORTANT- PLEASE READ CAREFULLY BEFORE USING THIS SOFTWARE: THIS LICENSE AGREEMENT FOR NextPVR ("LICENSE AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER ON BEHALF OF YOURSELF AS AN INDIVIDUAL OR ON BEHALF OF AN ENTITY AS ITS AUTHORIZED REPRESENTATIVE) AND PINSTRIPE LIMITED. FOR THE NextPVR SOFTWARE ("SOFTWARE"). THIS LICENSE AGREEMENT FOR NextPVR SUPERSEDES PREVIOUS VERSIONS. BY INSTALLING THE SOFTWARE (AS DEFINED BELOW), COPYING OR OTHERWISE USING THE SOFTWARE YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS END USER LICENSE AGREEMENT REGARDING YOUR USE OF THE SOFTWARE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE AGREEMENT, UNINSTALL THE SOFTWARE, AND DO NOT COPY OR OTHERWISE USE THE SOFTWARE.
GRANT OF LICENSE: Subject to the following terms, PINSTRIPE LIMITED hereby grants you a non-exclusive, perpetual, non-transferable license to install and to use the NextPVR software ("Software") for personal, non-commercial use. You may copy the Software for back-up or archival purposes.
LICENSE RESTRICTIONS: You may not: (i) reverse engineer, decompile, or disassemble the Software; (ii) modify, or create derivative works based upon, the Software in whole or in part; (iii) distribute copies of the Software; (iv) remove any proprietary notices or labels on the Software; or (v) resell, lease, rent, transfer, sublicense, or otherwise transfer rights to the Software. You agree that the NextPVR software will not be used for commercial purposes without full written permission. Any such forbidden use shall immediately terminate your license to the software.
TITLE: You agree that no title to the intellectual property in the Software is transferred to you. Title, ownership, rights, and intellectual property rights in and to the Software shall remain in PINSTRIPE LIMITED.
UPDATES: From time to time, PINSTRIPE LIMITED may make updates to the Software generally available. You may download and install these software updates released by PINSTRIPE LIMITED. All updates to the Software shall be governed by this Agreement, unless other license terms are provided with the update. Under the Software's default configuration, if you are connected to the Internet, the Software is enabled by default to query latest version of Software and display if updates are available. You may choose to switch this version check off and not use it.
TECHNICAL SUPPORT: Technical support for the software, as made available by PINSTRIPE LIMITED, is available on the web site at: http://www.nextpvr.com
DISCLAIMER OF WARRANTY: The Software is provided to you at minimal charge. ACCORDINGLY, YOU AGREE THAT PINSTRIPE LIMITED HAS MADE NO EXPRESS WARRANTIES, ORAL OR WRITTEN, TO YOU REGARDING THE SOFTWARE AND THAT THE SOFTWARE IS BEING PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND. PINSTRIPE LIMITED DISCLAIMS ANY AND ALL OTHER WARRANTIES, WHETHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF NONINFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. PINSTRIPE LIMITED SHALL NOT BE LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL, COVER, RELIANCE, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LOSS OF ANTICIPATED PROFIT) ARISING FROM ANY CAUSE UNDER OR RELATED TO THIS AGREEMENT.
LIMITATION OF LIABILITY: You must assume the entire risk of using the program. IN NO EVENT SHALL PINSTRIPE LIMITED BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF THE USE OF THE PINSTRIPE LIMITED SOFTWARE, EVEN IF PINSTRIPE LIMITED HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL PINSTRIPE LIMITED'S LIABILITY FOR ANY CLAIM, WHETHER IN CONTRACT, TORT, OR ANY OTHER THEORY OF LIABILITY, EXCEED THE LICENSE FEE PAID BY YOU, PROVIDED, HOWEVER, IF THE RELEVANT SOFTWARE WAS PROVIDED TO YOU AT NO CHARGE YOU AGREE PINSTRIPE LIMITED SHALL NOT BE LIABLE TO YOU FOR ANY DAMAGES. THIS LIMITATION SHALL APPLY TO CLAIMS OF PERSONAL INJURY TO THE EXTENT PERMITTED BY LAW.

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ccid"
PKG_VERSION="1.5.2"
PKG_SHA256="13934487e6f8b48f699a16d367cc7a1af7a3ca874de721ac6e9633beb86e7219"
PKG_VERSION="1.4.34"
PKG_SHA256="e6f7645b59a9a2844eb4b1a7eff512960d7f04a4654af02f7fd2f8aded5db40a"
PKG_LICENSE="LGPL"
PKG_SITE="https://ccid.apdu.fr"
PKG_URL="https://ccid.apdu.fr/files/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
@@ -14,10 +14,6 @@ PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
post_configure_target() {
libtool_remove_rpath libtool
}
make_target() {
make
make -C src/ Info.plist

View File

@@ -3,16 +3,16 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="at-spi2-core"
PKG_VERSION="2.47.1"
PKG_SHA256="c6ba7c160434edebf09d2936933569c936f6ec972301766f2bdac5a4d418153c"
PKG_VERSION="2.40.3"
PKG_SHA256="e49837c2ad30d71e1f29ca8e0968a54b95030272f7ff40b89b48968653f37a5c"
PKG_LICENSE="OSS"
PKG_SITE="https://www.gnome.org/"
PKG_URL="https://download.gnome.org/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-${PKG_VERSION}.tar.xz"
PKG_SITE="http://www.gnome.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain atk dbus glib libXtst"
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
PKG_MESON_OPTS_TARGET="-Ddocs=false \
-Dintrospection=disabled \
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
-Denable-introspection=no \
-Ddbus_daemon=/usr/bin/dbus-daemon"
pre_configure_target() {

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="atk"
PKG_VERSION="2.38.0"
PKG_SHA256="ac4de2a4ef4bd5665052952fe169657e65e895c5057dffb3c2a810f6191a0c36"
PKG_VERSION="2.36.0"
PKG_SHA256="fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788"
PKG_LICENSE="GPL"
PKG_SITE="http://library.gnome.org/devel/atk/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/atk/${PKG_VERSION:0:4}/atk-${PKG_VERSION}.tar.xz"

View File

@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -9,6 +9,10 @@ PKG_URL=""
PKG_DEPENDS_UNPACK+=" libxkbcommon"
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="${PKG_MESON_OPTS_TARGET} \
-Denable-static=false \
-Denable-shared=true"
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}

View File

@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -3,19 +3,21 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="cups"
PKG_VERSION="2.4.2"
PKG_SHA256="7095b2977bb728ded5566a5c802866062840d6541fd027836865949a407c3682"
PKG_VERSION="2.3.3"
PKG_SHA256="fe298713aad0cbb861de24760f140851122caae9f34d480dbfff0bd9211d961a"
PKG_LICENSE="GPL"
PKG_SITE="http://www.cups.org"
PKG_URL="https://github.com/openprinting/cups/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain gnutls zlib"
PKG_URL="https://github.com/apple/cups/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain openssl zlib"
PKG_LONGDESC="CUPS printing system."
PKG_BUILD_FLAGS="+pic -sysroot"
PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
--disable-gssapi \
--with-dnssd=no \
--with-tls=gnutls
--disable-avahi \
--disable-dnssd \
--disable-systemd \
--disable-launchd \
--disable-unit-tests"
pre_configure_target() {

View File

@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gdk-pixbuf"
PKG_VERSION="2.42.6"
PKG_SHA256="c4a6b75b7ed8f58ca48da830b9fa00ed96d668d3ab4b1f723dcf902f78bde77f"
PKG_LICENSE="OSS"
PKG_SITE="http://www.gtk.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff libX11"
PKG_DEPENDS_CONFIG="shared-mime-info"
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
PKG_MESON_OPTS_TARGET="-Ddocs=false \
-Dgir=false \
-Dman=false \
-Drelocatable=false"

View File

@@ -3,14 +3,15 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gtk3"
PKG_VERSION="3.24.36"
PKG_SHA256="27a6ef157743350c807ffea59baa1d70226dbede82a5e953ffd58ea6059fe691"
PKG_VERSION="3.24.30"
PKG_SHA256="ba75bfff320ad1f4cfbee92ba813ec336322cc3c660d406aad014b07087a3ba9"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gtk+/${PKG_VERSION:0:4}/gtk+-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango libxkbcommon"
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango"
PKG_DEPENDS_CONFIG="libXft pango gdk-pixbuf shared-mime-info"
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
PKG_TOOLCHAIN="meson"
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="-Dbroadway_backend=false \

View File

@@ -15,6 +15,7 @@ PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="-Dbenchmark=disabled \
-Dcairo=enabled \
-Ddocs=disabled \
-Dfontconfig=enabled \
-Dfreetype=enabled \
-Dglib=enabled \
-Dgobject=disabled \

View File

@@ -3,12 +3,12 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXScrnSaver"
PKG_VERSION="1.2.4"
PKG_SHA256="75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe"
PKG_VERSION="1.2.3"
PKG_SHA256="f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8"
PKG_LICENSE="GPL"
PKG_SITE="https://xorg.freedesktop.org/"
PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libXext scrnsaverproto"
PKG_SITE="http://xorg.freedesktop.org/"
PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain scrnsaverproto"
PKG_LONGDESC="X11 Screen Saver extension client library."
PKG_BUILD_FLAGS="-sysroot"

View File

@@ -3,15 +3,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXcursor"
PKG_VERSION="1.2.1"
PKG_SHA256="46c143731610bafd2070159a844571b287ac26192537d047a39df06155492104"
PKG_VERSION="1.2.0"
PKG_SHA256="3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782"
PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-${PKG_VERSION}.tar.xz"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libX11 libXfixes libXrender"
PKG_LONGDESC="X11 Cursor management library.s"
PKG_BUILD_FLAGS="+pic -sysroot"
post_configure_target() {
libtool_remove_rpath libtool
}

View File

@@ -3,11 +3,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXft"
PKG_VERSION="2.3.7"
PKG_SHA256="79f0b37c45007381c371a790c2754644ad955166dbf2a48e3625032e9bdd4f71"
PKG_VERSION="2.3.4"
PKG_SHA256="57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd"
PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-${PKG_VERSION}.tar.xz"
PKG_SITE="http://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain fontconfig freetype libXrender util-macros xorgproto"
PKG_LONGDESC="X FreeType library."
PKG_BUILD_FLAGS="+pic -sysroot"

View File

@@ -2,17 +2,13 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libxss"
PKG_VERSION="1.2.4"
PKG_SHA256="75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe"
PKG_VERSION="1.2.3"
PKG_SHA256="f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8"
PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.xz"
PKG_SITE="http://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain util-macros libXext scrnsaverproto"
PKG_LONGDESC="X11 Screen Saver extension library."
PKG_BUILD_FLAGS="+pic -sysroot"
PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull"
post_configure_target() {
libtool_remove_rpath libtool
}

View File

@@ -3,25 +3,16 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pango"
PKG_VERSION="1.50.12"
PKG_SHA256="caef96d27bbe792a6be92727c73468d832b13da57c8071ef79b9df69ee058fe3"
PKG_VERSION="1.49.1"
PKG_SHA256="c4266dc06c01bf0133d3815502426d209de5ea7abd895899e73e7edebaf48f6f"
PKG_LICENSE="GPL"
PKG_SITE="http://www.pango.org/"
PKG_URL="https://download.gnome.org/sources/pango/${PKG_VERSION:0:4}/pango-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib json-glib harfbuzz"
PKG_DEPENDS_CONFIG="cairo"
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib harfbuzz libX11 libXft"
PKG_DEPENDS_CONFIG="libXft cairo"
PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
PKG_TOOLCHAIN="meson"
PKG_BUILD_FLAGS="-sysroot"
configure_package() {
# Build with X11 support
if [ ${DISPLAYSERVER} = "x11" ]; then
PKG_DEPENDS_TARGET+=" libX11 libXft"
PKG_DEPENDS_CONFIG+=" libXft"
PKG_BUILD_FLAGS="-sysroot"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
-Dintrospection=disabled"
}
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
-Dgir=false"

View File

@@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="shared-mime-info"
PKG_VERSION="2.1"
PKG_SHA256="37df6475da31a8b5fc63a54ba0770a3eefa0a708b778cb6366dccee96393cb60"
PKG_LICENSE="GPL2"
PKG_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
PKG_URL="https://gitlab.freedesktop.org/xdg/${PKG_NAME}/-/archive/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain glib libxml2 gettext itstool:host"
PKG_LONGDESC="The shared-mime-info package contains the core database of common types."
PKG_BUILD_FLAGS="-parallel -sysroot"
PKG_MESON_OPTS_TARGET="-Dupdate-mimedb=false"

View File

@@ -0,0 +1,37 @@
diff -Nur shared-mime-info-2.1.orig/data/meson.build shared-mime-info-2.1/data/meson.build
--- shared-mime-info-2.1.orig/data/meson.build 2021-01-01 06:12:16.000000000 +1100
+++ shared-mime-info-2.1/data/meson.build 2021-01-14 00:25:58.299790452 +1100
@@ -1,6 +1,4 @@
-install_man('update-mime-database.1')
-
freedesktop_org_xml = custom_target('freedesktop.org.xml',
input : files(
'freedesktop.org.xml.in',
@@ -21,15 +19,3 @@
[ 'its/shared-mime-info.loc', 'its/shared-mime-info.its', ],
install_dir : get_option('datadir') / 'gettext/its'
)
-
-custom_target('shared-mime-info-spec-html',
- input : 'shared-mime-info-spec.xml',
- output: 'shared-mime-info-spec-html',
- command: [
- xmlto,
- '-o', '@OUTPUT@',
- 'html-nochunks',
- '@INPUT@',
- ],
- build_by_default: true,
-)
diff -Nur shared-mime-info-2.1.orig/meson.build shared-mime-info-2.1/meson.build
--- shared-mime-info-2.1.orig/meson.build 2021-01-01 06:12:16.000000000 +1100
+++ shared-mime-info-2.1/meson.build 2021-01-14 00:24:18.552142696 +1100
@@ -22,7 +22,6 @@
itstool = find_program('itstool')
xmllint = find_program('xmllint')
-xmlto = find_program('xmlto')
###############################################################################
# Find xdgmime

View File

@@ -1,11 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="unix_ar"
PKG_VERSION="0.2.1"
PKG_SHA256="4e1c6e8fe5255b7babe93b9af51532ba09c6946eee413c5db00cab3878d7ed2f"
PKG_LICENSE="BSD 3-Clause"
PKG_SITE="https://github.com/getninjas/unix_ar"
PKG_URL="https://github.com/getninjas/unix_ar/archive/refs/tags/${PKG_VERSION}.tar.gz"
PKG_TOOLCHAIN="manual"
PKG_LONGDESC="Python: This packages allows the reading and writing of AR archive files."

View File

@@ -3,25 +3,25 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="containerd"
PKG_VERSION="1.7.1"
PKG_SHA256="fd844af82afda7242d8eba5e0086c5a0d54ddc3041c1bbdd4d3c62bfee844e3a"
PKG_VERSION="1.3.9"
PKG_SHA256="9244212589c84b12262769dca6fb985c0c680cb5259c8904b29c511d81fd62d0"
PKG_LICENSE="APL"
PKG_SITE="https://containerd.io"
PKG_SITE="https://containerd.tools/"
PKG_URL="https://github.com/containerd/containerd/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain go:host"
PKG_LONGDESC="A daemon to control runC, built for performance and density."
PKG_TOOLCHAIN="manual"
# Git commit of the matching release https://github.com/containerd/containerd/releases
PKG_GIT_COMMIT="78f51771157abb6c9ed224c22013cdf09962315d"
PKG_GIT_COMMIT="8fba4e9a7d01810a393d5d25a3621dc101981175"
pre_make_target() {
go_configure
export CONTAINERD_VERSION="${PKG_VERSION}"
export CONTAINERD_REVISION="${PKG_GIT_COMMIT}"
export CONTAINERD_PKG="github.com/containerd/containerd"
export CONTAINERD_VERSION=${PKG_VERSION}
export CONTAINERD_REVISION=${PKG_GIT_COMMIT}
export CONTAINERD_PKG=github.com/containerd/containerd
export LDFLAGS="-w -extldflags -static -X ${CONTAINERD_PKG}/version.Version=${CONTAINERD_VERSION} -X ${CONTAINERD_PKG}/version.Revision=${CONTAINERD_REVISION} -X ${CONTAINERD_PKG}/version.Package=${CONTAINERD_PKG} -extld ${CC}"
export GO111MODULE=off
@@ -35,7 +35,6 @@ pre_make_target() {
make_target() {
mkdir -p bin
${GOLANG} build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd
${GOLANG} build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim
${GOLANG} build -v -o bin/containerd-shim-runc-v2 -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim-runc-v2
${GOLANG} build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd
${GOLANG} build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim
}

View File

@@ -3,13 +3,13 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="cxxtools"
PKG_VERSION="3.0"
PKG_SHA256="07b18037fb0983f6292f5c8d53e2369e9e7a9711df2c9ad50838aacbc8c62f7c"
PKG_VERSION="2.2.1"
PKG_SHA256="8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342"
PKG_LICENSE="GPL-2"
PKG_SITE="http://www.tntnet.org/cxxtools.html"
PKG_URL="http://www.tntnet.org/download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="toolchain:host openssl:host"
PKG_DEPENDS_TARGET="toolchain cxxtools:host openssl"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain cxxtools:host"
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
PKG_BUILD_FLAGS="+pic"

View File

@@ -1,25 +0,0 @@
From b773c01fc13d2ae67abc0839888e383be23562fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tommi=20M=C3=A4kitalo?= <tommi@tntnet.org>
Date: Sun, 24 Jan 2021 17:20:24 +0100
Subject: [PATCH] make cxxtools::Char a trivial class by definining the default
constructor as default
---
include/cxxtools/char.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/cxxtools/char.h b/include/cxxtools/char.h
index 1e637317..3a4ed62a 100644
--- a/include/cxxtools/char.h
+++ b/include/cxxtools/char.h
@@ -68,9 +68,7 @@ namespace cxxtools
typedef int32_t value_type;
//! Constructs a character with a value of 0.
- Char()
- : _value(0)
- {}
+ Char() = default;
//! Constructs a character using the given value as base for the character value.
Char(value_type ch)

View File

@@ -1,11 +0,0 @@
https://bugs.gentoo.org/851837
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -27,6 +27,7 @@
#include "cxxtools/clock.h"
#include "cxxtools/selector.h"
#include "cxxtools/datetime.h"
+#include <ctime>
#include <stdexcept>
namespace cxxtools

View File

@@ -1,11 +0,0 @@
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -173,7 +173,7 @@ libcxxtools_la_LIBADD = $(LIBICONV)
libcxxtools_la_LDFLAGS = -version-info @sonumber@ @SHARED_LIB_FLAG@
if MAKE_OPENSSL
-libcxxtools_la_LDFLAGS += -lssl
+libcxxtools_la_LIBADD += -lssl -lcrypto
libcxxtools_la_SOURCES += \
sslcertificateimpl.cpp
endif

View File

@@ -12,9 +12,9 @@ diff -Naur cxxtools-2.2/configure cxxtools-2.2.patch/configure
diff -Naur cxxtools-2.2/configure.ac cxxtools-2.2.patch/configure.ac
--- cxxtools-2.2/configure.ac 2013-04-20 23:31:50.000000000 +0200
+++ cxxtools-2.2.patch/configure.ac 2014-01-03 20:26:32.064005192 +0100
diff -Naur cxxtools-2.2/configure.in cxxtools-2.2.patch/configure.in
--- cxxtools-2.2/configure.in 2013-04-20 23:31:50.000000000 +0200
+++ cxxtools-2.2.patch/configure.in 2014-01-03 20:26:32.064005192 +0100
@@ -106,8 +106,8 @@
AC_PROG_LIBTOOL

View File

@@ -1,47 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="cli"
PKG_VERSION="$(get_pkg_version moby)"
PKG_SHA256="b31eb0343e8bb587e921a7630baa659896602072a77ad97720e5f2a8e48005e9"
PKG_LICENSE="ASL"
PKG_SITE="https://github.com/docker/cli"
PKG_URL="https://github.com/docker/cli/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain go:host"
PKG_LONGDESC="The Docker CLI"
PKG_TOOLCHAIN="manual"
# Git commit of the matching release https://github.com/docker/cli/releases
export PKG_GIT_COMMIT="ef23cbc4315ae76c744e02d687c09548ede461bd"
configure_target() {
go_configure
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld ${CC}"
# used for docker version
export GITCOMMIT=${PKG_GIT_COMMIT}
export VERSION=${PKG_VERSION}
export BUILDTIME="$(date --utc)"
cat > "${PKG_BUILD}/go.mod" << EOF
module github.com/docker/cli
go 1.18
EOF
GO111MODULE=auto ${GOLANG} mod tidy -modfile 'vendor.mod' -compat 1.18
GO111MODULE=auto ${GOLANG} mod vendor -modfile vendor.mod
}
make_target() {
mkdir -p bin
PKG_CLI_FLAGS="-X 'github.com/docker/cli/cli/version.Version=${VERSION}'"
PKG_CLI_FLAGS+=" -X 'github.com/docker/cli/cli/version.GitCommit=${GITCOMMIT}'"
PKG_CLI_FLAGS+=" -X 'github.com/docker/cli/cli/version.BuildTime=${BUILDTIME}'"
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/docker -a -tags "${PKG_DOCKER_BUILDTAGS}" -ldflags "${LDFLAGS} ${PKG_CLI_FLAGS}" ./cmd/docker
}
makeinstall_target() {
:
}

View File

@@ -1,11 +0,0 @@
--- a/cli-plugins/manager/manager_unix.go 2023-02-03 11:54:16.746399916 +0000
+++ b/cli-plugins/manager/manager_unix.go 2023-02-03 11:59:04.528175595 +0000
@@ -4,6 +4,6 @@
package manager
var defaultSystemPluginDirs = []string{
- "/usr/local/lib/docker/cli-plugins", "/usr/local/libexec/docker/cli-plugins",
- "/usr/lib/docker/cli-plugins", "/usr/libexec/docker/cli-plugins",
+ "/storage/.kodi/addons/service.system.docker/cli-plugins",
+ "/storage/.kodi/userdata/addon_data/service.system.docker/docker/cli-plugins",
}

View File

@@ -1,32 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ctop"
PKG_VERSION="0.7.7"
PKG_SHA256="0db439f2030af73ad5345884b08a33a762c3b41b30604223dd0ebddde72d2741"
PKG_LICENSE="MIT"
PKG_SITE="https://ctop.sh"
PKG_URL="https://github.com/bcicen/ctop/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain go:host"
PKG_LONGDESC="Top-like interface for container metrics"
PKG_TOOLCHAIN="manual"
# Git commit of the matching release https://github.com/bcicen/ctop/releases
PKG_GIT_COMMIT="11a1cb10f416b4ca5e36c22c1acc2d11dbb24fb4"
pre_make_target() {
go_configure
export CTOP_VERSION="${PKG_VERSION}"
export CTOP_REVISION="${PKG_GIT_COMMIT}"
export CTOP_PKG="github.com/bcicen/ctop"
export LDFLAGS="-w -extldflags -static -X main.version=${CTOP_VERSION} -X main.build=${CTOP_REVISION} -extld ${CC}"
mkdir -p ${GOPATH}/src/github.com/bcicen
ln -fs ${PKG_BUILD} ${GOPATH}/src/${CTOP_PKG}
}
make_target() {
mkdir -p bin
${GOLANG} build -v -o bin/ctop -a -tags "static_build release" -ldflags "${LDFLAGS}"
}

View File

@@ -1,54 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="moby"
PKG_VERSION="23.0.6"
PKG_SHA256="3bbd32f401f652cc15084d3c09bd7acd381571802beac9333fd63d803dc66c3e"
PKG_LICENSE="ASL"
PKG_SITE="https://mobyproject.org/"
PKG_URL="https://github.com/moby/moby/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain go:host systemd"
PKG_LONGDESC="Moby is an open-source project created by Docker to enable and accelerate software containerization."
PKG_TOOLCHAIN="manual"
# Git commit of the matching release https://github.com/moby/moby
export PKG_GIT_COMMIT="9dbdbd4b6d7681bd18c897a6ba0376073c2a72ff"
PKG_MOBY_BUILDTAGS="daemon \
autogen \
exclude_graphdriver_devicemapper \
exclude_graphdriver_aufs \
exclude_graphdriver_btrfs \
journald"
configure_target() {
go_configure
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld ${CC}"
# used for docker version
export GITCOMMIT=${PKG_GIT_COMMIT}
export VERSION=${PKG_VERSION}
export BUILDTIME="$(date --utc)"
cat > "${PKG_BUILD}/go.mod" << EOF
module github.com/docker/docker
go 1.18
EOF
GO111MODULE=auto ${GOLANG} mod tidy -modfile 'vendor.mod' -compat 1.18
GO111MODULE=auto ${GOLANG} mod vendor -modfile vendor.mod
bash hack/make/.go-autogen
}
make_target() {
mkdir -p bin
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/docker-proxy -a -ldflags "${LDFLAGS}" ./cmd/docker-proxy
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/dockerd -a -tags "${PKG_MOBY_BUILDTAGS}" -ldflags "${LDFLAGS}" ./cmd/dockerd
}
makeinstall_target() {
:
}

View File

@@ -1,239 +0,0 @@
# when updating this patch just create it from scratch using this command
#
# find . -name "*.go" -print | xargs sed -i 's/\/etc\/docker/\/storage\/.kodi\/userdata\/addon_data\/service.system.docker\/config/g'
#
#
diff -Naur a/cmd/dockerd/daemon_unix.go b/cmd/dockerd/daemon_unix.go
--- a/cmd/dockerd/daemon_unix.go 2022-06-03 10:30:24.000000000 -0700
+++ b/cmd/dockerd/daemon_unix.go 2022-06-07 14:28:05.510327911 -0700
@@ -25,7 +25,7 @@
func getDefaultDaemonConfigDir() (string, error) {
if !honorXDG {
- return "/etc/docker", nil
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config", nil
}
// NOTE: CLI uses ~/.docker while the daemon uses ~/.config/docker, because
// ~/.docker was not designed to store daemon configurations.
diff -Naur a/integration/plugin/authz/authz_plugin_test.go b/integration/plugin/authz/authz_plugin_test.go
--- a/integration/plugin/authz/authz_plugin_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/integration/plugin/authz/authz_plugin_test.go 2022-06-07 14:28:05.570328822 -0700
@@ -56,15 +56,15 @@
ctrl = &authorizationController{}
teardown := setupTest(t)
- err := os.MkdirAll("/etc/docker/plugins", 0755)
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
assert.NilError(t, err)
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", testAuthZPlugin)
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", testAuthZPlugin)
err = os.WriteFile(fileName, []byte(server.URL), 0644)
assert.NilError(t, err)
return func() {
- err := os.RemoveAll("/etc/docker/plugins")
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
assert.NilError(t, err)
teardown()
diff -Naur a/integration/plugin/graphdriver/external_test.go b/integration/plugin/graphdriver/external_test.go
--- a/integration/plugin/graphdriver/external_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/integration/plugin/graphdriver/external_test.go 2022-06-07 14:28:05.570328822 -0700
@@ -80,7 +80,7 @@
sserver.Close()
jserver.Close()
- err := os.RemoveAll("/etc/docker/plugins")
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
assert.NilError(t, err)
}
@@ -345,10 +345,10 @@
respond(w, &graphDriverResponse{Size: size})
})
- err = os.MkdirAll("/etc/docker/plugins", 0755)
+ err = os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
assert.NilError(t, err)
- specFile := "/etc/docker/plugins/" + name + "." + ext
+ specFile := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/" + name + "." + ext
err = os.WriteFile(specFile, b, 0644)
assert.NilError(t, err)
}
diff -Naur a/integration-cli/docker_cli_external_volume_driver_test.go b/integration-cli/docker_cli_external_volume_driver_test.go
--- a/integration-cli/docker_cli_external_volume_driver_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/integration-cli/docker_cli_external_volume_driver_test.go 2022-06-07 14:28:05.556328610 -0700
@@ -258,10 +258,10 @@
send(w, `{"Capabilities": { "Scope": "global" }}`)
})
- err := os.MkdirAll("/etc/docker/plugins", 0755)
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
assert.NilError(c, err)
- err = os.WriteFile("/etc/docker/plugins/"+name+".spec", []byte(s.Server.URL), 0644)
+ err = os.WriteFile("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/"+name+".spec", []byte(s.Server.URL), 0644)
assert.NilError(c, err)
return s
}
@@ -269,7 +269,7 @@
func (s *DockerExternalVolumeSuite) TearDownSuite(c *testing.T) {
s.volumePlugin.Close()
- err := os.RemoveAll("/etc/docker/plugins")
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
assert.NilError(c, err)
}
@@ -359,7 +359,7 @@
// Make sure a request to use a down driver doesn't block other requests
func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverLookupNotBlocked(c *testing.T) {
- specPath := "/etc/docker/plugins/down-driver.spec"
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/down-driver.spec"
err := os.WriteFile(specPath, []byte("tcp://127.0.0.7:9999"), 0644)
assert.NilError(c, err)
defer os.RemoveAll(specPath)
diff -Naur a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go
--- a/integration-cli/docker_cli_network_unix_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/integration-cli/docker_cli_network_unix_test.go 2022-06-07 14:28:05.558328640 -0700
@@ -196,14 +196,14 @@
}
})
- err := os.MkdirAll("/etc/docker/plugins", 0755)
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
assert.NilError(c, err)
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
err = os.WriteFile(fileName, []byte(url), 0644)
assert.NilError(c, err)
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
err = os.WriteFile(ipamFileName, []byte(url), 0644)
assert.NilError(c, err)
}
@@ -215,7 +215,7 @@
s.server.Close()
- err := os.RemoveAll("/etc/docker/plugins")
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
assert.NilError(c, err)
}
diff -Naur a/integration-cli/docker_cli_swarm_test.go b/integration-cli/docker_cli_swarm_test.go
--- a/integration-cli/docker_cli_swarm_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/integration-cli/docker_cli_swarm_test.go 2022-06-07 14:28:05.561328685 -0700
@@ -770,14 +770,14 @@
}
})
- err := os.MkdirAll("/etc/docker/plugins", 0755)
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0755)
assert.NilError(c, err)
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
err = os.WriteFile(fileName, []byte(url), 0644)
assert.NilError(c, err)
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
err = os.WriteFile(ipamFileName, []byte(url), 0644)
assert.NilError(c, err)
}
@@ -789,7 +789,7 @@
setupRemoteGlobalNetworkPlugin(c, mux, s.server.URL, globalNetworkPlugin, globalIPAMPlugin)
defer func() {
s.server.Close()
- err := os.RemoveAll("/etc/docker/plugins")
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
assert.NilError(c, err)
}()
diff -Naur a/libnetwork/drivers/remote/driver_test.go b/libnetwork/drivers/remote/driver_test.go
--- a/libnetwork/drivers/remote/driver_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/libnetwork/drivers/remote/driver_test.go 2022-06-07 14:28:05.586329065 -0700
@@ -41,7 +41,7 @@
}
func setupPlugin(t *testing.T, name string, mux *http.ServeMux) func() {
- specPath := "/etc/docker/plugins"
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
if runtime.GOOS == "windows" {
specPath = filepath.Join(os.Getenv("programdata"), "docker", "plugins")
}
diff -Naur a/libnetwork/ipams/remote/remote_test.go b/libnetwork/ipams/remote/remote_test.go
--- a/libnetwork/ipams/remote/remote_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/libnetwork/ipams/remote/remote_test.go 2022-06-07 14:28:05.591329141 -0700
@@ -36,7 +36,7 @@
}
func setupPlugin(t *testing.T, name string, mux *http.ServeMux) func() {
- specPath := "/etc/docker/plugins"
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
if runtime.GOOS == "windows" {
specPath = filepath.Join(os.Getenv("programdata"), "docker", "plugins")
}
diff -Naur a/libnetwork/libnetwork_unix_test.go b/libnetwork/libnetwork_unix_test.go
--- a/libnetwork/libnetwork_unix_test.go 2022-06-03 10:30:24.000000000 -0700
+++ b/libnetwork/libnetwork_unix_test.go 2022-06-07 14:28:05.592329156 -0700
@@ -3,4 +3,4 @@
package libnetwork_test
-var specPath = "/etc/docker/plugins"
+var specPath = "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
diff -Naur a/pkg/plugins/discovery_unix.go b/pkg/plugins/discovery_unix.go
--- a/pkg/plugins/discovery_unix.go 2022-06-03 10:30:24.000000000 -0700
+++ b/pkg/plugins/discovery_unix.go 2022-06-07 14:28:05.615329505 -0700
@@ -9,7 +9,7 @@
"github.com/docker/docker/pkg/rootless"
)
-const globalConfigPluginsPath = "/etc/docker/plugins"
+const globalConfigPluginsPath = "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
const globalLibPluginsPath = "/usr/lib/docker/plugins"
var globalSpecsPaths = []string{globalConfigPluginsPath, globalLibPluginsPath}
diff -Naur a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go
--- a/pkg/plugins/plugins.go 2022-06-03 10:30:24.000000000 -0700
+++ b/pkg/plugins/plugins.go 2022-06-07 14:28:05.616329521 -0700
@@ -4,7 +4,7 @@
// Docker discovers plugins by looking for them in the plugin directory whenever
// a user or container tries to use one by name. UNIX domain socket files must
// be located under /run/docker/plugins, whereas spec files can be located
-// either under /etc/docker/plugins or /usr/lib/docker/plugins. This is handled
+// either under /storage/.kodi/userdata/addon_data/service.system.docker/config/plugins or /usr/lib/docker/plugins. This is handled
// by the Registry interface, which lets you list all plugins or get a plugin by
// its name if it exists.
//
diff -Naur a/registry/config_unix.go b/registry/config_unix.go
--- a/registry/config_unix.go 2022-06-03 10:30:24.000000000 -0700
+++ b/registry/config_unix.go 2022-06-07 14:28:05.626329672 -0700
@@ -6,7 +6,7 @@
// defaultCertsDir is the platform-specific default directory where certificates
// are stored. On Linux, it may be overridden through certsDir, for example, when
// running in rootless mode.
-const defaultCertsDir = "/etc/docker/certs.d"
+const defaultCertsDir = "/storage/.kodi/userdata/addon_data/service.system.docker/config/certs.d"
// cleanPath is used to ensure that a directory name is valid on the target
// platform. It will be passed in something *similar* to a URL such as
diff -Naur a/registry/endpoint_v1.go b/registry/endpoint_v1.go
--- a/registry/endpoint_v1.go 2022-06-03 10:30:24.000000000 -0700
+++ b/registry/endpoint_v1.go 2022-06-07 14:28:05.627329688 -0700
@@ -63,7 +63,7 @@
if endpoint.IsSecure {
// If registry is secure and HTTPS failed, show user the error and tell them about `--insecure-registry`
// in case that's what they need. DO NOT accept unknown CA certificates, and DO NOT fallback to HTTP.
- return invalidParamf("invalid registry endpoint %s: %v. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry %s` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/%s/ca.crt", endpoint, err, endpoint.URL.Host, endpoint.URL.Host)
+ return invalidParamf("invalid registry endpoint %s: %v. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry %s` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /storage/.kodi/userdata/addon_data/service.system.docker/config/certs.d/%s/ca.crt", endpoint, err, endpoint.URL.Host, endpoint.URL.Host)
}
// If registry is insecure and HTTPS failed, fallback to HTTP.

View File

@@ -1,22 +0,0 @@
--- a/daemon/config/config.go 2022-06-03 10:30:24.000000000 -0700
+++ b/daemon/config/config.go 2022-06-07 14:29:36.755713207 -0700
@@ -59,7 +59,7 @@
LinuxV2RuntimeName = "io.containerd.runc.v2"
// SeccompProfileDefault is the built-in default seccomp profile.
- SeccompProfileDefault = "builtin"
+ SeccompProfileDefault = "unconfined"
// SeccompProfileUnconfined is a special profile name for seccomp to use an
// "unconfined" seccomp profile.
SeccompProfileUnconfined = "unconfined"
--- a/daemon/daemon_unix.go 2022-06-03 10:30:24.000000000 -0700
+++ b/daemon/daemon_unix.go 2022-06-07 14:34:55.315558083 -0700
@@ -1711,8 +1711,6 @@
func (daemon *Daemon) setupSeccompProfile() error {
switch profile := daemon.configStore.SeccompProfile; profile {
- case "", config.SeccompProfileDefault:
- daemon.seccompProfilePath = config.SeccompProfileDefault
case config.SeccompProfileUnconfined:
daemon.seccompProfilePath = config.SeccompProfileUnconfined
default:

View File

@@ -0,0 +1,26 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="aspnet5-runtime"
PKG_VERSION="5.0.7"
PKG_LICENSE="MIT"
PKG_SITE="https://dotnet.microsoft.com/"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="ASP.NET Core Runtime enables you to run existing web/server applications."
PKG_TOOLCHAIN="manual"
case "${ARCH}" in
"aarch64")
PKG_SHA256="219f233d4e23e2381d93dc99a7cbdbe55c55e45da2e025b5d139d1338d11d62a"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d0a22fa3-b916-49ce-8284-97131b424cb3/cb884163ad34b83f1ae1dbd33e09d77a/aspnetcore-runtime-5.0.7-linux-arm64.tar.gz"
;;
"arm")
PKG_SHA256="c14e64527f2bf7356d1de154132a07b86de4a30c62129e138f3ca95a43c2dd54"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/2f690848-1342-4768-a7d7-45fa476a4a22/50dd1c50ed7864140b04fec057bb8bd6/aspnetcore-runtime-5.0.7-linux-arm.tar.gz"
;;
"x86_64")
PKG_SHA256="22f9f93b4d6a00e76980918b721f7f62654421d7582d486e830ec478c365707c"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d6be94b3-458f-43c4-8bb5-9ba261de8c9c/bbe13b54208d088b5fdf428759b5bc0a/aspnetcore-runtime-5.0.7-linux-x64.tar.gz"
;;
esac
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"

View File

@@ -1,26 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="aspnet6-runtime"
PKG_VERSION="6.0.19"
PKG_LICENSE="MIT"
PKG_SITE="https://dotnet.microsoft.com/"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="ASP.NET Core Runtime enables you to run existing web/server applications."
PKG_TOOLCHAIN="manual"
case "${ARCH}" in
"aarch64")
PKG_SHA256="fb4d55dd30f3956595c398477436322819fd1cf7d273a559db5e43a14435c9bb"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/86b5e7ea-d316-4b44-a543-95cbfeafadd9/7e7b8ed4c007d9290c2099b5bcd144af/aspnetcore-runtime-6.0.19-linux-arm64.tar.gz"
;;
"arm")
PKG_SHA256="d9ac8112187666535e2940daa90c55606d2f62a3a267ae471c92859e25a87b60"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/f33d9dc8-1f77-48dc-89f5-8f691038d629/90926d8575953228ee5271530e08b595/aspnetcore-runtime-6.0.19-linux-arm.tar.gz"
;;
"x86_64")
PKG_SHA256="217e4dfb3c9469580559f5714daa3c505f36156d2bd97a15238d240c6bcc54bf"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/fb0913f6-79a8-40b6-b604-bda42b60d0c2/eb98e78d3d75c16326a54cd0277b5406/aspnetcore-runtime-6.0.19-linux-x64.tar.gz"
;;
esac
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"

View File

@@ -0,0 +1,26 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dotnet3-runtime"
PKG_VERSION="3.1.16"
PKG_LICENSE="MIT"
PKG_SITE="https://dotnet.microsoft.com/"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="ASP.NET Core Runtime runs applications built with .NET Core, a cross-platform .NET implementation."
PKG_TOOLCHAIN="manual"
case "${ARCH}" in
"aarch64")
PKG_SHA256="b76c049484efd86466d2e1cd88994521633c399d090adb1c6804128603816abe"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/64353333-3080-45f7-a3d5-33e391e4596c/e9d5d53cb318628485e8d1fbd26ec30d/aspnetcore-runtime-3.1.16-linux-arm64.tar.gz"
;;
"arm")
PKG_SHA256="a0163cd5c5ceae228bfffb40053f3509e155a110c23e81c38705757a870e24cc"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/bd734390-3b5f-402a-826f-e0eae538b8ba/5914dd937ede96cb9297e6e7a80f46f3/aspnetcore-runtime-3.1.16-linux-arm.tar.gz"
;;
"x86_64")
PKG_SHA256="b1a2f61d8a49e2a3ca5eb9daa103b83eb49ea1bcf14914560e601222e94a3022"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/c20a5ac5-5174-46b8-a875-b916a416050d/b2ddd212a183260569178d880899bd94/aspnetcore-runtime-3.1.16-linux-x64.tar.gz"
;;
esac
PKG_SOURCE_NAME="aspnetcore3-runtime_${PKG_VERSION}_${ARCH}.tar.gz"

View File

@@ -0,0 +1,26 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dotnet5-runtime"
PKG_VERSION="5.0.7"
PKG_LICENSE="MIT"
PKG_SITE="https://dotnet.microsoft.com/"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC=".NET Runtime runs applications built with .NET Core, a cross-platform .NET implementation."
PKG_TOOLCHAIN="manual"
case "${ARCH}" in
"aarch64")
PKG_SHA256="375956c3d326f5030a1eff2cafdba8b994ed0e1b87db2dd812ce17e0bca5fb27"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/a9a37d9f-6158-43a4-a610-f0f9e8c2cb73/c69c6d22c668cb09b2d00bea8209335b/dotnet-runtime-5.0.7-linux-arm64.tar.gz"
;;
"arm")
PKG_SHA256="fcc811f37cb6914bf3aa1c96040b1a46fad42939e6b1e1e7e0f513a9be1de680"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/09a24e9f-0096-454a-b761-70cdf9504775/eafe9578bbedd15c9319b7580d5a20d9/dotnet-runtime-5.0.7-linux-arm.tar.gz"
;;
"x86_64")
PKG_SHA256="ed864299f0e736f9d284b655e62d8a29aee97c14741ef8baf13d5ff493f83a47"
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/f229fc63-747e-46c8-89ac-88563c2e0b7d/8e59115deda958a26e1546f603cbad9a/dotnet-runtime-5.0.7-linux-x64.tar.gz"
;;
esac
PKG_SOURCE_NAME="dotnet-runtime_${PKG_VERSION}_${ARCH}.tar.gz"

View File

@@ -1,11 +0,0 @@
diff -ru a/Makefile b/Makefile
--- a/Makefile 2014-03-21 20:26:36.000000000 +0100
+++ b/Makefile 2022-12-04 20:52:52.827027541 +0100
@@ -10,7 +10,6 @@
all clean install:
$(MAKE) -C lib $@
- $(MAKE) -C test $@
$(MAKE) -C util $@
update:

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="enet"
PKG_VERSION="8d69c5abe4b699e7077395e01927bd102b3ba597" # 12 Jun 2021
PKG_SHA256="4da28dc923828f2241f9086009c87d9679cb52bb3085305754cbcac33a06f312"
PKG_VERSION="d9e561938fd9360cdbbd67d78b105ccbe4af0a65" # 10 Jan 2021 # 1.3.17+vita
PKG_SHA256="ff52ea54edb71662d5933b165c073f079c90ed9adcf98bcb7b2e74d4ddf3dc6b"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/cgutman/enet/"
PKG_URL="https://github.com/cgutman/enet/archive/${PKG_VERSION}.tar.gz"

View File

@@ -3,11 +3,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="faad2"
PKG_VERSION="2.10.1"
PKG_SHA256="4c16c71295ca0cbf7c3dfe98eb11d8fa8d0ac3042e41604cfd6cc11a408cf264"
PKG_VERSION="2.10.0"
PKG_SHA256="0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/knik0/faad2/"
PKG_URL="https://github.com/knik0/faad2/archive/${PKG_VERSION}.tar.gz"
PKG_URL="https://github.com/knik0/faad2/archive/${PKG_VERSION//./_}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="An MPEG-4 AAC decoder."
PKG_TOOLCHAIN="configure"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libvpx"
PKG_VERSION="1.12.0"
PKG_SHA256="f1acc15d0fd0cb431f4bf6eac32d5e932e40ea1186fe78e074254d6d003957bb"
PKG_VERSION="1.10.0"
PKG_SHA256="85803ccbdbdd7a3b03d930187cb055f1353596969c1f92ebec2db839fa4f834a"
PKG_LICENSE="BSD"
PKG_SITE="https://www.webmproject.org"
PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"

View File

@@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="x264"
PKG_VERSION="baee400fa9ced6f5481a728138fed6e867b0ff7f" # r3095 stable 2022-06-01
PKG_SHA256="ce6623b8b289765daee04a297c2fd1a293cb2565a1749c76d66c8d72c7ddc1ab"
PKG_VERSION="20191217"
PKG_SHA256="0bb67d095513391e637b3b47e8efc3ba4603c3844f1b4c2690f4d36da7763055"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org/developers/x264.html"
PKG_URL="https://code.videolan.org/videolan/x264/-/archive/${PKG_VERSION}/x264-${PKG_VERSION}.tar.bz2"
PKG_URL="https://download.videolan.org/x264/snapshots/x264-snapshot-${PKG_VERSION}-2245.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="x264 codec"

View File

@@ -2,14 +2,14 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ffmpegx"
PKG_VERSION="4.4.3"
PKG_SHA256="6c5b6c195e61534766a0b5fe16acc919170c883362612816d0a1c7f4f947006e"
PKG_VERSION="4.4"
PKG_SHA256="06b10a183ce5371f915c6bb15b7b1fffbe046e8275099c96affc29e17645d909"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://ffmpeg.org"
PKG_URL="https://ffmpeg.org/releases/ffmpeg-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain aom bzip2 openssl lame libvorbis opus x264 zlib"
PKG_DEPENDS_TARGET="toolchain aom bzip2 gnutls lame libvorbis opus x264 x265 zlib"
PKG_LONGDESC="FFmpegx is an complete FFmpeg build to support encoding and decoding."
PKG_BUILD_FLAGS="-sysroot"
PKG_BUILD_FLAGS="-gold -sysroot"
# Dependencies
get_graphicdrivers
@@ -17,7 +17,7 @@ get_graphicdrivers
if [ "${TARGET_ARCH}" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" nasm:host x265"
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|i915|iris)"; then
if listcontains "${GRAPHIC_DRIVERS}" "(iris|i915|i965)"; then
PKG_DEPENDS_TARGET+=" intel-vaapi-driver"
fi
fi
@@ -99,12 +99,6 @@ pre_configure_target() {
--enable-libxcb-shm \
--enable-libxcb-xfixes \
--enable-libxcb-shape"
else
PKG_FFMPEG_X11_GRAB="\
--disable-libxcb \
--disable-libxcb-shm \
--disable-libxcb-xfixes \
--disable-libxcb-shape"
fi
}
@@ -123,7 +117,6 @@ configure_target() {
\
`#Licensing options` \
--enable-gpl \
--enable-version3 \
\
`#Documentation options` \
--disable-doc \
@@ -161,8 +154,8 @@ configure_target() {
--extra-ldflags="${LDFLAGS}" \
--extra-libs="${PKG_FFMPEG_LIBS}" \
--enable-pic \
--disable-gnutls \
--enable-openssl \
--enable-gnutls \
--disable-openssl \
\
`#Advanced options` \
--disable-hardcoded-tables \

View File

@@ -1,44 +0,0 @@
From 1d23e125b6f76e74b754560c3b6931507cacddce Mon Sep 17 00:00:00 2001
From: Timo Rothenpieler <timo@rothenpieler.org>
Date: Tue, 7 Sep 2021 19:35:31 +0200
Subject: [PATCH] configure: account for openssl3 license change
---
configure | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index c87a010387..ed7345b2c1 100755
--- a/configure
+++ b/configure
@@ -1765,7 +1765,6 @@ EXTERNAL_LIBRARY_GPL_LIST="
EXTERNAL_LIBRARY_NONFREE_LIST="
decklink
libfdk_aac
- openssl
libtls
"
@@ -1857,6 +1856,7 @@ EXTERNAL_LIBRARY_LIST="
mediacodec
openal
opengl
+ openssl
pocketsphinx
vapoursynth
"
@@ -6572,7 +6572,10 @@ enabled omx_rpi && { test_code cc OMX_Core.h OMX_IndexConfigBrcmVideoR
die "ERROR: OpenMAX IL headers from raspberrypi/firmware not found"; } &&
enable omx
enabled omx && require_headers OMX_Core.h
-enabled openssl && { check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
+enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" openssl/ssl.h OPENSSL_init_ssl &&
+ { enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } ||
+ { enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } ||
+ check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init ||
check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
--
2.34.1

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="linuxconsoletools"
PKG_VERSION="1.8.1"
PKG_SHA256="4da29745c782b7db18f5f37c49e77bf163121dd3761e2fc7636fa0cbf35c2456"
PKG_VERSION="1.7.1"
PKG_SHA256="bd4d4b7e37da02fc67e47ddf20b6f1243c0a7af7b02b918d5e72138ea8727547"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceforge.net/projects/linuxconsole/"
PKG_URL="http://prdownloads.sourceforge.net/linuxconsole/${PKG_NAME}-${PKG_VERSION}.tar.bz2"

View File

@@ -1,12 +1,12 @@
diff -Naur a/utils/Makefile b/utils/Makefile
--- a/utils/Makefile 2022-05-21 09:44:47.000000000 +0000
+++ b/utils/Makefile 2022-05-21 18:58:51.363206817 +0000
@@ -37,7 +37,7 @@
endif
--- a/utils/Makefile 2016-04-19 13:20:50.000000000 -0700
+++ b/utils/Makefile 2016-10-20 00:31:34.238941511 -0700
@@ -27,7 +27,7 @@
ifndef DISABLE_FORCEFEEDBACK
-PROGRAMS += fftest ffmvforce ffset ffcfstress
+PROGRAMS += fftest ffset ffcfstress
endif
CFLAGS ?= -g -O2 -Wall
-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
+PROGRAMS = inputattach jstest jscal fftest ffset \
ffcfstress jscal-restore jscal-store evdev-joystick
PREFIX ?= /usr/local

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="go"
PKG_VERSION="1.20.3"
PKG_SHA256="991a67cecebb7b9b1237fdbca76c4754a9f5e1669d5d49b58a9931813047e905"
PKG_VERSION="1.16.6"
PKG_SHA256="498cd89c5c965ea2f2e23eef589e0a2dcb4b94f31c3f7dac575d4c35ae89caf7"
PKG_LICENSE="BSD"
PKG_SITE="https://golang.org"
PKG_URL="https://github.com/golang/go/archive/${PKG_NAME}${PKG_VERSION}.tar.gz"

View File

@@ -2,10 +2,10 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="icu"
PKG_VERSION="72.1"
PKG_SHA256="43cbad628d98f37a3f95f6c34579f9144ef4bde60248fa6004a4f006d7487e69"
PKG_VERSION="69.1"
PKG_SHA256="39ce83dd5d15c7539dde261733e106a391923f82caf1ce52ecaebb72d93b4579"
PKG_LICENSE="Custom"
PKG_SITE="https://icu.unicode.org"
PKG_SITE="http://www.icu-project.org"
PKG_URL="https://github.com/unicode-org/icu/archive/release-${PKG_VERSION//./-}.tar.gz"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain icu:host"

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="jasper"
PKG_VERSION="4.0.0"
PKG_SHA256="977c4c2e4210f4e37313cd2232d99e73d57ab561917b3c060bcdd5e83a0a13f1"
PKG_VERSION="2.0.33"
PKG_SHA256="38b8f74565ee9e7fec44657e69adb5c9b2a966ca5947ced5717cde18a7d2eca6"
PKG_LICENSE="OpenSource"
PKG_SITE="http://www.ece.uvic.ca/~mdadams/jasper/"
PKG_URL="https://github.com/jasper-software/jasper/archive/refs/tags/version-${PKG_VERSION}.tar.gz"
@@ -14,9 +14,4 @@ PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DJAS_ENABLE_DOC=false \
-DJAS_ENABLE_PROGRAMS=false \
-DJAS_ENABLE_SHARED=false \
-DJAS_STDC_VERSION=201710L"
pre_configure_target() {
export CFLAGS="${CFLAGS} -std=gnu17"
}
-DJAS_ENABLE_SHARED=false"

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="apache-ant"
PKG_VERSION="1.10.12"
PKG_SHA256="6115c940367e50755cf806de5816f20a1db1321b1cb734e2c34ab20ef6682b9b"
PKG_VERSION="1.10.11"
PKG_SHA256="baa049855cdecbefa62539555824058e52412e5ebe8f102e1db944cb762e06d9"
PKG_LICENSE="Apache License 2.0"
PKG_SITE="https://ant.apache.org/"
PKG_URL="https://downloads.apache.org/ant/binaries/${PKG_NAME}-${PKG_VERSION}-bin.tar.xz"

View File

@@ -13,5 +13,5 @@ PKG_CONFIGURE_OPTS_TARGET+=" --disable-static --enable-shared"
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:4}/${PKG_NAME:4}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:4}/${PKG_NAME:4}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@@ -1,12 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libexif"
PKG_VERSION="0.6.24"
PKG_SHA256="d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae"
PKG_VERSION="0.6.22"
PKG_SHA256="5048f1c8fc509cc636c2f97f4b40c293338b6041a5652082d5ee2cf54b530c56"
PKG_LICENSE="LGPL"
PKG_SITE="https://libexif.github.io"
PKG_URL="https://github.com/libexif/libexif/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="https://github.com/libexif/libexif/releases/download/libexif-${PKG_VERSION//./_}-release/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A library to parse an EXIF file and read the data from those tags."

View File

@@ -1,52 +0,0 @@
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,17 @@
-LIBSRCS += hdhomerun_channels.c
-LIBSRCS += hdhomerun_channelscan.c
-LIBSRCS += hdhomerun_control.c
-LIBSRCS += hdhomerun_debug.c
-LIBSRCS += hdhomerun_device.c
-LIBSRCS += hdhomerun_device_selector.c
-LIBSRCS += hdhomerun_discover.c
-LIBSRCS += hdhomerun_os_posix.c
-LIBSRCS += hdhomerun_pkt.c
-LIBSRCS += hdhomerun_sock_posix.c
-LIBSRCS += hdhomerun_video.c
+LIBSRCS += hdhomerun_channels.o
+LIBSRCS += hdhomerun_channelscan.o
+LIBSRCS += hdhomerun_control.o
+LIBSRCS += hdhomerun_debug.o
+LIBSRCS += hdhomerun_device.o
+LIBSRCS += hdhomerun_device_selector.o
+LIBSRCS += hdhomerun_discover.o
+LIBSRCS += hdhomerun_os_posix.o
+LIBSRCS += hdhomerun_pkt.o
+LIBSRCS += hdhomerun_sock_posix.o
+LIBSRCS += hdhomerun_video.o
+AR := $(CROSS_COMPILE)ar
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
@@ -38,14 +39,17 @@ else
endif
endif
-all : hdhomerun_config$(BINEXT) libhdhomerun$(LIBEXT)
+all : hdhomerun_config$(BINEXT) libhdhomerun.a
+
+%.o: %.c
+ $(CC) $(CFLAGS) -fPIC -c -o $@ $<
hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
$(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
$(STRIP) $@
-libhdhomerun$(LIBEXT) : $(LIBSRCS)
- $(CC) $(CFLAGS) -fPIC -DDLL_EXPORT $(SHARED) $+ $(LDFLAGS) -o $@
+libhdhomerun.a : $(LIBSRCS)
+ $(AR) rcs libhdhomerun.a $(LIBSRCS)
clean :
-rm -f hdhomerun_config$(BINEXT)

View File

@@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libiconv"
PKG_VERSION="1.17"
PKG_SHA256="8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313"
PKG_VERSION="1.16"
PKG_SHA256="e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04"
PKG_LICENSE="GPL"
PKG_SITE="https://savannah.gnu.org/projects/libiconv/"
PKG_URL="https://ftp.gnu.org/pub/gnu/libiconv/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A tool that converts from one character encoding to another through Unicode conversion."
PKG_BUILD_FLAGS="+pic"

View File

@@ -16,10 +16,6 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--without-cython \
--disable-largefile"
post_configure_target() {
libtool_remove_rpath libtool
}
post_makeinstall_target() {
mkdir -p "${SYSROOT_PREFIX}/usr/include/lib/libimobiledevice"
cp ${PKG_BUILD}/common/utils.h "${SYSROOT_PREFIX}/usr/include/libimobiledevice"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libmpdclient"
PKG_VERSION="2.20"
PKG_SHA256="18793f68e939c3301e34d8fcadea1f7daa24143941263cecadb80126194e277d"
PKG_VERSION="2.19"
PKG_SHA256="158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189"
PKG_LICENSE="BSD-3c"
PKG_SITE="https://www.musicpd.org"
PKG_URL="https://www.musicpd.org/download/libmpdclient/2/libmpdclient-${PKG_VERSION}.tar.xz"

View File

@@ -0,0 +1,33 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libnetwork"
PKG_VERSION="a543cbc4871f904b0efe205708eb45d72e65fd8b"
PKG_SHA256="3e3b0048aa468de0fe33ad2c08bf3891ac1a72fca434f92620312da51f344488"
PKG_LICENSE="APL"
PKG_SITE="https://github.com/docker/libnetwork"
PKG_URL="https://github.com/docker/libnetwork/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain go:host"
PKG_LONGDESC="A native Go implementation for connecting containers."
PKG_TOOLCHAIN="manual"
pre_make_target() {
go_configure
export CGO_ENABLED=0
export LDFLAGS="-extld ${CC}"
export GO111MODULE=off
mkdir -p ${GOPATH}
if [ -d ${PKG_BUILD}/vendor ]; then
mv ${PKG_BUILD}/vendor ${GOPATH}/src
fi
ln -fs ${PKG_BUILD} ${GOPATH}/src/github.com/docker/libnetwork
}
make_target() {
mkdir -p bin
${GOLANG} build -v -o bin/docker-proxy -a -ldflags "${LDFLAGS}" ./cmd/proxy
}

View File

@@ -0,0 +1,63 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rust"
PKG_VERSION="1.54.0"
PKG_LICENSE="MIT"
PKG_SITE="https://www.rust-lang.org"
PKG_DEPENDS_TARGET="toolchain rustup.rs"
PKG_LONGDESC="A systems programming language that prevents segfaults, and guarantees thread safety."
PKG_TOOLCHAIN="manual"
make_target() {
export CARGO_HOME="${PKG_BUILD}/cargo"
export RUSTUP_HOME="${CARGO_HOME}"
export PATH="${CARGO_HOME}/bin:${PATH}"
case "${TARGET_ARCH}" in
aarch64)
RUST_TARGET_TRIPLE="aarch64-unknown-linux-gnu"
;;
arm)
RUST_TARGET_TRIPLE="arm-unknown-linux-gnueabihf"
;;
x86_64)
RUST_TARGET_TRIPLE="x86_64-unknown-linux-gnu"
;;
esac
"$(get_build_dir rustup.rs)/rustup-init.sh" \
--default-toolchain none \
--no-modify-path \
--profile minimal \
--target "${RUST_TARGET_TRIPLE}" \
-y
cargo/bin/rustup toolchain install ${PKG_VERSION} --allow-downgrade --profile minimal --component clippy
cargo/bin/rustup target add ${RUST_TARGET_TRIPLE}
cat <<EOF >"${CARGO_HOME}/config"
[build]
target = "${RUST_TARGET_TRIPLE}"
[target.${RUST_TARGET_TRIPLE}]
ar = "${AR}"
linker = "${CC}"
EOF
cat <<EOF >"${CARGO_HOME}/env"
export CARGO_HOME="${CARGO_HOME}"
export CARGO_TARGET_DIR="\${PKG_BUILD}/.\${TARGET_NAME}"
if [ "${HOSTTYPE}" = "${TARGET_ARCH}" ]; then
# Until target-applies-to-host is incorporated into stable this
# option is required for a matching host-target triple to be compiled
# by the cross compiler. Read more here.
# https://doc.rust-lang.org/cargo/reference/unstable.html#target-applies-to-host
export __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly"
export CARGO_TARGET_APPLIES_TO_HOST="false"
export CARGO_Z_TARGET_APPLIES_TO_HOST="-Z target-applies-to-host"
fi
export PATH="${CARGO_HOME}/bin:${PATH}"
export PKG_CONFIG_ALLOW_CROSS="1"
export PKG_CONFIG_PATH="${PKG_CONFIG_LIBDIR}"
export RUSTUP_HOME="${CARGO_HOME}"
unset CFLAGS
EOF
}

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rustup.rs"
PKG_VERSION="1.25.1"
PKG_SHA256="4d062c77b08309bd212f22dd7da1957c1882509c478e57762f34ec4fb2884c9a"
PKG_VERSION="1.23.1"
PKG_SHA256="0203231bfe405ee1c7d5e7e1c013b9b8a2dc87fbd8474e77f500331d8c26365f"
PKG_LICENSE="MIT"
PKG_SITE="https://www.rust-lang.org"
PKG_URL="https://github.com/rust-lang-nursery/rustup.rs/archive/${PKG_VERSION}.tar.gz"

View File

@@ -1,14 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libseccomp"
PKG_VERSION="2.5.4"
PKG_SHA256="d82902400405cf0068574ef3dc1fe5f5926207543ba1ae6f8e7a1576351dcbdb"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="https://github.com/seccomp/libseccomp"
PKG_URL="https://github.com/seccomp/libseccomp/releases/download/v${PKG_VERSION}/libseccomp-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="An easy to use, platform independent, interface to the Linux Kernel syscall filtering mechanism"
PKG_BUILD_FLAGS="-sysroot"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-static --enable-shared"

View File

@@ -14,7 +14,3 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \
--enable-static \
--disable-shared"
post_configure_target() {
libtool_remove_rpath libtool
}

View File

@@ -2,14 +2,16 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libvncserver"
PKG_VERSION="0.9.14"
PKG_SHA256="83104e4f7e28b02f8bf6b010d69b626fae591f887e949816305daebae527c9a5"
PKG_VERSION="0.9.13"
PKG_SHA256="0ae5bb9175dc0a602fe85c1cf591ac47ee5247b87f2bf164c16b05f87cbfa81a"
PKG_LICENSE="GPL"
PKG_SITE="https://libvnc.github.io/"
PKG_URL="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng openssl systemd"
PKG_LONGDESC="A C library that allow you to easily implement VNC server or client functionality."
PKG_MAINTAINER="Lukas Rusak (lrusak at irc.freenode.net)"
PKG_CMAKE_OPTS_TARGET="-DWITH_GCRYPT=0 \
-DWITH_GNUTLS=0 \
-DWITH_GTK=0 \

View File

@@ -3,8 +3,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libzip"
PKG_VERSION="1.9.2"
PKG_SHA256="c93e9852b7b2dc931197831438fee5295976ee0ba24f8524a8907be5c2ba5937"
PKG_VERSION="1.7.3"
PKG_SHA256="a60473ffdb7b4260c08bfa19c2ccea0438edac11193c3afbbb1f17fbcf6c6132"
PKG_LICENSE="GPL"
PKG_SITE="https://libzip.org/"
PKG_URL="https://libzip.org/download/${PKG_NAME}-${PKG_VERSION}.tar.xz"

View File

@@ -2,11 +2,12 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mpd-mpc"
PKG_VERSION="0.34"
PKG_SHA256="691e3f3654bc10d022bb0310234d0bc2d8c075a698f09924d9ebed8f506fda20"
PKG_VERSION="0.33"
PKG_SHA256="4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296"
PKG_LICENSE="GPL"
PKG_SITE="https://www.musicpd.org"
PKG_URL="https://www.musicpd.org/download/mpc/0/mpc-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libiconv libmpdclient"
PKG_LONGDESC="Command-line client for MPD."
PKG_TOOLCHAIN="meson"
PKG_BUILD_FLAGS="-sysroot"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libmediainfo"
PKG_VERSION="22.12"
PKG_SHA256="0fc6d32f06d6ce5e144074d2e57e0db8dfa4e38e752d3123ada27ccaf89634bc"
PKG_VERSION="21.03"
PKG_SHA256="56b7e9abf80cba48032165cd7a46fd8d43dd63e3af35765f66c3f134caaca4ca"
PKG_LICENSE="GPL"
PKG_SITE="https://mediaarea.net/en/MediaInfo/Download/Source"
PKG_URL="https://mediaarea.net/download/source/libmediainfo/${PKG_VERSION}/libmediainfo_${PKG_VERSION}.tar.xz"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libzen"
PKG_VERSION="0.4.40"
PKG_SHA256="0c2e1c7302b3ee260d34b52e4b16ab655bdf021db8c14653e418aced46eb24a7"
PKG_VERSION="0.4.39"
PKG_SHA256="cded5d7774294e7d5b42768ceb285243709b6e99eec6e980a3cf7f0890dbb622"
PKG_LICENSE="GPL"
PKG_SITE="https://mediaarea.net/en/MediaInfo/"
PKG_URL="https://mediaarea.net/download/source/libzen/${PKG_VERSION}/libzen_${PKG_VERSION}.tar.xz"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mediainfo"
PKG_VERSION="22.12"
PKG_SHA256="932b82739f738e7db603cf5bb170720731a9e7c61d145c2a54aabb3cd0b753bc"
PKG_VERSION="21.03"
PKG_SHA256="de50ca0b2c607b8999d3c9e542d27c97030a59f31859b612335315be6850021e"
PKG_LICENSE="GPL"
PKG_SITE="https://mediaarea.net/en/MediaInfo/Download/Source"
PKG_URL="https://mediaarea.net/download/source/mediainfo/${PKG_VERSION}/mediainfo_${PKG_VERSION}.tar.xz"

View File

@@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mpg123"
PKG_VERSION="1.31.3"
PKG_SHA256="1ca77d3a69a5ff845b7a0536f783fee554e1041139a6b978f6afe14f5814ad1a"
PKG_VERSION="1.27.2"
PKG_SHA256="52f6ceb962c05db0c043bb27acf5a721381f5f356ac4610e5221f50293891b04"
PKG_LICENSE="LGPLv2"
PKG_SITE="https://www.mpg123.org/"
PKG_URL="https://downloads.sourceforge.net/sourceforge/mpg123/mpg123-${PKG_VERSION}.tar.bz2"
PKG_SITE="http://www.mpg123.org/"
PKG_URL="http://downloads.sourceforge.net/sourceforge/mpg123/mpg123-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib"
PKG_LONGDESC="A console based real time MPEG Audio Player for Layer 1, 2 and 3."
PKG_BUILD_FLAGS="-sysroot"

View File

@@ -2,32 +2,32 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mpv-drmprime"
PKG_VERSION="0.35.1"
PKG_SHA256="41df981b7b84e33a2ef4478aaf81d6f4f5c8b9cd2c0d337ac142fc20b387d1a9"
PKG_VERSION="0.33.1"
PKG_SHA256="100a116b9f23bdcda3a596e9f26be3a69f166a4f1d00910d1789b6571c46f3a9"
PKG_LICENSE="GPL"
PKG_SITE="https://mpv.io/"
PKG_URL="https://github.com/mpv-player/mpv/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain waf:host alsa ffmpeg libass libdrm lua52"
PKG_DEPENDS_TARGET="toolchain waf:host alsa ffmpeg libass libdrm"
PKG_LONGDESC="A media player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types."
PKG_TOOLCHAIN="manual"
PKG_BUILD_FLAGS="-sysroot"
PKG_MANUAL_OPTS_TARGET="--prefix=/usr \
--disable-libarchive \
--enable-lua \
--disable-javascript \
--disable-uchardet \
--disable-rubberband \
--disable-lcms2 \
--disable-vapoursynth \
--disable-jack \
--disable-wayland \
--disable-x11 \
--disable-vulkan \
--disable-caca \
--enable-drm \
--enable-gbm \
--enable-egl-drm"
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
--disable-libarchive \
--disable-lua \
--disable-javascript \
--disable-uchardet \
--disable-rubberband \
--disable-lcms2 \
--disable-vapoursynth \
--disable-jack \
--disable-wayland \
--disable-x11 \
--disable-vulkan \
--disable-caca \
--enable-drm \
--enable-gbm \
--enable-egl-drm"
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
@@ -39,33 +39,27 @@ fi
if [ "${VAAPI_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libva"
PKG_MANUAL_OPTS_TARGET+=" --enable-vaapi --enable-vaapi-drm"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-vaapi --enable-vaapi-drm"
else
PKG_MANUAL_OPTS_TARGET+=" --disable-vaapi"
PKG_CONFIGURE_OPTS_TARGET+=" --disable-vaapi"
fi
if [ "${PULSEAUDIO_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" pulseaudio"
PKG_MANUAL_OPTS_TARGET+=" --enable-pulse"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-pulse"
else
PKG_MANUAL_OPTS_TARGET+=" --disable-pulse"
PKG_CONFIGURE_OPTS_TARGET+=" --disable-pulse"
fi
if [ "${KODI_BLURAY_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libbluray"
PKG_MANUAL_OPTS_TARGET+=" --enable-libbluray"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-libbluray"
else
PKG_MANUAL_OPTS_TARGET+=" --disable-libbluray"
PKG_CONFIGURE_OPTS_TARGET+=" --disable-libbluray"
fi
pre_configure_target() {
#mpv does not build in the .TARGET_NAME
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
}
configure_target() {
waf configure ${PKG_MANUAL_OPTS_TARGET}
waf configure ${PKG_CONFIGURE_OPTS_TARGET}
}
make_target() {

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="squeezelite"
PKG_VERSION="bc72c0de3fff771540a2a45aaafafed539387b3c" # 2022-04-10 # 1.9.9.1403
PKG_SHA256="5aa312d678a593b9a08f79e080a6ebe329d8fc40e6507e28b6705807c408bf7a"
PKG_VERSION="556de5689d27b4440adbfeb3c3012da02dbf438e" # 2021-05-14 # 1.9.9.1386
PKG_SHA256="8de5348b0ee23f4a24371dad589c887d083194e24a0e526585417edcd34a4d86"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/ralph-irving/squeezelite"
PKG_URL="https://github.com/ralph-irving/squeezelite/archive/${PKG_VERSION}.tar.gz"

View File

@@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libpcap"
PKG_VERSION="1.10.3"
PKG_SHA256="2a8885c403516cf7b0933ed4b14d6caa30e02052489ebd414dc75ac52e7559e6"
PKG_VERSION="1.10.1"
PKG_SHA256="ed285f4accaf05344f90975757b3dbfe772ba41d1c401c2648b7fa45b711bdd4"
PKG_LICENSE="GPL"
PKG_SITE="https://www.tcpdump.org/"
PKG_URL="https://www.tcpdump.org/release/libpcap-${PKG_VERSION}.tar.gz"
PKG_SITE="http://www.tcpdump.org/"
PKG_URL="http://www.tcpdump.org/release/libpcap-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A portable framework for low-level network monitoring."
# use configure, not cmake. review cmake in future release.

View File

@@ -2,10 +2,10 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libstatgrab"
PKG_VERSION="0.92.1"
PKG_SHA256="5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11"
PKG_SITE="https://libstatgrab.org"
PKG_URL="https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_${PKG_VERSION//./_}/libstatgrab-${PKG_VERSION}.tar.gz"
PKG_VERSION="0.92"
PKG_SHA256="5bf1906aff9ffc3eeacf32567270f4d819055d8386d98b9c8c05519012d5a196"
PKG_SITE="http://www.i-scream.org/libstatgrab/"
PKG_URL="http://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION=libs
PKG_LONGDESC="A library that provides cross platform access to statistics about the system on which it's run."

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="iperf"
PKG_VERSION="3.13"
PKG_SHA256="a49d23fe0d3b1482047ad7f3b9e384c69657a63b486c4e3f0ce512a077d94434"
PKG_VERSION="3.9"
PKG_SHA256="c6d8076b800f2b51f92dc941b0a9b77fbf2a867f623b5cb3cbf4754dabc40899"
PKG_LICENSE="BSD"
PKG_SITE="http://software.es.net/iperf/"
PKG_URL="https://github.com/esnet/iperf/archive/${PKG_VERSION}.tar.gz"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="irssi"
PKG_VERSION="1.4.3"
PKG_SHA256="b93f715223a322e67f42b61a08a512ae29e34bd4a53d7f223766660aaa5a0434"
PKG_VERSION="1.2.3"
PKG_SHA256="a647bfefed14d2221fa77b6edac594934dc672c4a560417b1abcbbc6b88d769f"
PKG_LICENSE="GPL"
PKG_SITE="http://www.irssi.org/"
PKG_URL="https://github.com/irssi/irssi/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
@@ -11,7 +11,14 @@ PKG_DEPENDS_TARGET="toolchain glib ncurses openssl"
PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems."
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="-Dwithout-textui=no \
-Dwith-bot=no \
-Dwith-proxy=no \
-Dwith-perl=no"
PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=${SYSROOT_PREFIX} \
--disable-glibtest \
--without-socks \
--with-textui \
--without-bot \
--without-proxy \
--without-perl"
pre_configure_target() {
export CFLAGS="${CFLAGS} -I${PKG_BUILD}"
}

View File

@@ -12,12 +12,7 @@ PKG_LONGDESC="A sophisticated ftp/http client, and a file transfer program suppo
PKG_BUILD_FLAGS="-sysroot"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--disable-rpath \
--without-gnutls \
--with-openssl \
--with-readline=${SYSROOT_PREFIX}/usr \
--with-zlib=${SYSROOT_PREFIX}/usr"
post_configure_target() {
libtool_remove_rpath libtool
}

View File

@@ -7,14 +7,13 @@ PKG_SHA256="500c29914dd26f5aa6df07446388d49b60249622c9b0fd1f266f62a5706f056c"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/jpr5/ngrep"
PKG_URL="https://github.com/jpr5/ngrep/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpcap pcre2"
PKG_DEPENDS_TARGET="toolchain libpcap"
PKG_LONGDESC="A tool like GNU grep applied to the network layer."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot -parallel"
PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=${SYSROOT_PREFIX}/usr/include \
--enable-ipv6 \
--enable-pcre2 \
--disable-dropprivs"
pre_build_target() {

View File

@@ -1,252 +0,0 @@
From cfcf1e6e9c4f8a2404810d8d1d90e6d1eaa0abdd Mon Sep 17 00:00:00 2001
From: Romain Francoise <romain@rfr.io>
Date: Sat, 20 Nov 2021 23:28:15 +0100
Subject: [PATCH] Port to PCRE2 API and enable JIT compilation
The original PCRE API provided on most systems by libpcre3 is no longer
maintained upstream and is superseded by the new PCRE2 API, which was
first released in 2015. pcre3 will be removed from Debian in 2023, as
noted in this bug report: https://bugs.debian.org/1000080
This commit replaces the existing PCRE implementation with a new one
using PCRE2, which is quite similar. One benefit is that PCRE2 provides
a JIT compiler which can replace the interpretive regular expression
evaluation code with native machine code on most modern platforms:
https://pcre.org/current/doc/html/pcre2jit.html
Depending on the length and complexity of the pattern used, enabling JIT
compilation makes Ngrep 50x to 150x faster, testing in quiet mode on a
multi-gigabyte PCAP file stored on tmpfs.
---
configure.in | 24 ++++++------
ngrep.c | 106 ++++++++++++++++++++++++++++++++++-----------------
2 files changed, 82 insertions(+), 48 deletions(-)
diff --git a/configure.in b/configure.in
index dbef39b..0806a62 100644
--- a/configure.in
+++ b/configure.in
@@ -141,16 +141,16 @@ dnl
REGEX_DIR=''
REGEX_OBJS=''
-AC_ARG_ENABLE(pcre,
-[ --enable-pcre use PCRE instead of GNU regex (default GNU)],
-[ use_pcre="$enableval" ],
-[ use_pcre="no" ])
-
-if test $use_pcre = yes; then
- USE_PCRE="1"
- EXTRA_LIBS="$EXTRA_LIBS -lpcre"
+AC_ARG_ENABLE(pcre2,
+[ --enable-pcre2 use PCRE2 instead of GNU regex (default GNU)],
+[ use_pcre2="$enableval" ],
+[ use_pcre2="no" ])
+
+if test $use_pcre2 = yes; then
+ USE_PCRE2="1"
+ EXTRA_LIBS="$EXTRA_LIBS -lpcre2-8"
else
- USE_PCRE="0"
+ USE_PCRE2="0"
AC_MSG_RESULT
AC_MSG_RESULT(Configuring GNU Regular Expression library ...)
@@ -476,7 +476,7 @@ dnl
AC_DEFINE_UNQUOTED(USE_PCAP_RESTART, $USE_PCAP_RESTART, [whether to call the BPF lexer restart function between multiple BPF filter compilation attempts (default no)])
AC_DEFINE_UNQUOTED(PCAP_RESTART_FUNC, $PCAP_RESTART_FUNC, [routine used for restarting the BPF lexer])
-AC_DEFINE_UNQUOTED(USE_PCRE, $USE_PCRE, [whether to use PCRE (default GNU Regex)])
+AC_DEFINE_UNQUOTED(USE_PCRE2, $USE_PCRE2, [whether to use PCRE2 (default GNU Regex)])
AC_DEFINE_UNQUOTED(USE_IPv6, $USE_IPv6, [whether to use IPv6 (default off)])
AC_DEFINE_UNQUOTED(USE_TCPKILL, $USE_TCPKILL, [whether to enable tcpkill functionality (default off)])
AC_DEFINE_UNQUOTED(USE_VLAN_HACK, $USE_VLAN_HACK, [whether to automatically include VLAN frames (default on)])
@@ -524,8 +524,8 @@ else
AC_MSG_RESULT(CONFIG: privilege dropping DISABLED)
fi
-if test "$USE_PCRE" = "1"; then
- AC_MSG_RESULT(CONFIG: using PCRE regex library)
+if test "$USE_PCRE2" = "1"; then
+ AC_MSG_RESULT(CONFIG: using PCRE2 regex library)
else
AC_MSG_RESULT(CONFIG: using GNU regex library)
fi
diff --git a/ngrep.c b/ngrep.c
index 3df9389..dcf0555 100644
--- a/ngrep.c
+++ b/ngrep.c
@@ -91,8 +91,9 @@
#include <netinet/icmp6.h>
#endif
-#if USE_PCRE
-#include <pcre.h>
+#if USE_PCRE2
+#define PCRE2_CODE_UNIT_WIDTH 8
+#include <pcre2.h>
#else
#include <regex.h>
#endif
@@ -128,12 +129,14 @@ char nonprint_char = '.';
* GNU Regex/PCRE
*/
-#if USE_PCRE
-int32_t err_offset;
-char *re_err = NULL;
+#if USE_PCRE2
+PCRE2_SIZE err_offset;
+int re_err;
-pcre *pattern = NULL;
-pcre_extra *pattern_extra = NULL;
+pcre2_code *re;
+pcre2_match_data *pcre2_md;
+PCRE2_SPTR pattern;
+uint32_t pcre2_jit_on = 0;
#else
const char *re_err = NULL;
@@ -189,6 +192,7 @@ uint32_t ws_row, ws_col = 80, ws_col_forced = 0;
int main(int argc, char **argv) {
int32_t c;
+ const char *extra = "";
signal(SIGINT, clean_exit);
signal(SIGABRT, clean_exit);
@@ -394,8 +398,12 @@ int main(int argc, char **argv) {
if (setup_matcher())
clean_exit(2);
+#if USE_PCRE2
+ if (pcre2_jit_on)
+ extra = " (JIT)";
+#endif
if (quiet < 2 && strlen(match_data))
- printf("%smatch: %s%s\n", invert_match?"don't ":"",
+ printf("%smatch%s: %s%s\n", invert_match?"don't ":"", extra,
(bin_data && !strchr(match_data, 'x'))?"0x":"", match_data);
if (re_match_word) free(match_data);
@@ -631,14 +639,14 @@ int setup_matcher(void) {
} else {
-#if USE_PCRE
- uint32_t pcre_options = PCRE_UNGREEDY;
+#if USE_PCRE2
+ uint32_t pcre_options = PCRE2_UNGREEDY;
if (re_ignore_case)
- pcre_options |= PCRE_CASELESS;
+ pcre_options |= PCRE2_CASELESS;
if (re_multiline_match)
- pcre_options |= PCRE_DOTALL;
+ pcre_options |= PCRE2_DOTALL;
#else
re_syntax_options = RE_CHAR_CLASSES | RE_NO_BK_PARENS | RE_NO_BK_VBAR |
RE_CONTEXT_INDEP_ANCHORS | RE_CONTEXT_INDEP_OPS;
@@ -673,15 +681,36 @@ int setup_matcher(void) {
match_data = word_regex;
}
-#if USE_PCRE
- pattern = pcre_compile(match_data, pcre_options, (const char **)&re_err, &err_offset, 0);
+#if USE_PCRE2
+ re = pcre2_compile((PCRE2_SPTR8)match_data, PCRE2_ZERO_TERMINATED,
+ pcre_options, &re_err, &err_offset, NULL);
+ if (!re) {
+ PCRE2_UCHAR buffer[256];
+ pcre2_get_error_message(re_err, buffer, sizeof(buffer));
+ fprintf(stderr, "regex compile failed: %s (offset: %zd)\n", buffer,
+ err_offset);
+ return 1;
+ }
- if (!pattern) {
- fprintf(stderr, "compile failed: %s\n", re_err);
+ pcre2_md = pcre2_match_data_create_from_pattern(re, NULL);
+ if (!pcre2_md) {
+ fprintf(stderr, "unable to alloc pcre2 match data\n");
return 1;
}
- pattern_extra = pcre_study(pattern, 0, (const char **)&re_err);
+ pcre2_config(PCRE2_CONFIG_JIT, &pcre2_jit_on);
+ if (pcre2_jit_on) {
+ int rc;
+ size_t jitsz;
+
+ if (pcre2_jit_compile(re, PCRE2_JIT_COMPLETE) != 0) {
+ fprintf(stderr, "unable to JIT-compile pcre2 regular expression\n");
+ return 1;
+ }
+ rc = pcre2_pattern_info(re, PCRE2_INFO_JITSIZE, &jitsz);
+ if (rc || jitsz == 0)
+ pcre2_jit_on = 0;
+ }
#else
re_err = re_compile_pattern(match_data, strlen(match_data), &pattern);
if (re_err) {
@@ -990,24 +1019,29 @@ void dump_packet(struct pcap_pkthdr *h, u_char *p, uint8_t proto, unsigned char
}
int8_t re_match_func(unsigned char *data, uint32_t len, uint16_t *mindex, uint16_t *msize) {
-#if USE_PCRE
-
- static int sub[2];
- switch(pcre_exec(pattern, 0, (char const *)data, (int32_t)len, 0, 0, 0, 0)) {
- case PCRE_ERROR_NULL:
- case PCRE_ERROR_BADOPTION:
- case PCRE_ERROR_BADMAGIC:
- case PCRE_ERROR_UNKNOWN_NODE:
- case PCRE_ERROR_NOMEMORY:
- perror("she's dead, jim\n");
- clean_exit(2);
+#if USE_PCRE2
+ int rc;
+ PCRE2_SIZE *ovector;
+ PCRE2_UCHAR errbuf[256];
- case PCRE_ERROR_NOMATCH:
- return 0;
+ if (pcre2_jit_on)
+ rc = pcre2_jit_match(re, data, len, 0, 0, pcre2_md, NULL);
+ else
+ rc = pcre2_match(re, data, len, 0, 0, pcre2_md, NULL);
- default:
- *mindex = sub[0];
- *msize = sub[1] - sub[0];
+ if (rc < 0) {
+ switch (rc) {
+ case PCRE2_ERROR_NOMATCH:
+ return 0;
+ default:
+ pcre2_get_error_message(rc, errbuf, sizeof(errbuf));
+ fprintf(stderr, "she's dead, jim: %s (error %d)\n", errbuf, rc);
+ clean_exit(2);
+ }
+ } else {
+ ovector = pcre2_get_ovector_pointer(pcre2_md);
+ *mindex = ovector[0];
+ *msize = ovector[1] - ovector[0];
}
#else
@@ -1479,9 +1513,9 @@ void clean_exit(int32_t sig) {
if (quiet < 1 && sig >= 0)
printf("exit\n");
-#if USE_PCRE
- if (pattern) pcre_free(pattern);
- if (pattern_extra) pcre_free(pattern_extra);
+#if USE_PCRE2
+ if (re) pcre2_code_free(re);
+ if (pcre2_md) pcre2_match_data_free(pcre2_md);
#else
if (pattern.translate) free(pattern.translate);
if (pattern.fastmap) free(pattern.fastmap);

View File

@@ -2,11 +2,11 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="nmap"
PKG_VERSION="7.93"
PKG_SHA256="55bcfe4793e25acc96ba4274d8c4228db550b8e8efd72004b38ec55a2dd16651"
PKG_VERSION="7.91"
PKG_SHA256="18cc4b5070511c51eb243cdd2b0b30ff9b2c4dc4544c6312f75ce3a67a593300"
PKG_LICENSE="GPL"
PKG_SITE="https://nmap.org/"
PKG_URL="https://nmap.org/dist/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_SITE="http://nmap.org/"
PKG_URL="http://nmap.org/dist/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain openssl"
PKG_LONGDESC="Free Security Scanned for Network."
PKG_BUILD_FLAGS="-sysroot"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rar2fs"
PKG_VERSION="1.29.6"
PKG_SHA256="ba3a0b649f2322498d54168f03d2e8bca9b1c96d70d0d97d83ea336a7525d4cb"
PKG_VERSION="1.29.5"
PKG_SHA256="a56e9f2fd3d5037087b8405cff85ce7ffb74a904176f33f55b7bd15117cff2be"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/hasse69/rar2fs"
PKG_URL="https://github.com/hasse69/rar2fs/releases/download/v${PKG_VERSION}/rar2fs-${PKG_VERSION}.tar.gz"

Some files were not shown because too many files have changed in this diff Show More