Compare commits

..

272 Commits
9.0.2 ... 8.0.1

Author SHA1 Message Date
Peter V
b23f269dbe Merge pull request #1463 from chewitt/v801
config: set version to 8.0.1
2017-03-23 09:21:33 +01:00
chewitt
796223f8c6 config: set version to 8.0.1 2017-03-23 08:19:42 +00:00
Peter V
ce9a46ea73 Merge pull request #1473 from chewitt/bump-iwlwifi
iwlwifi: udpate to ba301aa
2017-03-23 09:18:24 +01:00
chewitt
fdcab899bc iwlwifi: udpate to ba301aa 2017-03-23 08:13:40 +00:00
CvH
18a20870c1 Merge pull request #1472 from chewitt/bump-settings
settings: bump to 0.8.11
2017-03-23 08:44:16 +01:00
chewitt
e4c842b45b settings: bump to 0.8.11 2017-03-23 05:29:03 +00:00
Christian Hewitt
c4ebfb00cd Merge pull request #1468 from piotrasd/patch-4
mesa: bump to 13.0.6
2017-03-22 21:18:00 +04:00
piotrasd
845c4c97d9 mesa: bump to 13.0.6
Only critial issue/bug fixes here

https://www.mesa3d.org/relnotes/13.0.4.html
https://www.mesa3d.org/relnotes/13.0.5.html
https://www.mesa3d.org/relnotes/13.0.6.html

All changes described:
New features
"None" !

Only bug fixes some related with kodi
Bug 99158 - vdpau segfaults and gpu locks with kodi on R9285
2017-03-22 16:50:53 +00:00
Peter V
534dc1f932 Merge pull request #1467 from chewitt/projectm-glew
projectm: drop glew patch merged upstream
2017-03-22 17:36:07 +01:00
Christian Hewitt
9a749b5654 Merge pull request #1466 from mglae/fix_fs-resize-8.0
Fix file system resize script hang
2017-03-22 20:32:26 +04:00
chewitt
8b98e0dc78 projectm: drop glew patch merged upstream 2017-03-22 06:50:24 +00:00
Christian Hewitt
fe48e16b78 Merge pull request #1464 from MilhouseVH/kodi17.1-extra
RPi/RPi2: Update kodi support patches
2017-03-22 06:11:31 +04:00
mglae
12be174140 busybox: fix fs-resize by using sgdisk 2017-03-21 23:29:15 +01:00
mglae
01e30699f1 gptfdisk: new package providing sgdisk 2017-03-21 23:28:53 +01:00
MilhouseVH
241b089dbd ffmpeg: update hevc patch with turbo fix 2017-03-21 21:56:30 +00:00
MilhouseVH
7bdafac236 RBP: Update firmware to 2ef9cb6 2017-03-21 21:32:17 +00:00
MilhouseVH
f42e876e11 RPi/RPi2: Update kodi support patches 2017-03-21 21:31:24 +00:00
MilhouseVH
4bf466922e Merge pull request #1462 from chewitt/fix-patch
kodi: drop commits from RPi backports patch
2017-03-21 11:07:00 +00:00
CvH
a0d90c3e2d Merge pull request #1461 from chewitt/aml-bump
linux: update amlogic-3.14 to eb7e852
2017-03-21 08:47:38 +01:00
chewitt
735086eb55 kodi: drop commits from RPi backports patch 2017-03-21 05:12:18 +00:00
chewitt
bbdc495bf5 linux: update amlogic-3.14 to eb7e852 2017-03-21 03:25:24 +00:00
Christian Hewitt
08c2e35be9 Merge pull request #1460 from MilhouseVH/kodi17.1
kodi: update to kodi-17.1
2017-03-21 07:13:41 +04:00
MilhouseVH
6c91178539 ffmpeg: fix an issue with MMAL rendering 2017-03-20 22:28:17 +00:00
MilhouseVH
4ca55555ac RPi/RPi2: update firmware to 3845593 2017-03-20 22:18:36 +00:00
MilhouseVH
5bb439d3b6 RPi/RPi2: Update kodi support patches 2017-03-20 22:17:23 +00:00
MilhouseVH
a406686a05 kodi: update kodi-binary-addons 2017-03-20 22:17:13 +00:00
MilhouseVH
c3a7fcffae kodi: update to kodi-17.1 2017-03-20 22:12:27 +00:00
Christian Hewitt
a7cf6b31fe Merge pull request #1446 from awiouy/squeezelite-8.0
multimedia-tools: update squeezelite to a3d95ec
2017-03-17 10:46:29 +04:00
Christian Hewitt
03167fa8f6 Merge pull request #1439 from HiassofT/le8-ir-keytable-split
backport of #1438 v4l-utils: cleanup locally added keymaps, remove crime against rc6_mce
2017-03-17 09:19:41 +04:00
Christian Hewitt
7e1bf53b40 Merge pull request #1434 from HiassofT/le8-ir-keytable
backport of #1433 properly fix streamzap issues, allow user rc_maps.cfg override
2017-03-17 09:18:36 +04:00
Christian Hewitt
029487648d Merge pull request #1436 from vpeter4/imx6-8.0-linux-vero-patches
imx6/linux: kernel fixes from vero (maybe fixes black screen when boo…
2017-03-17 09:17:15 +04:00
Christian Hewitt
c3766580f9 Merge pull request #1435 from vpeter4/imx6-8.0-kodi-deinterlace
imx6/kodi: set default scan order to 'top field first' for MBAFF AVC …
2017-03-17 09:16:03 +04:00
awiouy
bb79e9854d multimedia-tools: update squeezelite to a3d95ec 2017-03-14 23:52:57 +01:00
awiouy
6e2c397be6 squeezelite: update to a3d95ec and link audio libraries 2017-03-14 23:49:22 +01:00
Matthias Reichl
6289fefb19 v4l-utils: fix invalid keynames in hp mce remote table
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 18:29:45 +01:00
Matthias Reichl
40c68b1236 v4l-utils: create separate keymaps instead of patching rc6_mce
All locally added remote keycodes are now in separate files,
one per remote, instead of adding them to rc6_mce.

A new keymap, libreelec_multi, with all keycodes of the previous
rc6_mce map is added in install and used by default when the
remote is configured to use the rc-rc6-mce table.

The default behaviour is unchanged, LE can still be controlled with
MCE, xbox, ... remotes out of the box but it's now possible to configure
the ir receiver to react only on the codes sent by a specific remote.

This solves the issue where a xbox remote always controlled LE even
when a user only wanted to control it with a MCE remote.

To do this simply create a /storage/.config/rc_maps.cfg file with
the following content:

*	rc-rc6-mce	rc6_mce

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 18:29:45 +01:00
Christian Hewitt
3e1bdc3e17 Merge pull request #1437 from gdachs/eliminates-lags-after-bluetooth-packet-loss-8.0
added patch packages/audio/pulseaudio/patches/pulseaudio-0900.03-elim…
2017-03-12 20:58:34 +04:00
Gerald Dachs
21b1b6f4ea added patch packages/audio/pulseaudio/patches/pulseaudio-0900.03-eliminates-lags-after-bluetooth-packet-loss.patch 2017-03-12 17:52:04 +01:00
Peter Vicman
1fb2edc659 imx6/linux: kernel fixes from vero (maybe fixes black screen when booting)
thanks to @samnazarko
2017-03-12 16:49:47 +01:00
Peter Vicman
d7da465515 imx6/kodi: set default scan order to 'top field first' for MBAFF AVC files
fixes deinterlace when scan order is not explicitly  set
https://forum.libreelec.tv/thread-5849.html
2017-03-12 16:44:37 +01:00
Matthias Reichl
586092ce7b v4l-utils: support user keytable map in /storage/.config/
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 14:16:18 +01:00
Matthias Reichl
65bd18949d v4l-utils: replace streamzap fix with proposed upstream patch
See http://www.mail-archive.com/linux-media@vger.kernel.org/msg108483.html

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 14:16:07 +01:00
MilhouseVH
7948131c88 Merge pull request #1428 from chewitt/settings_0810
settings: bump to v0.8.10
2017-03-10 04:00:56 +00:00
chewitt
31f55cbd62 settings: bump to v0.8.10 2017-03-10 03:53:19 +00:00
Christian Hewitt
83f2e8d015 Merge pull request #1425 from MilhouseVH/need_unpack_correction_le8
buildsystem: Don't restrict PKG_NEED_UNPACK to package.mk [backport]
2017-03-10 07:36:08 +04:00
Christian Hewitt
a19979051e Merge pull request #1427 from MilhouseVH/bootload_dir_le8
cleanup: avoid using find command to determine package directory [backport]
2017-03-10 07:35:36 +04:00
MilhouseVH
ac04dfa3ec config/functions: simplify kernel_* functions 2017-03-06 22:15:51 +00:00
MilhouseVH
0dd42ece23 xorg-server: sane package version access 2017-03-06 22:15:50 +00:00
MilhouseVH
a6a64db317 script/images: use get_pkg_directory helper 2017-03-06 22:15:50 +00:00
MilhouseVH
d1785da461 config/functions: add get_pkg_variable and get_pkg_directory helper functions 2017-03-06 22:15:50 +00:00
MilhouseVH
d047abe378 buildsystem: Don't restrict PKG_NEED_UNPACK to package.mk 2017-03-06 04:50:46 +00:00
Christian Hewitt
d2002e9ec1 Merge pull request #1423 from MilhouseVH/xorg_server_fix_le8
xorg-server: clean package when nvidia drivers are bumped [backport]
2017-03-06 05:30:58 +04:00
MilhouseVH
0f506f9d25 xorg-server: clean package when nvidia drivers are bumped 2017-03-05 15:58:55 +00:00
Christian Hewitt
99afd73be7 Merge pull request #1421 from vpeter4/imx6-lirc-8.0
imx6/linux: add timeout on idle for gpio-ir-recv [backport]
2017-03-05 15:21:12 +04:00
Peter Vicman
c25a6a395b imx6/linux: add timeout on idle for gpio-ir-recv 2017-03-03 20:18:29 +01:00
Christian Hewitt
ee000b4bea Merge pull request #1419 from MilhouseVH/pi0w_enable_bt_le8
RPi: build brcmfmac_sdio-firmware-rpi for Pi0W [backport]
2017-03-03 20:19:10 +04:00
MilhouseVH
a80455cf04 RPi: build brcmfmac_sdio-firmware-rpi for Pi0W 2017-03-03 16:12:55 +00:00
Christian Hewitt
611678249c Merge pull request #1417 from HiassofT/le8-rc-decoder-fix
[LE8] Fix IR decoder modules not loading automatically
2017-03-03 18:34:11 +04:00
Matthias Reichl
7a7b91fccb media_build: fix rc raw decoder loading
see http://www.spinics.net/lists/linux-media/msg111573.html
2017-03-03 10:58:36 +01:00
Matthias Reichl
4b66eb0705 linux: fix rc raw decoder loading
see http://www.spinics.net/lists/linux-media/msg111573.html
2017-03-03 10:32:19 +01:00
Christian Hewitt
5cd8b585cc Merge pull request #1415 from MilhouseVH/pkg_need_unpack_le8
kodi-theme-Estuary: add missing PKG_NEED_UNPACK [backport]
2017-03-03 12:15:49 +04:00
MilhouseVH
d51bbc5bea kodi-theme-Estuary: add missing PKG_NEED_UNPACK 2017-03-03 07:36:24 +00:00
Christian Hewitt
68e0f09e2c Merge pull request #1414 from MilhouseVH/btuart_le8
brcmfmac_sdio-firmware-rpi: Implement Raspbian udev rules and btuart [backport]
2017-03-03 02:55:50 +04:00
Christian Hewitt
50ad0a317c Merge pull request #1412 from MilhouseVH/l4913_fixup_le8
RBP: Fixup 4.9.13 with Pi Zero W support patches
2017-03-03 02:55:29 +04:00
MilhouseVH
2ca552eff8 RBP: update firmware to f5446ba 2017-03-02 17:20:16 +00:00
MilhouseVH
f5dd985f63 brcmfmac_sdio-firmware-rpi: Implement Raspbian udev rules and btuart 2017-03-02 17:11:59 +00:00
MilhouseVH
d1bffaad72 RBP: Fixup 4.9.13 with Pi Zero W support patches 2017-03-02 16:04:28 +00:00
Christian Hewitt
96911956fd Merge pull request #1411 from MilhouseVH/fedorahosted_le8
fedorahosted.org closed down [backport]
2017-03-02 18:07:13 +04:00
MilhouseVH
7fa4f6f085 new: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
713626cbd6 elfutils: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
c4ab1f6ca4 liberation-fonts-ttf: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
2dffc06ed3 Merge pull request #1393 from chewitt/kodi_171
kodi: bump to 17.1-RC1
2017-03-02 11:15:29 +00:00
Christian Hewitt
87f4220a2c Merge pull request #1409 from MilhouseVH/ftp_kernel_org_le8
kmod: ftp.kernel.org no longer working [backport]
2017-03-02 14:59:29 +04:00
MilhouseVH
31e21f7872 kmod: ftp.kernel.org no longer working [backport] 2017-03-02 10:52:52 +00:00
chewitt
dc9412f041 kodi: update exclusions in rpi-kodi-rebase script 2017-03-02 07:24:43 +00:00
chewitt
dd0f9303fe RPi/RPi2: update firmware to a5d4376 2017-03-02 07:24:43 +00:00
chewitt
6fe28f5005 ffmpeg: add HEVC improvements and simplify patches 2017-03-02 07:24:43 +00:00
chewitt
85d02cc93b RPi/RPi2: Update kodi support patches 2017-03-02 07:24:43 +00:00
chewitt
dc5f87d467 kodi: add cec button repeat settings PR11222 2017-03-02 07:24:43 +00:00
chewitt
7e967b1f66 kodi: binary add-on updates 2017-03-02 07:24:43 +00:00
chewitt
38376ad087 kodi: drop upstream-merged patches 2017-03-02 07:24:43 +00:00
chewitt
28ddaa01d3 kodi: bump to 17.1-RC1 2017-03-02 07:24:43 +00:00
Christian Hewitt
f782ee9cd3 Merge pull request #1406 from awiouy/emby_8
emby: refer to libMagickWand-7
2017-03-02 01:49:07 +04:00
awiouy
277e0e3cb9 emby: refer to libMagickWand-7 2017-03-01 20:25:31 +01:00
Christian Hewitt
489081954c Merge pull request #1405 from awiouy/emby_325_8_fu
mono: remove patch
2017-03-01 12:59:43 +04:00
awiouy
3ec179a05d mono: remove patch 2017-03-01 08:12:21 +01:00
Christian Hewitt
de8494df37 Merge pull request #1402 from awiouy/emby_325_8
emby: update to 3.2.5
2017-03-01 09:41:19 +04:00
awiouy
9ac8481770 emby: update to 3.2.5 2017-03-01 02:20:40 +01:00
awiouy
bd2648a67b x264: update to snapshot-20170228-2245-stable 2017-03-01 02:20:40 +01:00
awiouy
29bd97b25c imagemagick: update to 7.0.5-0 2017-03-01 02:20:40 +01:00
awiouy
41724ac2fb ffmpegx: rebuild 2017-03-01 02:20:40 +01:00
awiouy
48c4a94fd8 mono: update to 4.8.0.495 2017-03-01 02:20:40 +01:00
Christian Hewitt
d3bc4d4405 Merge pull request #1276 from awiouy/lcdd-8
Backport of #1275
2017-03-01 03:17:14 +04:00
Lukas Rusak
0bb162155d Merge pull request #1399 from HiassofT/le8-lirc-xbox
LE8: RPi/RPi2: re-enable lirc_xbox driver
2017-02-28 10:42:12 -08:00
Matthias Reichl
9762230292 RPi/RPi2: re-enable lirc_xbox driver 2017-02-28 10:31:00 +01:00
Christian Hewitt
a396c0eab7 Merge pull request #1398 from lrusak/linux-libreelec-8.0
linux: update to 4.9.13
2017-02-28 09:11:48 +04:00
Matthias Reichl
79e65b9a45 RPi/RPi2: add package rpi-cirrus-config 2017-02-27 12:52:21 -08:00
Matthias Reichl
218521ccda rpi-cirrus-config: config scripts for Cirrus Logic Audio Card on RPi 2017-02-27 12:52:21 -08:00
Lukas Rusak
1c53abbf63 rpi-linux-rebase.sh: add commit to drop 2017-02-27 12:52:21 -08:00
Lukas Rusak
eec7b79ac2 RPi/RPi2: Update linux.arm.conf 2017-02-27 12:52:21 -08:00
Lukas Rusak
a222dcd493 RPi/RPi2: Update linux support patches 2017-02-27 12:12:42 -08:00
Lukas Rusak
9908405b3b linux: update to 4.9.13 2017-02-27 12:11:57 -08:00
Christian Hewitt
0e7d3445d0 Merge pull request #1193 from kszaq/aml_fix_mp4
Backport of #1175
2017-02-27 14:52:12 +04:00
Christian Hewitt
c437348a41 Merge pull request #1378 from MilhouseVH/spiff_projectm_backport
projectM: remove glew
2017-02-27 14:50:10 +04:00
Christian Hewitt
c6c72837a3 Merge pull request #1396 from MilhouseVH/le8_disable_adsp
kodi: hide ADSP settings
2017-02-27 14:49:11 +04:00
Christian Hewitt
b6ca3ec864 Merge pull request #1397 from kszaq/gpu-aml-utilization-8.0
gpu-aml: Do not use Mali Utilization [backport]
2017-02-27 14:44:17 +04:00
kszaq
76c339e73e gpu-aml: Do not use Mali Utilization
This settings turns off any scaling for Mali cores/frequency.
The effect of this is smooth Kodi GUI operation without a need
to set turbo mode in driver parameter or device tree.

Users reported smoother GUI with UTILIZATION = 0 and Mali operating at 500MHz
than with UTILIZATION = 1 and Mali at 666MHz.
2017-02-27 11:12:08 +01:00
MilhouseVH
c0a4a67a71 kodi: don't init ADSP system 2017-02-27 09:50:49 +00:00
MilhouseVH
e9c5d18bc6 kodi: hide ADSP settings 2017-02-27 08:06:10 +00:00
Christian Hewitt
655727eef2 Merge pull request #1394 from MilhouseVH/python_concurrent_fix_backport
Python: use -j1 for makeinstall_host [backport]
2017-02-26 18:18:58 +04:00
MilhouseVH
354b8724c3 Python: use -j1 for makeinstall_host 2017-02-26 14:07:22 +00:00
Christian Hewitt
91c886f3ad Merge pull request #1386 from CvH/joy_le8
peripheral.joystick: revert package bump
2017-02-22 23:37:50 +04:00
cvh
0be12dfdc1 peripheral.joystick: revert package bump 2017-02-22 17:50:48 +01:00
CvH
4d386da4aa Merge pull request #1384 from vpeter4/imx6-kodi-8
imx6: update kodi patch (stop/resume streams on OnLostDisplay/OnReset…
2017-02-22 17:44:27 +01:00
Peter Vicman
df45834fe0 imx6: update kodi patch (stop/resume streams on OnLostDisplay/OnResetDisplay)
fixes alsa errors (after boot there is no sound for almost 2 minutes)

16:27:16.182 T:1929376672   ERROR: CAESinkALSA - snd_pcm_writei(-5) Input/output error - trying to recover
16:27:16.182 T:1929376672   ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - snd_pcm_writei returned -5 (Input/output error)
2017-02-22 17:39:45 +01:00
MilhouseVH
d873b64624 Merge pull request #1382 from chewitt/kodi_addons
kodi: updates to binary add-ons
2017-02-22 08:29:06 +00:00
MilhouseVH
28de7e956f Merge pull request #1383 from chewitt/version_devel
config: set version to devel
2017-02-22 07:00:49 +00:00
chewitt
bee981a348 config: set version to devel 2017-02-22 06:53:27 +00:00
chewitt
fd5edd2524 kodi: updates to binary add-ons 2017-02-22 04:09:40 +00:00
Christian Hewitt
7542b351ce Merge pull request #1374 from codesnake/update_wetekdvb_le8
Backport of #1372 (Update WeTek proprietary DVB modules to wetekdvb-20170116)
2017-02-21 23:45:23 +04:00
Christian Hewitt
22cb3de37b Merge pull request #1375 from codesnake/wetek_core_cpu_governor_le8
Backport of #1373 (projects/WeTek_Core: Switch to ondemand CPU scaling governor)
2017-02-20 09:24:16 +04:00
Christian Hewitt
47ba862258 Merge pull request #1376 from Kwiboo/le8-wetek-pwm
WeTek_Hub/WeTek_Play_2: disable meson PWM support
2017-02-20 09:23:32 +04:00
MilhouseVH
e040e7490b visualization.projectm: remove glew (spiff) 2017-02-20 02:35:36 +00:00
MilhouseVH
2bde52b609 libgprojectM: hacky removal of glew (spiff) 2017-02-20 02:35:36 +00:00
Jonas Karlman
0c29d42dfb WeTek_Hub/WeTek_Play_2: disable meson PWM support 2017-02-19 22:34:52 +01:00
Alex Deryskyba
c908c1f453 projects/WeTek_Core: Switch to ondemand CPU scaling governor
The interactive CPU scaling governor for some reason causes a significant slowdown after some time of inactivity.
WeTek Core becomes very sluggish and almost unusable until a reboot.

Switching to ondemand governor seems fixes the issue.
2017-02-19 20:29:29 +01:00
Alex Deryskyba
03b1748e35 packages/linux-drivers/wetekdvb: Update WeTek proprietary DVB modules to wetekdvb-20170116 2017-02-19 20:23:11 +01:00
Lukas Rusak
6f8718d27c Merge pull request #1361 from chewitt/version_800
config: set version to 8.0.0
2017-02-17 20:22:48 -08:00
Lukas Rusak
52032717d3 Merge pull request #1368 from chewitt/linux-hashes
linux: udpate linux-amlogic 3.14 kernel to 2f04daa
2017-02-17 20:22:12 -08:00
chewitt
7b73c87b5c config: set version to 8.0.0 2017-02-18 04:20:29 +00:00
Christian Hewitt
fc3302b54a Merge pull request #1342 from wrxtasy/LE8-C2-PWM
odroid-c2: linux add PWM support
2017-02-18 08:18:07 +04:00
chewitt
6b4fc85163 linux: udpate linux-amlogic 3.14 kernel to 2f04daa 2017-02-18 04:03:54 +00:00
MilhouseVH
a0bc8c4dac Merge pull request #1367 from chewitt/linux-hashes
linux: update linux-amlogic 3.10 kernel to de626d8
2017-02-18 02:53:25 +00:00
chewitt
da66b9b4bd linux: update linux-amlogic 3.10 kernel to de626d8 2017-02-18 02:45:21 +00:00
Christian Hewitt
c31206ff78 Merge pull request #1363 from codesnake/update_amlogic_kernel_3.10_le8
Backport of #1362 (Update Amlogic kernel to 3.10-de626d8)
2017-02-17 19:57:42 +04:00
Peter V
94e8f64f12 Merge pull request #1335 from wrxtasy/LE8-hexdump
busybox: add hexdump for C2 RAM OClocking script
2017-02-17 13:43:16 +01:00
Alex Deryskyba
6467122c22 packages/linux: Update Amlogic kernel to 3.10-de626d8 2017-02-17 12:56:36 +01:00
Christian Hewitt
2907959e13 Merge pull request #1360 from Kwiboo/lirc-repeat-fixup
kodi: skip one lirc repeat event
2017-02-17 12:45:06 +04:00
Jonas Karlman
8454fbaa70 kodi: skip one lirc repeat event
This fixes an edge case for Harmony remotes configured to send 3 command repeats
2017-02-17 09:13:33 +01:00
Lukas Rusak
4e85d78c5a Merge pull request #1359 from chewitt/settings_089
settings: bump to v0.8.9
2017-02-16 21:41:58 -08:00
chewitt
0668aa8a07 settings: bump to v0.8.9 2017-02-17 05:35:16 +00:00
Christian Hewitt
91099120ac Merge pull request #1351 from lrusak/docker-libreelec-8.0
backport of #1350 (docker: enable journald buildtag)
2017-02-15 23:51:36 +04:00
Lukas Rusak
be9c7ab79f docker: enable journald buildtag 2017-02-15 11:48:27 -08:00
Christian Hewitt
396624cfb9 Merge pull request #1345 from MilhouseVH/nvidia_bump_8.0
xf86-video-nvidia*: bump 375.39 and 340.102 [backport]
2017-02-15 22:48:58 +04:00
Christian Hewitt
97a8eb49cb Merge pull request #1349 from HiassofT/le8-v4l-utils-backport
[LE8 backport] v4l-utils: fix issues with streamzap remote
2017-02-15 22:47:01 +04:00
Matthias Reichl
6949ffd446 v4l-utils: fix invalid protocol in streamzap keymap 2017-02-15 18:18:59 +01:00
Matthias Reichl
3f7cc3eb02 v4l-utils: backport ir-keytable streamzap fix 2017-02-15 18:18:59 +01:00
MilhouseVH
28dedbd6de xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-340.102 2017-02-15 02:51:14 +00:00
MilhouseVH
01685cc719 xf86-video-nvidia: update to xf86-video-nvidia-375.39 2017-02-15 02:51:14 +00:00
Jamie Coldhill
c56cc486af odroid-c2: linux add PWM support
dependant on PR:
https://github.com/LibreELEC/linux-amlogic/pull/45
2017-02-15 02:13:11 +08:00
Christian Hewitt
824565fc3f Merge pull request #1341 from wrxtasy/LE8-IR-GPIOPLUG
odroid-c2: linux - add missing IR_GPIOPLUG_CIR module
2017-02-14 22:12:46 +04:00
Jamie Coldhill
d6180afba3 odroid-c2: linux - add requested IR_GPIOPLUG_CIR module
http://forum.odroid.com/viewtopic.php?f=144&t=25742&start=50#p179080
2017-02-15 02:08:51 +08:00
Jamie Coldhill
2a7793733c busybox: add hexdump for C2 RAM OClock script 2017-02-14 23:06:34 +08:00
Christian Hewitt
d33c7ea336 Merge pull request #1332 from linuxserver/ziploc8.0
Backport of #1331 (change repo location for linuxserver addon zips)
2017-02-14 05:08:55 +04:00
aptalca
ac9bee017e repo: update linuxserver
change repo location for addon zips
2017-02-13 17:07:59 -05:00
Christian Hewitt
91d7ffa374 Merge pull request #1323 from Kwiboo/lirc-repeat
input: change input repeat config
2017-02-13 00:19:09 +04:00
Christian Hewitt
a0ab5dff70 Merge pull request #1328 from lrusak/devel
config/version: set back to devel
2017-02-12 23:26:29 +04:00
Lukas Rusak
7ddcdfa65a config/version: set back to devel 2017-02-12 09:50:36 -08:00
Jonas Karlman
ae5a16791b kodi: process all lirc repeat events 2017-02-12 17:56:16 +01:00
Jonas Karlman
194f304c22 v4l-utils: add 70-input-repeat.rules
This moves the repeat delay config from 98-eventlircd.rules,
changes the repeat period from 33ms to 80ms for lircd-uinput
and changes the repeat delay from 1s to 500ms for all input devices.
2017-02-12 17:56:16 +01:00
Christian Hewitt
c6e0ad65d7 Merge pull request #1325 from jester-xbmc/patch-3
Backport for LE8: Revert "Merge pull request #1081 from Raybuntu/even…
2017-02-12 20:02:37 +04:00
Christian Hewitt
22510cdfd2 Merge pull request #1324 from jester-xbmc/patch-2
Backport for LE8: WeTek_Play_2: Remap buttons in remote.conf
2017-02-12 20:01:30 +04:00
Jester
db83f0b8ba Backport for LE8: Revert "Merge pull request #1081 from Raybuntu/eventlircd"
work by @Raybuntu:
This reverts commit 8104294, reversing
changes made to dc61a12.

As mentioned in the other pull
https://github.com/LibreELEC/LibreELEC.tv/pull/1324#issuecomment-279215468
2017-02-12 13:49:45 +01:00
Jester
838715a1af Backport for LE8: WeTek_Play_2: Remap buttons in remote.conf
work by @Raybuntu this was already in master:
5df86b714d
2017-02-12 13:23:47 +01:00
Christian Hewitt
f9704e0d6f Merge pull request #1316 from lrusak/kodi-17-wp-libreelec-8.0
remove uneeded patches
2017-02-12 10:09:43 +04:00
Christian Hewitt
599d041a28 Merge pull request #1315 from lrusak/kodi-17-libreelec-8.0
backport of #1176 (remove and rework kodi patches)
2017-02-12 10:04:56 +04:00
Christian Hewitt
8a06a27d9c Merge pull request #1322 from lrusak/linux-am-libreelec-8.0
backport of #1321 (linux-amlogic: update to 83803a1)
2017-02-12 10:02:26 +04:00
Christian Hewitt
0ffe72b890 Merge pull request #1308 from lrusak/docker-libreelec-8.0
backport of #1307 (docker: update to 1.13.1)
2017-02-12 09:59:02 +04:00
Lukas Rusak
053fd91d52 linux-amlogic: update to 83803a1 2017-02-11 19:27:00 -08:00
Lukas Rusak
cf63cc1051 kodi: drop unneeded patch 2017-02-11 13:00:32 -08:00
Lukas Rusak
c3afcf4e6c WeTek_Play: remove uneeded patch 2017-02-10 12:49:14 -08:00
fritsch
deb8e68a2c kodi: add reworked intel detection patch to avoid polluting DVDCodecInfo 2017-02-10 12:46:15 -08:00
Lukas Rusak
82e434597d kodi: remove old intel detection patch 2017-02-10 12:46:15 -08:00
Lukas Rusak
764595b2b8 kodi: remove patch, p-state driver exposes scaling_cur_freq just fine 2017-02-10 12:46:15 -08:00
Lukas Rusak
a063d8f61d kodi: remove patch, possibly fixed in kernel 4.9 2017-02-10 12:46:14 -08:00
Lukas Rusak
88d0220b64 Merge pull request #1311 from chewitt/version_7953
config: set version to 7.95.3
2017-02-09 20:13:27 -08:00
chewitt
36a93bd8b5 config: set version to 7.95.3 2017-02-10 03:39:39 +00:00
Christian Hewitt
6051b70bbb Merge pull request #1310 from CvH/kodi17_backport
kodi: add backport to fix addon cache
2017-02-10 06:20:51 +04:00
cvh
c2eed16d0c kodi: add backport to fix addon cache 2017-02-09 19:58:35 +01:00
Lukas Rusak
3dfd23d811 docker: update to 1.13.1 2017-02-09 01:09:01 -08:00
Lukas Rusak
2d27c7d6b2 runc: update to 9df8b30 2017-02-09 01:09:01 -08:00
Lukas Rusak
840495f829 containerd: update to aa8187d 2017-02-09 01:09:00 -08:00
Lukas Rusak
6a931c6228 go: update to 1.7.5 2017-02-09 01:09:00 -08:00
lsellens
3390efbc80 net-snmp: new addon 2017-02-09 06:53:41 +04:00
Christian Hewitt
8f6f8614fe Merge pull request #1305 from lrusak/lirc-libreelec-8.0
backport of #1295 (lirc: simplify scripts)
2017-02-09 06:28:25 +04:00
Lukas Rusak
7a28e471ee lirc: simplify scripts 2017-02-08 18:21:44 -08:00
CvH
31ec452a95 Merge pull request #1303 from vpeter4/imx6-libcec
imx6/libcec: update libcec patches, add it also for 3.14 kernel [back…
2017-02-08 13:19:51 +01:00
CvH
6cd60e15b6 Merge pull request #1302 from vpeter4/imx6-linux
imx6/linux: update sr-3.14 to 2fb11e2 (supports v1.5 soms from solidr…
2017-02-08 13:15:26 +01:00
CvH
62f9fb4246 Merge pull request #1300 from vpeter4/imx6-uboot
imx6/u-boot: update to c8d1200 [backport]
2017-02-08 13:15:19 +01:00
CvH
48cc5baf64 Merge pull request #1301 from vpeter4/imx6-uboot-v2
imx6/u-boot-v2: update to 2017.01 [backport]
2017-02-08 13:15:04 +01:00
Peter Vicman
f97b5e20f6 imx6/libcec: update libcec patches, add it also for 3.14 kernel [backport] 2017-02-08 11:42:43 +01:00
Peter Vicman
b9c74ec5a7 imx6/linux: update sr-3.14 to 2fb11e2 (supports v1.5 soms from solidrun) [backport] 2017-02-08 11:42:02 +01:00
Peter Vicman
30db61e96b imx6/u-boot-v2: update to 2017.01 [backport] 2017-02-08 11:41:05 +01:00
Peter Vicman
b6e4f4ee49 imx6/u-boot: update to c8d1200 [backport] 2017-02-08 11:40:00 +01:00
Christian Hewitt
858b653a36 Merge pull request #1290 from HiassofT/le8-lirc
backport of #1281 (fix lirc cross-compilation and non-working left/right keys)
2017-02-07 14:43:56 +04:00
Matthias Reichl
d3c568d81c eventlircd: dont' send _UP release events
Kodi doesn't support the artificial lirc release events and
_UP leads to a clash since KEY_LEFT_UP and KEY_RIGHT_UP are valid
linux input events since the diagonal key support in kernel 4.7.
2017-02-07 09:10:14 +01:00
Matthias Reichl
f63efba4e9 lirc: fix cross compilation
Make sure lirc uses kernel headers from target, not the build
host, when generating input_map.inc.
2017-02-07 09:10:06 +01:00
Matthias Reichl
7305d58ddb lirc: use _LIRCUP as key-release suffix instead of _UP
Since diagonal key support was added in kernel 4.7 KEY_LEFT_UP
and KEY_RIGHT_UP are valid input symbols.

This means we can no longer use _UP as a suffix for transporting
release events from lircd to lircd-uinput, lircd-uinput now
interprets KEY_LEFT_UP/KEY_RIGHT_UP as a diagnoal key down event
instead of left/right key release.
2017-02-07 09:09:58 +01:00
Lukas Rusak
ab5d0de1b2 Merge pull request #1289 from chewitt/backports
eventlircd: use default initial-repeat delay for gpio-rc-recv
2017-02-06 22:42:09 -08:00
Matthias Reichl
3fc5343a9d eventlircd: use default initial-repeat delay for gpio-rc-recv 2017-02-07 05:34:34 +00:00
Christian Hewitt
d845c83825 Merge pull request #1267 from ozolli/le8-btpowerup
backport of #1256
2017-02-07 09:32:17 +04:00
Christian Hewitt
f140ac6130 Merge pull request #1288 from lrusak/64bit-fix-libreelec-8.0
backport of #1286 (kodi: set MALLOC_MMAP_THRESHOLD_=524288 for 64bit cpus)
2017-02-07 09:31:32 +04:00
popcornmix
36a3754ef5 kodi: set MALLOC_MMAP_THRESHOLD_=524288 for 64bit cpus 2017-02-06 21:28:15 -08:00
Christian Hewitt
62808dc328 Merge pull request #1280 from MilhouseVH/linux498_backport
linux: update to linux-4.9.8 [LE8]
2017-02-06 16:24:33 +04:00
MilhouseVH
fc9d875d7d RBP: config: Add SND_SOC_ADAU7002 codec module 2017-02-05 06:22:50 +00:00
MilhouseVH
1d3f16f6e2 RPi/RPi2: update linux support patches for linux 4.9.8 2017-02-05 06:13:58 +00:00
MilhouseVH
07e8421ff5 RBP: update to firmware 475a89a 2017-02-05 06:12:26 +00:00
MilhouseVH
8bf437cc18 linux: update to linux-4.9.8 2017-02-05 06:11:48 +00:00
MilhouseVH
504ecccd10 Merge pull request #1279 from chewitt/version_devel
config: set version to devel
2017-02-05 06:06:07 +00:00
chewitt
cdf4232fe3 config: set version to devel 2017-02-05 05:58:58 +00:00
Christian Hewitt
f9c44bc1a7 Merge pull request #1235 from HiassofT/le8-systemd
backport of #1234
2017-02-05 08:51:53 +04:00
DaVukovic
b48f83a18a busybox: cleanup getedid script 2017-02-05 08:39:56 +04:00
awiouy
83fd4f2512 lcdd: update to 0.5.8 2017-02-04 10:25:01 +01:00
ozolli
25d93d8f5d bluez: set AutoEnable policy 2017-02-02 09:45:27 +01:00
MilhouseVH
0a6a5227b0 Merge pull request #1260 from chewitt/version_7952
config: set version to 7.95.2
2017-02-01 19:32:39 +00:00
Christian Hewitt
95d73fa77c Merge pull request #1261 from MilhouseVH/kodi17.0
kodi: update to 17.0-Final
2017-02-01 23:22:18 +04:00
Christian Hewitt
54a59805e9 Merge pull request #1247 from CvH/3600-fix
media_build: fix TT-S2-3600
2017-02-01 23:20:32 +04:00
MilhouseVH
0395bd861e RPi/RPi2: Update kodi support patches 2017-02-01 19:17:50 +00:00
MilhouseVH
223d56c941 kodi-binary-addons: update to latest versions 2017-02-01 19:13:02 +00:00
MilhouseVH
1551d41c00 kodi: update to 17.0 Final 2017-02-01 19:06:15 +00:00
chewitt
d2ec4820bb config: set version to 7.95.2 2017-02-01 18:59:15 +00:00
Peter V
83ef1f2ea9 Merge pull request #1253 from MilhouseVH/lirc_stable_8.0
lirc: use stable pkg_url [backport]
2017-01-31 15:30:27 +01:00
Peter V
e785d55863 Merge pull request #1254 from chewitt/settings_088
settings: bump LE settings to v0.8.8
2017-01-31 13:26:48 +01:00
chewitt
9cef657fe5 settings: bump LE settings to v0.8.8 2017-01-31 12:21:22 +00:00
MilhouseVH
fd9adcf9d9 lirc: use stable pkg_url [backport] 2017-01-31 11:28:52 +00:00
cvh
d70dba550e media_build: fix TT-S2-3600
- fixes kernel oops see patch notes
2017-01-30 18:45:36 +01:00
CvH
c6c4c1d28c Merge pull request #1246 from chewitt/pi-backports
kodi: update RPi/RPi2 backports patch
2017-01-30 15:34:18 +01:00
chewitt
b468ea5268 kodi: update RPi/RPi2 backports patch 2017-01-30 14:32:01 +00:00
CvH
dfa4e3c379 Merge pull request #1245 from chewitt/pi-firmware
RBP: update to firmware debe2d2
2017-01-30 14:21:53 +01:00
MilhouseVH
37349c0283 RBP: update to firmware debe2d2 2017-01-30 13:14:40 +00:00
Christian Hewitt
72c1be803a Merge pull request #1218 from CvH/mb-rc-config-8
backport of #1217
2017-01-29 20:03:05 +04:00
Christian Hewitt
47c4ea69a2 Merge pull request #1220 from CvH/moon
backport of #1219
2017-01-29 14:37:33 +04:00
Christian Hewitt
100373f35d Merge pull request #1223 from CvH/tvh_up
backport of #1222
2017-01-29 14:35:34 +04:00
Christian Hewitt
88204b129e Merge pull request #1228 from CvH/tiger-8
backport of #1227
2017-01-29 14:28:43 +04:00
Christian Hewitt
f8a5187d8f Merge pull request #1230 from CvH/oscam
backport of #1229
2017-01-29 14:27:23 +04:00
Christian Hewitt
61e22e3fbf Merge pull request #1232 from CvH/mpd-8
backport of #1231
2017-01-29 14:25:40 +04:00
Lukas Rusak
6ef8ae7ccf Merge pull request #1213 from MilhouseVH/taglib_id3_le8
taglib: Efficient lookup for an ID3v2 tag in MPEG files with garbage …
2017-01-29 01:47:12 -08:00
sopparus
8517c9f5bc samba: update samba url to https 2017-01-29 13:46:06 +04:00
Lukas Rusak
317567c6b9 Merge pull request #1238 from chewitt/kodi_addons
kodi: update binary addons for v17.0-RC4
2017-01-29 01:34:57 -08:00
Christian Hewitt
7632119b72 Merge pull request #1237 from Raybuntu/rc4-8
backport of #1236
2017-01-29 13:34:34 +04:00
chewitt
f00e2a4725 kodi: update binary addons for v17.0-RC4 2017-01-29 06:46:20 +00:00
Radostan Riedel
867c87d15f kodi: bump to e80803a 2017-01-28 22:52:56 +01:00
Matthias Reichl
6d14b10631 systemd: make standard systemctl commands work again 2017-01-28 13:12:40 +01:00
cvh
836c93cf86 mpd: update to 0.20.3 2017-01-28 02:30:48 +01:00
cvh
a7e572227b oscam: update to 11350 2017-01-28 02:16:18 +01:00
cvh
9a5e458bbf tvheadend42: update to 4.1.2415 2017-01-27 18:42:08 +01:00
cvh
a71d87c068 moonlight: update addon 2017-01-27 15:12:09 +01:00
cvh
754214b392 media_build: build rc modules 2017-01-27 12:31:00 +01:00
MilhouseVH
aaf8505086 taglib: Efficient lookup for an ID3v2 tag in MPEG files with garbage [backport] 2017-01-26 20:21:08 +00:00
cvh
495e881340 tigervnc: update to 1.7.1 2017-01-25 18:49:25 +01:00
Christian Hewitt
c04935c966 Merge pull request #1189 from MilhouseVH/crashlog_symlink_8.0
kodi: create sym link for latest crashlog [backport]
2017-01-25 06:31:27 +04:00
Christian Hewitt
eb98edde75 Merge pull request #1206 from CvH/dvb-fw-bump-8
backport of #1205
2017-01-25 06:29:15 +04:00
Christian Hewitt
da42dadf06 Merge pull request #1204 from CvH/fix_media_build_cir
backport of #1203
2017-01-25 06:28:33 +04:00
cvh
fe663e47df media_build: improved mkpkg script
- "./mkpkg_media_build githash" pulls specific media_build commit
- LE_versions includes the used githashes for media_build/tree
2017-01-23 21:25:50 +01:00
cvh
26ceb6b0de media_build: update to use build config 2017-01-23 21:25:50 +01:00
cvh
a057ebe290 dvb-firmware: update to 1.2.1 2017-01-23 19:05:26 +01:00
Christian Hewitt
61776baee6 Merge pull request #1199 from lrusak/open-vm-tools-libreelec-8.0
backport of #1185 (open-vm-tools: update to 10.1.0)
2017-01-21 11:49:27 +04:00
Lukas Rusak
243dfad2e2 open-vm-tools: update to 10.1.0 2017-01-20 23:24:20 -08:00
Christian Hewitt
6890f259c0 Merge pull request #1196 from lrusak/docker-libreelec-8.0
backport of #1195 (docker: update to 1.13.0)
2017-01-21 07:46:13 +04:00
Lukas Rusak
f98ac99f20 docker: update to 1.13.0 2017-01-20 15:06:19 -08:00
Lukas Rusak
e673e34ace docker: use journald log driver 2017-01-20 14:57:15 -08:00
Lukas Rusak
89667e7c26 tini: add package 2017-01-20 14:57:15 -08:00
Lukas Rusak
272b25499a libnetwork: add package 2017-01-20 14:57:15 -08:00
Lukas Rusak
b5bd55fb25 go: update to 1.7.4 2017-01-20 14:57:14 -08:00
Lukas Rusak
3693ce9ada runc: update to 2f7393a 2017-01-20 14:57:14 -08:00
Lukas Rusak
1f4132fe92 containerd: update to 03e5862 2017-01-20 14:57:14 -08:00
Lukas Rusak
e7fbf32818 runc: add version info 2017-01-20 14:57:14 -08:00
Lukas Rusak
60eb2c36f0 runc: fix dependencies 2017-01-20 14:57:13 -08:00
Lukas Rusak
1e4780f85c containerd: fix dependencies 2017-01-20 14:57:13 -08:00
Peter V
d4ac1fbed9 Merge pull request #1191 from awiouy/pkg_rev-8.0
Backport of #967
2017-01-19 17:39:13 +01:00
awiouy
c161126e01 decommission PKG_REV 2017-01-19 07:23:38 +01:00
MilhouseVH
0e491dc521 kodi: create sym link for latest crashlog [backport] 2017-01-18 03:13:03 +00:00
2433 changed files with 687656 additions and 167965 deletions

8
.gitignore vendored
View File

@@ -9,15 +9,16 @@
# prebuild target binarys to provide
/target/
# scripts for getting and packing source packages
/tools/mkpkg/*
!/tools/mkpkg/mkpkg_*
# mkpkg temp
mkpkg-temp
# private working directory
/.work/
# dedicated filesystem
/lost+found/
# symlinks...
/sources
/.work
@@ -30,4 +31,3 @@ mkpkg-temp
# crap
.DS_Store
.directory

View File

@@ -1,7 +1,7 @@
### Questions about LibreELEC?
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
\#libreelec on freenode.net.
\#libreelec on freenode.net, or [webchat].
Do not open an issue.
@@ -104,7 +104,8 @@ Please follow this process; it's the best way to get your work included in the p
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
clear title and description.
[Forum]: https://forum.libreelec.tv/
[Forum]: http://libreelec.tv/forum
[issue]: https://github.com/LibreELEC/LibreELEC.tv/issues
[logfiles]: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
[webchat]: http://libreelec.tv/support/chat
[logfiles]: http://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
[similar issue]: https://github.com/LibreELEC/LibreELEC.tv/search?&ref=cmdform&type=Issues

View File

@@ -24,4 +24,4 @@ distclean:
rm -rf ./.ccache ./$(BUILD_DIRS)
src-pkg:
tar cvJf sources.tar.xz sources .stamps
tar cvjf sources.tar.bz2 sources .stamps

View File

@@ -1,10 +1,10 @@
# LibreELEC
LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning [Kodi](https://kodi.tv) software on popular mediacentre hardware. LibreELEC is a conservative fork of the popular [OpenELEC](http://openelec.tv) project with a stronger focus on pre-release testing and post-release change management. Further information on the project can be found on the [LibreELEC website](https://libreelec.tv).
LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning [Kodi](http://kodi.tv) software on popular mediacentre hardware. LibreELEC is a conservative fork of the popular [OpenELEC](http://openelec.tv) project with a stronger focus on pre-release testing and post-release change management. Further information on the project can be found on the [LibreELEC website](https://libreelec.tv).
**Issues & Support**
Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
Please report issues via the [LibreELEC forum: Bug Reports](http://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](http://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
**Donations**
@@ -12,8 +12,8 @@ Contributions towards current project funding goals can be sent via PayPal to do
**License**
LibreELEC original code is released under [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html).
LibreELEC original code is released under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html).
**Copyright**
As LibreELEC includes code from many upstream projects it includes many copyright owners. LibreELEC makes NO claim of copyright on any upstream code. However all original LibreELEC authored code is copyright LibreELEC.tv. Patches to upstream code have the same license as the upstream project, unless specified otherwise. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the LibreELEC project (in any form) is licensed under [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html) and copyright is donated to LibreELEC.tv. This approach allows the project to stay manageable in the long term by giving us freedom to maintain the code as part of the whole without the management overhead of preserving contact with every submitter, e.g. GPLv3. You are absolutely free to retain copyright. To retain copyright simply add a copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.
As LibreELEC includes code from many upstream projects it includes many copyright owners. LibreELEC makes NO claim of copyright on any upstream code. However all original LibreELEC authored code is copyright LibreELEC.tv. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the LibreELEC project (in any form) is licensed under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html) and copyright is donated to LibreELEC.tv. This approach allows the project to stay manageable in the long term by giving us freedom to maintain the code as part of the whole without the management overhead of preserving contact with every submitter, e.g. GPLv3. You are absolutely free to retain copyright. To retain copyright simply add a copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.service" library="default.py">
<provides>@PKG_ADDON_PROVIDES@</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<broken>
@PKG_ADDON_BROKEN@
</broken>
<platform>all</platform>
<news>
@PKG_ADDON_NEWS@
</news>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.png</fanart>
@PKG_ADDON_SCREENSHOT@
</assets>
</extension>
</addon>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.libreelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.service" library="default.py">
<provides>@PKG_ADDON_PROVIDES@</provides>
</extension>
<extension point="xbmc.python.library" library="addon.py">
<provides></provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
<news>
@PKG_ADDON_NEWS@
</news>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.png</fanart>
@PKG_ADDON_SCREENSHOT@
</assets>
</extension>
</addon>

View File

@@ -15,7 +15,7 @@
TARGET_VARIANT=armv8-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}"
TARGET_FEATURES+=" neon"
SIMD_SUPPORT="yes"
;;
esac
@@ -23,6 +23,6 @@
TARGET_KERNEL_ARCH=arm64
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU $TARGET_EXTRA_FLAGS"
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi $TARGET_EXTRA_FLAGS"
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"

View File

@@ -29,36 +29,29 @@
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
SIMD_SUPPORT="no"
;;
cortex-a7|cortex-a15|cortex-a17|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
cortex-a7|cortex-a15|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
TARGET_SUBARCH=armv7ve
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
TARGET_FEATURES+=" neon"
SIMD_SUPPORT="yes"
;;
cortex-a5|cortex-a8|cortex-a9)
TARGET_SUBARCH=armv7-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
TARGET_FEATURES+=" neon"
;;
cortex-a53|cortex-a72.cortex-a53)
TARGET_SUBARCH=armv8-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
TARGET_FEATURES+=" neon"
SIMD_SUPPORT="yes"
;;
esac
TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}"
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}
TARGET_KERNEL_ARCH=arm
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
TARGET_CFLAGS="-march=$TARGET_SUBARCH -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
TARGET_LDFLAGS="-march=$TARGET_SUBARCH -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"

View File

@@ -6,12 +6,12 @@
# determine architecture's family
TARGET_SUBARCH=x86_64
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_GCC_ARCH=$(echo $TARGET_SUBARCH | sed -e "s,-,,")
TARGET_KERNEL_ARCH=x86
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
TARGET_CFLAGS="-march=$TARGET_CPU -m64"
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
# build with SIMD support ( yes / no )
TARGET_FEATURES+=" mmx sse sse2"
SIMD_SUPPORT="yes"

View File

@@ -1,5 +1,20 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="@NAME@"
PKG_VERSION="@VERSION@" # Update bin/docker.@NAME@ accordingly

View File

@@ -1,7 +1,21 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
name="$(basename $0)"
. /etc/profile

View File

@@ -1,5 +1,20 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import subprocess
import xbmc

File diff suppressed because it is too large Load Diff

View File

@@ -11,112 +11,71 @@ else
fi
get_graphicdrivers() {
# set defaults
GALLIUM_DRIVERS=""
DRI_DRIVERS=""
XORG_DRIVERS=""
LLVM_SUPPORT="no"
COMPOSITE_SUPPORT="no"
VDPAU_SUPPORT="no"
VAAPI_SUPPORT="no"
V4L2_SUPPORT="no"
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia vmware virtualbox"
fi
if listcontains "$GRAPHIC_DRIVERS" "i915"; then
DRI_DRIVERS="$DRI_DRIVERS,i915"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
for drv in $GRAPHIC_DRIVERS; do
if [ "$drv" = "i915" ]; then
DRI_DRIVERS="$DRI_DRIVERS,i915"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "i965"; then
DRI_DRIVERS="$DRI_DRIVERS,i965"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if [ "$drv" = "i965" ]; then
DRI_DRIVERS="$DRI_DRIVERS,i965"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "nvidia"; then
XORG_DRIVERS="$XORG_DRIVERS nvidia"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "nvidia" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia"
VDPAU_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "nvidia-legacy"; then
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "nvidia-legacy" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
VDPAU_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "r200"; then
DRI_DRIVERS="$DRI_DRIVERS,r200"
XORG_DRIVERS="$XORG_DRIVERS ati"
COMPOSITE_SUPPORT="yes"
fi
if [ "$drv" = "r200" ]; then
DRI_DRIVERS="$DRI_DRIVERS,r200"
XORG_DRIVERS="$XORG_DRIVERS ati"
COMPOSITE_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "r300"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "r300" ]; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "r600"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if [ "$drv" = "r600" ]; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "radeonsi"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if [ "$drv" = "radeonsi" ]; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "vmware"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
XORG_DRIVERS="$XORG_DRIVERS vmware"
COMPOSITE_SUPPORT="yes"
fi
if [ "$drv" = "vmware" ]; then
DRI_DRIVERS="$DRI_DRIVERS,swrast"
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
XORG_DRIVERS="$XORG_DRIVERS vmware"
# LLVM_SUPPORT="yes"
fi
if listcontains "$GRAPHIC_DRIVERS" "virtio"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,virgl"
fi
if listcontains "$GRAPHIC_DRIVERS" "vc4"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,vc4"
V4L2_SUPPORT="yes"
VAAPI_SUPPORT="no"
VDPAU_SUPPORT="no"
fi
if listcontains "$GRAPHIC_DRIVERS" "freedreno"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,freedreno"
V4L2_SUPPORT="yes"
VAAPI_SUPPORT="no"
VDPAU_SUPPORT="no"
fi
if listcontains "$GRAPHIC_DRIVERS" "etnaviv"; then
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,etnaviv,imx"
V4L2_SUPPORT="yes"
VAAPI_SUPPORT="no"
VDPAU_SUPPORT="no"
fi
# remove leading comma if present
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
# remove duplicate entries
XORG_DRIVERS="$(echo $XORG_DRIVERS | xargs -n1 | sort -u | xargs)"
done
}

1
config/issue Normal file
View File

@@ -0,0 +1 @@
Welcome to OpenELEC - the powerful Mediacenter4you

View File

@@ -1,7 +1,21 @@
#!/bin/sh -x
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
MOUNTPOINT="/tmp/LibreELEC-System"

View File

@@ -1,7 +1,7 @@
{
"partitions": [
{
"label": "System",
"label": "@DISTRONAME@_@PROJECT@_System",
"filesystem_type": "FAT",
"partition_size_nominal": @SYSTEM_SIZE@,
"want_maximised": false,
@@ -9,7 +9,7 @@
"mkfs_options": ""
},
{
"label": "Storage",
"label": "@DISTRONAME@_@PROJECT@_Storage",
"filesystem_type": "ext4",
"partition_size_nominal": 512,
"want_maximised": true,

View File

@@ -1,8 +1,16 @@
GCC_OPTIM="-Os"
# Linker hash-style is set to gnu via gcc default
LD_OPTIM="-Wl,--as-needed"
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
if [ "$LTO_SUPPORT" = yes ];then
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
LD_OPTIM_LTO="-fuse-linker-plugin -flto"
fi
if [ "$GOLD_SUPPORT" = yes ];then
LD_OPTIM_GOLD="-fuse-ld=gold"
fi
if [ "$DEBUG" = yes ]; then
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
TARGET_LDFLAGS="$TARGET_LDFLAGS -ggdb"
@@ -12,84 +20,54 @@ else
TARGET_LDFLAGS="$TARGET_LDFLAGS"
fi
NINJA_OPTS=""
TARGET_CPPFLAGS=""
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $PROJECT_CFLAGS"
TARGET_CPPFLAGS=
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $GCC_OPTIM_LTO $PROJECT_CFLAGS"
TARGET_CXXFLAGS="$TARGET_CFLAGS"
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM"
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM $LD_OPTIM_GOLD $LD_OPTIM_LTO"
TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"
HOST_CPPFLAGS=""
HOST_CFLAGS="-march=native -O2 -Wall -pipe -I$TOOLCHAIN/include"
HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
HOST_CXXFLAGS="$HOST_CFLAGS"
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
# work around Ubuntu default C*FLAGS
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
HOST_CFLAGS="$HOST_CFLAGS -Wno-format-security"
HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
# lto flags
FLAGS_OPTIM_LTO_NO_PARALLEL="-flto"
FLAGS_OPTIM_LTO_PARALLEL="-flto=${CONCURRENCY_MAKE_LEVEL}"
FLAGS_OPTIM_LTO_NO_FAT="-fno-fat-lto-objects"
FLAGS_OPTIM_LTO_FAT="-ffat-lto-objects"
FLAGS_OPTIM_LTO_OFF="-fno-lto"
LDFLAGS_OPTIM_LTO_COMMON="-fuse-linker-plugin"
# gold flags
LDFLAGS_OPTIM_GOLD="-fuse-ld=gold"
# position-independent code
CFLAGS_OPTIM_PIC="-fPIC -DPIC"
CXXFLAGS_OPTIM_PIC="-fPIC -DPIC"
LDFLAGS_OPTIM_PIC="-fPIC"
# hardening support
# TODO: basiclly copied from debian 9, should adjust for LE
CFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
CXXFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
CPPFLAGS_OPTIM_HARDENING="-D_FORTIFY_SOURCE=2"
LDFLAGS_OPTIM_HARDENING="-Wl,-z,relro -Wl,-z,now"
# add distro specific library dirs
if [ -z "$HOST_LIBDIR" ]; then
HOST_LIBDIR="$TOOLCHAIN/lib"
# ubuntu/debian specific "multiarch support"
export MACHINE_HARDWARE_NAME="$(uname -m)"
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
FAMILY_TRIPLET=$(echo $HOST_NAME | sed -e "s,$(uname -m),$(uname -i),")
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
case "${MACHINE_HARDWARE_NAME}" in
i*86)
if [ -d /lib32 ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib32"
fi
if [ -d /usr/lib32 ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
fi
;;
x86_64)
if [ -d /lib64 ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib64"
fi
if [ -d /usr/lib64 ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
fi
;;
esac
case "`uname -m`" in
i*86)
if [ -d /lib32 ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib32"
fi
if [ -d /usr/lib32 ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
fi
;;
x86_64)
if [ -d /lib64 ]; then
HOST_LIBDIR="$HOST_LIBDIR /lib64"
fi
if [ -d /usr/lib64 ]; then
HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
fi
;;
esac
# default dirs
export HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
fi
HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
HOST_INCDIR="$ROOT/$TOOLCHAIN/include /usr/include"

View File

@@ -1,80 +1,81 @@
# Do not build as root. Ever.
if [[ "${EUID}" -eq 0 ]]; then
echo "Building as the root user is NOT supported. Use a regular user account for the build." 1>&2
exit 1
fi
# Spaces in paths are verboten
if [[ ${PWD} =~ [[:space:]] ]]; then
echo "Building in a folder that includes spaces is NOT supported. Use a folder without spaces." 1>&2
exit 1
fi
# set default language for buildsystem
export LC_ALL=C
# set default independent variables
ROOT="${PWD}"
DISTRO_DIR="${ROOT}/distributions"
PROJECT_DIR="${ROOT}/projects"
export LC_ALL=C
# determines DISTRO, if not forced by user
DISTRO="${DISTRO:-LibreELEC}"
# default is LibreELEC
if [ -z "$DISTRO" ]; then
DISTRO="LibreELEC"
else
DISTRO="$DISTRO"
fi
# determines PROJECT, if not forced by user
PROJECT="${PROJECT:-Generic}"
# determines TARGET_ARCH, if not forced by user
ARCH="${ARCH:-x86_64}"
TARGET_ARCH="${ARCH}"
# include helper functions
. config/functions
# read DISTRO version information
. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n"
# read DISTRO options if available
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
. "${DISTRO_DIR}/${DISTRO}/options"
# default is Generic
if [ -z "$PROJECT" ]; then
PROJECT="Generic"
else
PROJECT="$PROJECT"
fi
# read PROJECT options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/options"
# determines TARGET_ARCH, if not forced by user (x86_64 / arm)
# default is x86_64
if [ -z "$ARCH" ]; then
TARGET_ARCH="x86_64"
else
TARGET_ARCH="$ARCH"
fi
# read DEVICE options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
fi
ROOT=`pwd`
DISTRO_DIR="$ROOT/distributions"
PROJECT_DIR="$ROOT/projects"
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
[ "$TARGET_ARCH" = "x86_64" ] && LINUX_DEPENDS+=" $ROOT/packages/linux-firmware/intel-ucode/package.mk $ROOT/packages/linux-firmware/x86-firmware/package.mk"
# projects can set KERNEL_NAME (kernel.img)
KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
# include versioning
. config/version
LINUX_DEPENDS="${PROJECT_DIR}/${PROJECT}/linux ${PROJECT_DIR}/${PROJECT}/patches/linux ${PROJECT_DIR}/${PROJECT}/packages/linux ${ROOT}/packages/linux"
[ -n "${DEVICE}" ] && LINUX_DEPENDS+=" ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/patches/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/packages/linux"
[ "${TARGET_ARCH}" = "x86_64" ] && LINUX_DEPENDS+=" ${ROOT}/packages/linux-firmware/intel-ucode ${ROOT}/packages/linux-firmware/kernel-firmware"
# read distro versioning if available
if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
. $DISTRO_DIR/$DISTRO/version
fi
# read distro options if available
if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
. $DISTRO_DIR/$DISTRO/options
fi
# read project options if available
if [ -f "$PROJECT_DIR/$PROJECT/options" ]; then
. $PROJECT_DIR/$PROJECT/options
fi
# read board options if available
if [ -f "$PROJECT_DIR/$PROJECT/devices/$DEVICE/options" ]; then
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/options
fi
# Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC does not point to it
[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(command -v gcc)"
# If you have ccache installed, take care that LOCAL_CC don't point to it
LOCAL_CC=`which gcc`
if [ -z "${LOCAL_CC}" ]; then
die "***** Please install gcc *****" "127"
if [ -z "$LOCAL_CC" ] ; then
echo "***** Please install gcc *****"
exit 127
fi
# Need to point to your actual g++
# If you have ccache installed, take care that LOCAL_CXX does not point to it
[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(command -v g++)"
# If you have ccache installed, take care that LOCAL_CXX don't point to it
LOCAL_CXX=`which g++`
# verbose compilation mode (yes/no)
VERBOSE="${VERBOSE:-yes}"
VERBOSE="yes"
# Concurrency make level (-j option)
# Try values between 1 and number of processor cores present.
# default: use all cores
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
# Try value 1 (default) to 4 on single CPU computer, or more on
# multi-processor computer (like hyperthreading SMP CPU)
if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
fi
# cache size for ccache
# Set the maximum size of the files stored in the cache. You can specify a
@@ -82,27 +83,22 @@ VERBOSE="${VERBOSE:-yes}"
# value. The default is gigabytes. The actual value stored is rounded down to
# the nearest multiple of 16 kilobytes. Keep in mind this per project .ccache
# directory.
CCACHE_CACHE_SIZE="10G"
CCACHE_CACHE_SIZE="10G"
# read options from $HOME if available
if [ -f "${HOME}/.libreelec/options" ]; then
. "${HOME}/.libreelec/options"
fi
if [ -f "$HOME/.libreelec/options" ]; then
. $HOME/.libreelec/options
fi
# install devtools on development builds
if [ -z "$DEVTOOLS" -a "$LIBREELEC_VERSION" = "devel" ]; then
DEVTOOLS=yes
fi
# overwrite OEM_SUPPORT via commandline
if [ "${OEM}" = "yes" -o "${OEM}" = "no" ]; then
OEM_SUPPORT="${OEM}"
if [ "$OEM" = yes -o "$OEM" = no ]; then
OEM_SUPPORT=$OEM
fi
check_config
. config/graphic
. config/path $1
## package processing
# If the package caches are unset, then populate them
init_package_cache
# set package metadata
source_package "${1}"

View File

@@ -1,15 +1,14 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
set -e
. config/functions
# setup initial directorys (relative to root)
CONFIG=config
SCRIPTS=scripts
PACKAGES=packages
SOURCES=${SOURCES_DIR:-$ROOT/sources}
SOURCES=sources
BUILD_BASE=build
TARGET_IMG=${TARGET_DIR:-$ROOT/target}
TARGET=target
ADDONS=addons
# include ARCH specific options
@@ -17,18 +16,26 @@ set -e
. config/arch.$TARGET_ARCH
fi
[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
HOST_NAME=`$LOCAL_CC -dumpmachine`
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
if [ -n "$DEVICE" ]; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
fi
else
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION
if [ "$LIBREELEC_VERSION" = "devel" ] ; then
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
fi
fi
if [ -n "$BUILD_SUFFIX" ]; then
BUILD=$BUILD-$BUILD_SUFFIX
fi
TARGET_IMG=$ROOT/$TARGET
TARGET_ADDONS="$TARGET_IMG/$ADDONS/$ADDON_PATH"
ADDON_BUILD="$BUILD/$ADDONS/$1"
STAMPS_NOARCH=.stamps
@@ -36,21 +43,11 @@ STAMPS=$BUILD/.stamps
STAMPS_INSTALL=$BUILD/image/.stamps
DOCS=DOCS
TOOLCHAIN=$BUILD/toolchain
SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
LIB_PREFIX=$SYSROOT_PREFIX/usr
TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
# use linaro toolchain on 64/32 split builds
if [ -z "$KERNEL_LINARO_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
KERNEL_LINARO_TOOLCHAIN="aarch64-linux-gnu"
fi
if [ -n "$KERNEL_LINARO_TOOLCHAIN" ]; then
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-$KERNEL_LINARO_TOOLCHAIN/bin/$KERNEL_LINARO_TOOLCHAIN-
else
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
fi
FAKEROOT_SCRIPT=$BUILD/.fakeroot
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
if [ -z "$INSTALL" ]; then
INSTALL=$BUILD/image/system
@@ -59,8 +56,126 @@ INSTALL_INIT=$BUILD/image/initramfs/root-image
. config/sources
MAKE="$TOOLCHAIN/bin/make"
MAKEINSTALL="$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
MAKE="$ROOT/$TOOLCHAIN/bin/make"
MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
SED="sed -i"
# set package metadata
PKG_NAME="$1"
PKG_VERSION="0.0invalid"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="unknown"
PKG_SITE=""
PKG_URL=""
PKG_SOURCE_NAME=""
PKG_SOURCE_DIR=""
PKG_DEPENDS_TARGET=""
PKG_DEPENDS_HOST=""
PKG_DEPENDS_INIT=""
PKG_DEPENDS_BOOTSTRAP=""
PKG_SECTION=""
PKG_SHORTDESC="$1 (autogenerated)"
PKG_LONGDESC=""
PKG_IS_ADDON="no"
PKG_PATCH_DIRS=""
if [ -n "$1" ]; then
_PKG_ROOT_NAME=${1%:*}
_ALL_DIRS=""
_FOUND=0
_ANCHOR="@?+?@"
PKG_DIR=""
# If the package caches are unset, then populate them
if [ -z "${_CACHE_PACKAGE_LOCAL+x}" -o -z "${_CACHE_PACKAGE_GLOBAL+x}" ]; then
_CACHE_PACKAGE_LOCAL=""
_CACHE_PACKAGE_GLOBAL=""
# cache project folder for a package
for DIR in $(find $ROOT/projects/$PROJECT/packages -type d 2>/dev/null); do
[ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_LOCAL+="${DIR}${_ANCHOR}\n"
done
# cache packages folder
for DIR in $(find $ROOT/$PACKAGES -type d 2>/dev/null); do
[ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_GLOBAL+="${DIR}${_ANCHOR}\n"
done
export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
fi
# Check for any available local package in preference to a global package
for DIR in $(echo -e "${_CACHE_PACKAGE_LOCAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
DIR="${DIR%${_ANCHOR}}"
# found first, set $PKG_DIR
PKG_DIR="$DIR"
# keep track of dirs with package.mk for detecting multiple folders
_ALL_DIRS+="${DIR}\n"
_FOUND=$((_FOUND+1))
done
# If there's no local package available, use the global package
if [ $_FOUND -eq 0 ]; then
for DIR in $(echo -e "${_CACHE_PACKAGE_GLOBAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
DIR="${DIR%${_ANCHOR}}"
# found first, set $PKG_DIR
PKG_DIR="$DIR"
# keep track of dirs with package.mk for detecting multiple folders
_ALL_DIRS+="${DIR}\n"
_FOUND=$((_FOUND+1))
done
fi
# _FOUND multiple packages? fail
if [ $_FOUND -gt 1 ]; then
echo "Error - multiple package folders:"
echo -e "$_ALL_DIRS"
exit 1
fi
fi
if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then
. $PKG_DIR/package.mk
fi
if [ "$PKG_IS_ADDON" = "yes" ] ; then
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
fi
# Automatically set PKG_SOURCE_NAME unless it is already defined.
# PKG_SOURCE_NAME will be automatically set to a name based on
# the $PKG_NAME-$PKG_VERSION convention.
#
# Any $PKG_URL that references more than a single url will abort
# the build as these are no longer supported - use mkpkg instead.
if [ -n "$PKG_URL" -a -z "$PKG_SOURCE_NAME" ]; then
if [[ $PKG_URL =~ .*\ .* ]]; then
echo "Error - packages with multiple urls are no longer supported, use mkpkg:"
echo "$PKG_URL"
exit 1
fi
PKG_SOURCE_NAME="$(basename "$PKG_URL")"
case $PKG_SOURCE_NAME in
${PKG_NAME}-${PKG_VERSION}.*)
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
;;
*.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
;;
*.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)
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
;;
*)
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
;;
esac
fi
PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
XORG_PATH_DRI=/usr/lib/dri
XORG_PATH_XKB=/usr/share/X11/xkb
@@ -72,31 +187,53 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
. config/optimize
if [ -z "$CCACHE_DIR" ]; then
export CCACHE_DIR=$BUILD/.ccache
export CCACHE_DIR=$ROOT/$BUILD/.ccache
fi
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
export PATH="$ROOT/$TOOLCHAIN/bin:$ROOT/$TOOLCHAIN/sbin:$PATH"
fi
if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$ROOT/$TOOLCHAIN/lib:}" ]; then
export LD_LIBRARY_PATH="$ROOT/$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
fi
VERSION_SUFFIX=$TARGET_ARCH
# redirect formatted output
if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
export BUILD_INDENT_SIZE=4
export SILENT_OUT=3
export VERBOSE_OUT=4
check_path
check_config
if [ "$VERBOSE" = yes ]; then
exec 3>&1
exec 4>&2
else
exec 3>&2
exec 4>/dev/null
fi
SILENT_OUT=3
VERBOSE_OUT=4
if [ "$VERBOSE" = yes ]; then
exec 3>&1
exec 4>&2
else
exec 3>&2
exec 4>/dev/null
fi
BUILD_INDENT_SIZE=4
unset LD_LIBRARY_PATH
# define colors
black="\e[0;30m"
boldblack="\e[1;30m"
red="\e[0;31m"
boldred="\e[1;31m"
green="\e[0;32m"
boldgreen="\e[1;32m"
yellow="\e[0;33m"
boldyellow="\e[1;33m"
blue="\e[0;34m"
boldblue="\e[1;34m"
magenta="\e[0;35m"
boldmagenta="\e[1;35m"
cyan="\e[0;36m"
boldcyan="\e[1;36m"
white="\e[0;37m"
boldwhite="\e[1;37m"
endcolor="\e[0m"
# multilib? nah
unset CONFIG_SITE

View File

@@ -1,171 +0,0 @@
show_config() {
# load graphic configuration
get_graphicdrivers
dashes="==========================="
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
config_message="$config_message\n $dashes$dashes$dashes"
# Build options
config_message="$config_message\n\n Buildoptions:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
config_message="$config_message\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
config_message="$config_message\n - FPU:\t\t\t\t\t $TARGET_FPU"
config_message="$config_message\n - CPU features:\t\t\t $TARGET_FEATURES"
config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
config_message="$config_message\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
# config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
# config_message="$config_message\n - LDFLAGS:\t $TARGET_LDFLAGS"
# Graphic configuration
config_message="$config_message\n\n Graphic configuration:"
config_message="$config_message\n $dashes$dashes"
if [ "$DISPLAYSERVER" = "x11" ] ; then
config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
fi
config_message="$config_message\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
# Hardware decoder support
config_message="$config_message\n\n Hardware decoder configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
# Input device configuration
config_message="$config_message\n\n Input device configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message="$config_message\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
# Misc. hardware configuration
config_message="$config_message\n\n Misc. hardware configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
for config_driver in $ADDITIONAL_DRIVERS; do
config_message="$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="$config_message\n - Include driver add-ons:\t\t $config_driver_addons"
done
fi
for config_firmware in $FIRMWARE; do
config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
done
for config_modules in $INITRAMFS_MODULES; do
config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
done
# Network service configuration
config_message="$config_message\n\n Network service configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
# OS configuration
config_message="$config_message\n\n OS configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
config_message="$config_message\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
config_message="$config_message\n - Bootloader:\t\t\t\t $BOOTLOADER"
if [ "$BOOTLOADER" = "u-boot" ]; then
config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
config_message="$config_message\n - U-Boot config file:\t\t $UBOOT_CONFIGFILE"
fi
config_message="$config_message\n - UDevil support:\t\t\t $UDEVIL"
config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
for config_package in $ADDITIONAL_PACKAGES; do
config_message="$config_message\n - Include package:\t\t\t $config_package"
done
# Misc. Filesystems
config_message="$config_message\n\n Misc. Filesystems:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Swap Support:\t\t\t $SWAP_SUPPORT"
if [ "$SWAP_SUPPORT" = "yes" ]; then
config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
fi
config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT"
config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
# Kodi configuration
if [ ! "$MEDIACENTER" = "no" ]; then
config_message="$config_message\n\n Kodi configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
config_message="$config_message\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
config_message="$config_message\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
fi
config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
for config_skin in $SKINS; do
config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
done
config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
fi
if [ "$(type -t show_distro_config)" = "function" ]; then
show_distro_config
fi
config_message="$config_message\n"
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n End Configuration for $DISTRONAME"
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n\n\n"
echo -e "$config_message"
}

View File

@@ -1,2 +1,2 @@
# Sourceforge download site
SOURCEFORGE_SRC="https://prdownloads.sourceforge.net"
SOURCEFORGE_SRC="http://prdownloads.sourceforge.net"

View File

@@ -1,8 +1,9 @@
# VERSION: set full version, use "devel" for development version
LIBREELEC_VERSION="devel"
LIBREELEC_VERSION="8.0.1"
# OS_VERSION: OS Version
OS_VERSION="9.0"
OS_VERSION="8.0"
# ADDON_VERSION: Addon version
ADDON_VERSION="9.0"
ADDON_VERSION="8.1"

View File

@@ -4,9 +4,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
# HARDENING (security relevant linker and compiler flags) support
HARDENING_SUPPORT="no"
# Name of the Distro to build (full name, without special characters)
DISTRONAME="LibreELEC"
@@ -16,7 +13,7 @@
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREETING0="##############################################"
GREETING1="# LibreELEC #"
GREETING2="# https://libreelec.tv #"
GREETING2="# http://libreelec.tv #"
GREETING3="##############################################"
GREETING4=""
@@ -37,9 +34,6 @@
# Default Skin (Estuary)
SKIN_DEFAULT="Estuary"
# Select whether to use default (upstream xbmc/xbmc) repo, or specific vendor repo
KODI_VENDOR="default"
# install extra subtitle Fonts for KODI (yes / no)
KODI_EXTRA_FONTS="yes"
@@ -49,6 +43,10 @@
# build and install espeak support (yes / no)
ESPEAK_SUPPORT="yes"
# build and install with non-free support
# (RAR compression support in KODI) (yes / no)
KODI_NONFREE_SUPPORT="yes"
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
@@ -65,7 +63,7 @@
KODI_DVDCSS_SUPPORT="yes"
# additional drivers to install:
# for a list of additional drivers see packages/linux-drivers
# for a list of additinoal drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
@@ -82,8 +80,11 @@
# build with UPnP support (yes / no)
KODI_UPNP_SUPPORT="yes"
# build with MySQL support (mysql / mariadb / none)
KODI_MYSQL_SUPPORT="mariadb"
# build with MySQL support (yes / no)
KODI_MYSQL_SUPPORT="yes"
# build xbmc with sshlib support (yes / no)
KODI_SSHLIB_SUPPORT="yes"
# build xbmc with optical drive support (yes / no)
KODI_OPTICAL_SUPPORT="yes"
@@ -135,7 +136,7 @@
# 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 i915 i965 nvidia nvidia-legacy vmware virtio"
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy"
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
@@ -149,9 +150,6 @@
# build and install CEC adapter support (yes / no)
CEC_SUPPORT="yes"
# build and install CEC framework support (yes / no)
CEC_FRAMEWORK_SUPPORT="no"
# build and install iSCSI support - iscsistart (yes / no)
ISCSI_SUPPORT="yes"
@@ -160,18 +158,13 @@
INITRAMFS_PARTED_SUPPORT="no"
# build with swap support (yes / no)
SWAP_SUPPORT="yes"
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="128"
# additional packages to install:
# Space separated list is supported,
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"
ADDITIONAL_PACKAGES=""
SWAPFILESIZE="256"
# build with installer (yes / no)
INSTALLER_SUPPORT="yes"
@@ -193,35 +186,13 @@
DISTRO_SRC="http://sources.libreelec.tv/$LIBREELEC_VERSION"
# Addon Server Url
ADDON_SERVER_URL="https://addons.libreelec.tv"
ADDON_SERVER_URL="http://addons.libreelec.tv"
# set the addon dirs
ADDON_PATH="$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH"
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
# Default size of system partition, in MB, eg. 512
SYSTEM_SIZE=512
# Default system partition offset, in sectors, eg. 2048
SYSTEM_PART_START=8192
# Configure debug groups (space delimited key=value pairs, with each value comma-delimited) and default group when DEBUG=yes
# Use ! or - prefix to prevent a dependent package from being built with debug. Add + suffix to build dependenencies with debug.
DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
DEBUG_GROUP_YES="kodi+"
# Default supported get handlers (archive, git, file etc.)
GET_HANDLER_SUPPORT="archive"
# Partition labels for USB/SD installation media
DISTRO_BOOTLABEL="LIBREELEC"
DISTRO_DISKLABEL="STORAGE"
# Settings package name - blank if not required
DISTRO_PKG_SETTINGS="LibreELEC-settings"
# IR remote protocols supported in default config
IR_REMOTE_PROTOCOLS="RC6 NEC"
# IR remote keymaps supported in default config
IR_REMOTE_KEYMAPS="rc6_mce xbox_360 xbox_one"
SYSTEM_PART_START=2048

View File

@@ -1,23 +0,0 @@
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@@ -1,134 +0,0 @@
COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
=========================================
PNG Reference Library License version 2
---------------------------------------
* Copyright (c) 1995-2018 The PNG Reference Library Authors.
* Copyright (c) 2018 Cosmin Truta.
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
* Copyright (c) 1996-1997 Andreas Dilger.
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
The software is supplied "as is", without warranty of any kind,
express or implied, including, without limitation, the warranties
of merchantability, fitness for a particular purpose, title, and
non-infringement. In no even shall the Copyright owners, or
anyone distributing the software, be liable for any damages or
other liability, whether in contract, tort or otherwise, arising
from, out of, or in connection with the software, or the use or
other dealings in the software, even if advised of the possibility
of such damage.
Permission is hereby granted to use, copy, modify, and distribute
this software, or portions hereof, for any purpose, without fee,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you
must not claim that you wrote the original software. If you
use this software in a product, an acknowledgment in the product
documentation would be appreciated, but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This Copyright notice may not be removed or altered from any
source or altered source distribution.
PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35)
-----------------------------------------------------------------------
libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
derived from libpng-1.0.6, and are distributed according to the same
disclaimer and license as libpng-1.0.6 with the following individuals
added to the list of Contributing Authors:
Simon-Pierre Cadieux
Eric S. Raymond
Mans Rullgard
Cosmin Truta
Gilles Vollant
James Yu
Mandar Sahastrabuddhe
Google Inc.
Vadim Barkov
and with the following additions to the disclaimer:
There is no warranty against interference with your enjoyment of
the library or against infringement. There is no warranty that our
efforts or the library will fulfill any of your particular purposes
or needs. This library is provided with all faults, and the entire
risk of satisfactory quality, performance, accuracy, and effort is
with the user.
Some files in the "contrib" directory and some configure-generated
files that are distributed with libpng have other copyright owners, and
are released under other open source licenses.
libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
libpng-0.96, and are distributed according to the same disclaimer and
license as libpng-0.96, with the following individuals added to the
list of Contributing Authors:
Tom Lane
Glenn Randers-Pehrson
Willem van Schaik
libpng versions 0.89, June 1996, through 0.96, May 1997, are
Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
and are distributed according to the same disclaimer and license as
libpng-0.88, with the following individuals added to the list of
Contributing Authors:
John Bowler
Kevin Bracey
Sam Bushell
Magnus Holmgren
Greg Roelofs
Tom Tanner
Some files in the "scripts" directory have other copyright owners,
but are released under this license.
libpng versions 0.5, May 1995, through 0.88, January 1996, are
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
For the purposes of this copyright and license, "Contributing Authors"
is defined as the following set of individuals:
Andreas Dilger
Dave Martindale
Guy Eric Schalnat
Paul Schmidt
Tim Wegner
The PNG Reference Library is supplied "AS IS". The Contributing
Authors and Group 42, Inc. disclaim all warranties, expressed or
implied, including, without limitation, the warranties of
merchantability and of fitness for any purpose. The Contributing
Authors and Group 42, Inc. assume no liability for direct, indirect,
incidental, special, exemplary, or consequential damages, which may
result from the use of the PNG Reference Library, even if advised of
the possibility of such damage.
Permission is hereby granted to use, copy, modify, and distribute this
source code, or portions hereof, for any purpose, without fee, subject
to the following restrictions:
1. The origin of this source code must not be misrepresented.
2. Altered versions must be plainly marked as such and must not
be misrepresented as being the original source.
3. This Copyright notice may not be removed or altered from any
source or altered source distribution.
The Contributing Authors and Group 42, Inc. specifically permit,
without fee, and encourage the use of this source code as a component
to supporting the PNG file format in commercial products. If you use
this source code in a product, acknowledgment is not required but would
be appreciated.

45
packages/addons/README.md Normal file
View File

@@ -0,0 +1,45 @@
#add-on package.mk skeleton
This file shows a skeleton example of an add-on package.mk with content notes. Except for the license header, any lines prefixed with `#` are optional and may be omitted if not required.
```shell
################################################################################
# This file is part of LibreELEC - https://LibreELEC.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="myprogram" # same as the folder name
PKG_VERSION="1.0.1" # version or 7 digit-hash
PKG_REV="100" # currently we start at 100 to solve OE update problems
PKG_ARCH="any" # for available architectures, see LE/config/arch.* files
# PKG_ADDON_PROJECTS="RPi RPi2" # for available projects, see projects subdirectory
PKG_LICENSE="GPL" # program licenses, see licenses subdirectory for a list
PKG_SITE="http://www.site.org"
PKG_URL="http://www.site.org/$PKG_VERSION.tar.xz" # for github see the other packages, prefer tar.xz over .gz
# PKG_SOURCE_DIR="somename-${PKG_VERSION}*" # if the folder inside the zip is different to the pkg name
PKG_DEPENDS_TARGET="toolchain curl" # dependencies that are needed that the addon builds
PKG_SECTION="service" # service, tools, virtual, driver, driver.remote ...
PKG_SHORTDESC="Addon name: sort description" # Addon: is a program that does this and that
PKG_LONGDESC="Addon name ($PKG_VERSION): detailed description"
PKG_AUTORECONF="no" # yes or no
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Addon name" # proper name of the addon that is shown at the repo
PKG_ADDON_TYPE="xbmc.service" # see LE/config/addon/ for other possibilities
# PKG_ADDON_PROVIDES="executable" # http://kodi.wiki/view/addon.xml#.3Cprovides.3E_element
PKG_ADDON_REPOVERSION="8.0" # for what main version it should be compatible
# PKG_ADDON_REQUIRES="some.addon:0.0.0" # http://kodi.wiki/view/addon.xml#.3Crequires.3E
# PKG_MAINTAINER="John Doe (email)" # if you want to be know as maintainer for a addon
```

View File

@@ -1,13 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_ADS1x15"
PKG_VERSION="a963cc0ee83e2ba6d671b02df5febf7250f626aa"
PKG_SHA256="2f81a9a6b7b7f46b79faa5b01df0c25fa5f16af80842d74e35b5fbf01ab0c619"
PKG_VERSION="733d179"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python ADS1x15 Library"
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_ADXL345"
PKG_VERSION="dca3d90b5477a304fa130f5cc90ea59e3968ce6f"
PKG_SHA256="22ec0fc6679cc3e9b5f0aff5cfeef34cbbf13e59aecfb829c2f0dc2d90b5fb8b"
PKG_VERSION="b153663"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python ADXL345 Library"
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi or BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_BMP"
PKG_VERSION="e8521e969afae3321d9789353d7e92ea9a5e9a56"
PKG_SHA256="e5e140c34e312f6a00c62b1bd47ebe3f1857009b1c202c18c7b092ebb2e1eb9c"
PKG_VERSION="ad6521d"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python BMP Library"
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi or Beaglebone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_CharLCD"
PKG_VERSION="bc75cad284766240424f29dc8e7b84d0caceb72e"
PKG_SHA256="eae4b446162feb533a469a9dacf6e750250f925561c9f7983a11d340e1dd98d4"
PKG_VERSION="e5952eb"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python CharLCD Library"
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi or BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,32 +1,55 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_DHT"
PKG_VERSION="18846deec6a96572b3f2c4a9edfb5bac55b46f5b"
PKG_SHA256="9125f8f42b4874db257a45184b866e8b424aa67230d2ffbc734b53686da7817f"
PKG_VERSION="310c59b"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python DHT Library"
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black."
PKG_AUTORECONF="no"
case $PROJECT in
RPi)
RPI_VERSION="--force-pi"
;;
RPi2)
RPI_VERSION="--force-pi2"
;;
esac
pre_make_target() {
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDSHARED="$CC -shared"
sed -e 's/from ez_setup import use_setuptools/\#from ez_setup import use_setuptools/' \
-e 's/use_setuptools()/\#use_setuptools()/' \
-i setup.py
}
make_target() {
case "$PROJECT:$DEVICE" in
"RPi:RPi")
PKG_RPI_VERSION="--force-pi"
;;
"RPi:RPi2")
PKG_RPI_VERSION="--force-pi2"
;;
*)
PKG_RPI_VERSION=""
esac
python setup.py build $PKG_RPI_VERSION --cross-compile
python setup.py build $RPI_VERSION --cross-compile
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_GPIO"
PKG_VERSION="c543d1df9c0a71bafb9f0a1f9dceecd79a920e74"
PKG_SHA256="d3cb74fd033ebe5aea1786a584d64ef5eb8082ef2bf0a568b01691612cd04e88"
PKG_VERSION="fdf0fca"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi ."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python GPIO Library"
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi and Beaglebone Black using the RPi.GPIO and Adafruit_BBIO librarie"
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_LED_Backpack"
PKG_VERSION="e34b9548e86e63747563a94f02b65b2980fdefff"
PKG_SHA256="244d2625cdaebdc68e299fedde276efa5c9f7c143681c4ee056fb8350a4f7167"
PKG_VERSION="d3bd401"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python library for controlling LED backpack displays."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Python library for controlling LED backpack displays."
PKG_LONGDESC="Python library for controlling LED backpack displays such as 8x8 matrices, bar graphs, and 7/14-segment displays on a Raspberry Pi or BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_LSM303"
PKG_VERSION="37d288844515d7bb62a2329982eb033e92dceceb"
PKG_SHA256="609591f2add15e849d3bba320417c705a50a3ed077632baf20c12c8b740d5331"
PKG_VERSION="03b344d"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python LSM303 Library"
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi & BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_MCP3008"
PKG_VERSION="e721d26e650c99b0f6d3efd4ec30444e1adf5ccd"
PKG_SHA256="f5e4c847a87716c16f0209df95c281b5071549644a79a143a77b212f25c464dc"
PKG_VERSION="705f090"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python MCP3008 Library"
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_MCP4725"
PKG_VERSION="4d028bbcf58b011a8f14c5d95057b7e1dcc1064e"
PKG_SHA256="6ebbd1f76807b01dc2b723064e52b0c82fc45388265b8ec867e0a42a46a6e926"
PKG_VERSION="5b5fc87"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python MCP4725 Library"
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_PCA9685"
PKG_VERSION="f86db2ca5de379748afd71e379ce2155f47d21e7"
PKG_SHA256="46e11dcfbfaab5756ddeb6ab31740cf8c7419ec1d32be2519f19882e7d86e426"
PKG_VERSION="bfa4851"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python PCA9685 Library"
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi or BeagleBone black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_PureIO"
PKG_VERSION="6f4976d91c52d70b67b28bba75a429b5328a52c1"
PKG_SHA256="891a4d077fe6610de6aa4b0dc5b9933a6c7db3492072df60c0383662f28c2ae9"
PKG_VERSION="a29d95a"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Pure python access to Linux IO including I2C and SPI."
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,39 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_SI1145"
PKG_VERSION="18c400643b39dbf29ab7ff8e74ab0c5c36ef5cf1"
PKG_SHA256="0238b2c01cfbb2890ae78468d2fc19c815748fc94860a4eb92b649d074476264"
PKG_VERSION="cbc6c62"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/THP-JOE/Python_SI1145"
PKG_URL="https://github.com/THP-JOE/Python_SI1145/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_SOURCE_DIR="Python_SI1145-$PKG_VERSION*"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Python library for the SI1145"
PKG_LONGDESC="Python library for accessing the SI1145 temperature sensor on a Raspberry Pi"
PKG_TOOLCHAIN="manual"
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_SSD1306"
PKG_VERSION="8819e2d203df49f2843059d981b7347d9881c82b"
PKG_SHA256="ed1163dee2fe6c0c2065a429e1d93cff7397a309071ff83714c84566739680a2"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs."
PKG_TOOLCHAIN="manual"

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_TCS34725"
PKG_VERSION="6306f90b4601237a852acef89eeecc1261ce38b3"
PKG_SHA256="f2c3218551da55d7fdbe2499a6ffa3a0b8ed1709e4402c6b0e0f37b17d4aa81f"
PKG_VERSION="4ff05a3"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python TCS34725 Library"
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_VCNL40xx"
PKG_VERSION="5c72575b7390fbedfae0b5fb2a881ca9efe9ca22"
PKG_SHA256="78346836965562720248138203a4af9dc6aa18815bda2a5b7842e3b9af9d1ea8"
PKG_VERSION="e54bff9"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python VCNL40xx Library"
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi & BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,12 +1,37 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="Adafruit_Python_WS2801"
PKG_VERSION="d0c190715ffef1b00e5ffa2d7b7560e7f8ed4263"
PKG_SHA256="6219edb5c1d767ff950f5020bacdfb5ba608b4995eb14d6073fdec2f17f584cb"
PKG_VERSION="699426a"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi."
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
PKG_SECTION="python"
PKG_SHORTDESC="Adafruit Python WS2801 Library"
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi & BeagleBone Black."
PKG_AUTORECONF="no"
make_target() {
: # nop
}
makeinstall_target() {
: # nop
}

View File

@@ -1,15 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="argtable2"
PKG_VERSION="2.13"
PKG_SHA256="8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf"
PKG_LICENSE="BSD"
PKG_SITE="http://argtable.sourceforge.net/"
PKG_URL="https://downloads.sourceforge.net/project/argtable/argtable/argtable-${PKG_VERSION}/argtable2-${PKG_VERSION:2:4}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Argtable is an open source ANSI C library that parses GNU-style command-line options."
make_target() {
:
}

View File

@@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="atk"
PKG_VERSION="2.20.0"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://library.gnome.org/devel/atk/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/2.20/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain glib"
PKG_SECTION="accessibility"
PKG_SHORTDESC="ATK - Accessibility Toolkit"
PKG_LONGDESC="ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications. Using the ATK interfaces, accessibility tools have full access to view and control running applications."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
--disable-rebuilds --disable-glibtest"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC"
}

View File

@@ -0,0 +1,347 @@
diff -Naur atk-2.20.0/atk/atkobject.c atk-2.20.0.patch/atk/atkobject.c
--- atk-2.20.0/atk/atkobject.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atkobject.c 2016-03-26 01:10:01.058238623 +0100
@@ -26,7 +26,6 @@
#include <glib/gi18n-lib.h>
#include "atk.h"
-#include "atkmarshal.h"
#include "atkprivate.h"
/**
@@ -610,27 +609,6 @@
G_TYPE_POINTER);
/**
- * AtkObject::state-change:
- * @atkobject: the object which received the signal.
- * @arg1: The name of the state which has changed
- * @arg2: A boolean which indicates whether the state has been set or unset.
- *
- * The "state-change" signal is emitted when an object's state
- * changes. The detail value identifies the state type which has
- * changed.
- */
- atk_object_signals[STATE_CHANGE] =
- g_signal_new ("state_change",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- G_STRUCT_OFFSET (AtkObjectClass, state_change),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__STRING_BOOLEAN,
- G_TYPE_NONE, 2,
- G_TYPE_STRING,
- G_TYPE_BOOLEAN);
-
- /**
* AtkObject::visible-data-changed:
* @atkobject: the object which received the signal.
*
diff -Naur atk-2.20.0/atk/atktable.c atk-2.20.0.patch/atk/atktable.c
--- atk-2.20.0/atk/atktable.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atktable.c 2016-03-26 01:11:35.242363570 +0100
@@ -20,7 +20,6 @@
#include "config.h"
#include "atktable.h"
-#include "atkmarshal.h"
/**
* SECTION:atktable
@@ -102,78 +101,6 @@
if (!initialized)
{
/**
- * AtkTable::row-inserted:
- * @atktable: the object which received the signal.
- * @arg1: The index of the first row inserted.
- * @arg2: The number of rows inserted.
- *
- * The "row-inserted" signal is emitted by an object which
- * implements the AtkTable interface when a row is inserted.
- */
- atk_table_signals[ROW_INSERTED] =
- g_signal_new ("row_inserted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, row_inserted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- /**
- * AtkTable::column-inserted:
- * @atktable: the object which received the signal.
- * @arg1: The index of the column inserted.
- * @arg2: The number of colums inserted.
- *
- * The "column-inserted" signal is emitted by an object which
- * implements the AtkTable interface when a column is inserted.
- */
- atk_table_signals[COLUMN_INSERTED] =
- g_signal_new ("column_inserted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, column_inserted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- /**
- * AtkTable::row-deleted:
- * @atktable: the object which received the signal.
- * @arg1: The index of the first row deleted.
- * @arg2: The number of rows deleted.
- *
- * The "row-deleted" signal is emitted by an object which
- * implements the AtkTable interface when a row is deleted.
- */
- atk_table_signals[ROW_DELETED] =
- g_signal_new ("row_deleted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, row_deleted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- /**
- * AtkTable::column-deleted:
- * @atktable: the object which received the signal.
- * @arg1: The index of the first column deleted.
- * @arg2: The number of columns deleted.
- *
- * The "column-deleted" signal is emitted by an object which
- * implements the AtkTable interface when a column is deleted.
- */
- atk_table_signals[COLUMN_DELETED] =
- g_signal_new ("column_deleted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, column_deleted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- /**
* AtkTable::row-reordered:
* @atktable: the object which received the signal.
*
diff -Naur atk-2.20.0/atk/atktext.c atk-2.20.0.patch/atk/atktext.c
--- atk-2.20.0/atk/atktext.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atktext.c 2016-03-26 01:12:57.099480029 +0100
@@ -20,7 +20,6 @@
#include "config.h"
#include "atk.h"
-#include "atkmarshal.h"
#include <string.h>
@@ -190,75 +189,6 @@
class->get_bounded_ranges = atk_text_real_get_bounded_ranges;
/**
- * AtkText::text-changed:
- * @atktext: the object which received the signal.
- * @arg1: The position (character offset) of the insertion or deletion.
- * @arg2: The length (in characters) of text inserted or deleted.
- *
- * The "text-changed" signal is emitted when the text of the
- * object which implements the AtkText interface changes, This
- * signal will have a detail which is either "insert" or
- * "delete" which identifies whether the text change was an
- * insertion or a deletion.
- *
- * Deprecated: 2.9.4: Use #AtkObject::text-insert or
- * #AtkObject::text-remove instead.
- */
- atk_text_signals[TEXT_CHANGED] =
- g_signal_new ("text_changed",
- ATK_TYPE_TEXT,
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- G_STRUCT_OFFSET (AtkTextIface, text_changed),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
-
- /**
- * AtkText::text-insert:
- * @atktext: the object which received the signal.
- * @arg1: The position (character offset) of the insertion.
- * @arg2: The length (in characters) of text inserted.
- * @arg3: The new text inserted
- *
- * The "text-insert" signal is emitted when a new text is
- * inserted. If the signal was not triggered by the user
- * (e.g. typing or pasting text), the "system" detail should be
- * included.
- */
- atk_text_signals[TEXT_INSERT] =
- g_signal_new ("text_insert",
- ATK_TYPE_TEXT,
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT_STRING,
- G_TYPE_NONE,
- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
-
- /**
- * AtkText::text-remove:
- * @atktext: the object which received the signal.
- * @arg1: The position (character offset) of the removal.
- * @arg2: The length (in characters) of text removed.
- * @arg3: The old text removed
- *
- * The "text-remove" signal is emitted when a new text is
- * removed. If the signal was not triggered by the user
- * (e.g. typing or pasting text), the "system" detail should be
- * included.
- */
- atk_text_signals[TEXT_REMOVE] =
- g_signal_new ("text_remove",
- ATK_TYPE_TEXT,
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT_STRING,
- G_TYPE_NONE,
- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
-
- /**
* AtkText::text-caret-moved:
* @atktext: the object which received the signal.
* @arg1: The new position of the text caret.
diff -Naur atk-2.20.0/atk/atkutil.c atk-2.20.0.patch/atk/atkutil.c
--- atk-2.20.0/atk/atkutil.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atkutil.c 2016-03-26 01:13:04.481490538 +0100
@@ -20,7 +20,6 @@
#include "config.h"
#include "atkutil.h"
-#include "atkmarshal.c"
/**
* SECTION:atkutil
diff -Naur atk-2.20.0/atk/atkvalue.c atk-2.20.0.patch/atk/atkvalue.c
--- atk-2.20.0/atk/atkvalue.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atkvalue.c 2016-03-26 01:18:03.268897883 +0100
@@ -23,7 +23,6 @@
#include <glib/gi18n-lib.h>
#include "atkvalue.h"
-#include "atkmarshal.h"
#include "atk-enum-types.h"
#include "atkprivate.h"
@@ -322,42 +321,6 @@
atk_value_base_init (AtkValueIface *class)
{
static gboolean initialized = FALSE;
- if (!initialized)
- {
- /**
- * AtkValue::value-changed:
- * @atkvalue: the object on which the signal was emitted.
- * @value: the new value in a numerical form.
- * @text: human readable text alternative (also called
- * description) of this object. NULL if not available.
- *
- * The 'value-changed' signal is emitted when the current value
- * that represent the object changes. @value is the numerical
- * representation of this new value. @text is the human
- * readable text alternative of @value, and can be NULL if it is
- * not available. Note that if there is a textual description
- * associated with the new numeric value, that description
- * should be included regardless of whether or not it has also
- * changed.
- *
- * Example: a password meter whose value changes as the user
- * types their new password. Appropiate value text would be
- * "weak", "acceptable" and "strong".
- *
- * Since: 2.12
- */
- atk_value_signals[VALUE_CHANGED] =
- g_signal_new ("value_changed",
- ATK_TYPE_VALUE,
- G_SIGNAL_RUN_LAST,
- 0,
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__DOUBLE_STRING,
- G_TYPE_NONE,
- 2, G_TYPE_DOUBLE, G_TYPE_STRING);
-
- initialized = TRUE;
- }
}
/**
diff -Naur atk-2.20.0/atk/atkwindow.c atk-2.20.0.patch/atk/atkwindow.c
--- atk-2.20.0/atk/atkwindow.c 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/atkwindow.c 2016-03-26 01:13:13.448503294 +0100
@@ -20,7 +20,6 @@
#include "config.h"
#include "atkwindow.h"
-#include "atkmarshal.h"
/**
* SECTION:atkwindow
diff -Naur atk-2.20.0/atk/Makefile.am atk-2.20.0.patch/atk/Makefile.am
--- atk-2.20.0/atk/Makefile.am 2016-02-15 12:29:12.000000000 +0100
+++ atk-2.20.0.patch/atk/Makefile.am 2016-03-26 01:08:29.075118340 +0100
@@ -115,50 +115,7 @@
# ---------- Handle built sources ----------
-BUILT_SOURCES = atkmarshal.h atkmarshal.c atk-enum-types.h atk-enum-types.c
-
-atkmarshal.h: stamp-atkmarshal.h
- @true
-stamp-atkmarshal.h: @REBUILD@ atkmarshal.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
- && (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
- && rm -f xgen-gmh xgen-gmh~ \
- && echo timestamp > $(@F)
-
-atkmarshal.c: stamp-atkmarshal.c
- @true
-stamp-atkmarshal.c: @REBUILD@ atkmarshal.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
- && (cmp -s xgen-gmc atkmarshal.c || cp xgen-gmc atkmarshal.c) \
- && rm -f xgen-gmc xgen-gmc~ \
- && echo timestamp > $(@F)
-
-atk-enum-types.h: s-enum-types-h
- @true
-s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
- --fhead "#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)\n#error \"Only <atk/atk.h> can be included directly.\"\n#endif\n\n#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include <atk/atkversion.h>\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
- --fprod "/* enumerations from \"@filename@\" */\n" \
- --vhead "ATK_AVAILABLE_IN_ALL\nGType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
- --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
- $(atk_headers) ) > tmp-atk-enum-types.h \
- && (cmp -s tmp-atk-enum-types.h atk-enum-types.h || cp tmp-atk-enum-types.h atk-enum-types.h ) \
- && rm -f tmp-atk-enum-types.h \
- && echo timestamp > $(@F)
-
-atk-enum-types.c: s-enum-types-c
- @true
-s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
- --fhead "#include \"config.h\"\n\n#include <atk.h>" \
- --fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
- --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
- $(atk_headers) ) > tmp-atk-enum-types.c \
- && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c atk-enum-types.c ) \
- && rm -f tmp-atk-enum-types.c \
- && echo timestamp > $(@F)
+BUILT_SOURCES = atk-enum-types.h atk-enum-types.c
if HAVE_INTROSPECTION

View File

@@ -1,16 +1,41 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="bash"
PKG_VERSION="4.3.46"
PKG_SHA256="fc7131bbc3139db143ec9fe03fd4e6bd3636bdf53e6956065b261f034b6af74b"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/bash/bash.html"
PKG_URL="ftp://ftp.cwru.edu/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="The GNU Bourne Again shell."
PKG_SECTION="devel"
PKG_SHORTDESC="The GNU Bourne Again shell"
PKG_LONGDESC="The GNU Bourne Again shell"
PKG_CONFIGURE_OPTS_TARGET="--with-curses \
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--with-curses \
--enable-readline \
--without-bash-malloc \
--with-installed-readline"
pre_configure_target() {
export LIBS="-lterminfo"
}

View File

@@ -1,20 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ccid"
PKG_VERSION="1.4.28"
PKG_SHA256="875836ac5d9d952b40dc1a253a726e74361671864d81337285a3260268f8ade0"
PKG_LICENSE="LGPL"
PKG_SITE="http://pcsclite.alioth.debian.org/ccid.html"
PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/112/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain pcsc-lite"
PKG_LONGDESC="A generic USB Chip/Smart Card Interface Devices driver."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
make_target() {
make
make -C src/ Info.plist
}

View File

@@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017 Escalade
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="at-spi2-atk"
PKG_VERSION="2.26.2"
PKG_SHA256="61891f0abae1689f6617a963105a3f1dcdab5970c4a36ded9c79a7a544b16a6e"
PKG_LICENSE="OSS"
PKG_SITE="http://www.gnome.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/${PKG_VERSION:0:4}/at-spi2-atk-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain at-spi2-core atk libX11 libxml2"
PKG_LONGDESC="A GTK+ module that bridges ATK to D-Bus at-spi."

View File

@@ -1,19 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017 Escalade
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="at-spi2-core"
PKG_VERSION="2.28.0"
PKG_SHA256="42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87"
PKG_LICENSE="OSS"
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="-Denable_docs=false \
-Denable-introspection=no"
pre_configure_target() {
LDFLAGS="$LDFLAGS -lXext"
}

View File

@@ -1,16 +0,0 @@
# 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="atk"
PKG_VERSION="2.29.1"
PKG_SHA256="1aa7707c6297c1797fe4d79a22a57ede4d5586b0f7a3b30e886d7ca9d75f20da"
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"
PKG_DEPENDS_TARGET="toolchain glib glib:host"
PKG_LONGDESC="Provides the set of accessibility interfaces that are implemented by other applications."
PKG_BUILD_FLAGS="+pic"
PKG_MESON_OPTS_TARGET="-Ddocs=false \
-Dintrospection=false"

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXcomposite)/package.mk
PKG_NAME="chrome-libXcomposite"
PKG_LONGDESC="libXcomposite for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXdamage)/package.mk
PKG_NAME="chrome-libXdamage"
PKG_LONGDESC="libXdamage for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXfixes)/package.mk
PKG_NAME="chrome-libXfixes"
PKG_LONGDESC="libXfixes for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXi)/package.mk
PKG_NAME="chrome-libXi"
PKG_LONGDESC="libXi for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXrender)/package.mk
PKG_NAME="chrome-libXrender"
PKG_LONGDESC="libXrender for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libXtst)/package.mk
PKG_NAME="chrome-libXtst"
PKG_LONGDESC="libXtst for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libxcb)/package.mk
PKG_NAME="chrome-libxcb"
PKG_LONGDESC="libxcb for chrome"
PKG_URL=""
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
--disable-static \
--enable-shared"
unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
}
makeinstall_target() {
:
}

View File

@@ -1,29 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017 Escalade
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="cups"
PKG_VERSION="2.2.8"
PKG_SHA256="8f87157960b9d80986f52989781d9de79235aa060e05008e4cf4c0a6ef6bca72"
PKG_LICENSE="GPL"
PKG_SITE="http://www.cups.org"
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"
PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
--disable-gssapi \
--disable-avahi \
--disable-systemd \
--disable-launchd \
--disable-unit-tests"
pre_configure_target() {
cd ..
rm -rf .$TARGET_NAME
}
makeinstall_target() {
make BUILDROOT="$INSTALL/../.INSTALL_PKG"
}

View File

@@ -1,20 +0,0 @@
# 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.36.12"
PKG_SHA256="fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334"
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"
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"
pre_configure_target() {
export PKG_CONFIG_PATH="$(get_build_dir shared-mime-info)/.$TARGET_NAME"
}

View File

@@ -1,85 +0,0 @@
diff -Naur a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
--- a/gdk-pixbuf/meson.build 2018-06-15 20:13:23.593361199 +0200
+++ b/gdk-pixbuf/meson.build 2018-06-15 20:13:42.601469091 +0200
@@ -232,15 +232,15 @@
# The 'loaders.cache' used for testing, so we don't accidentally
# load the installed cache; we always build it by default
-loaders_cache = custom_target('loaders.cache',
- output: 'loaders.cache',
- capture: true,
- command: [
- gdk_pixbuf_query_loaders,
- dynamic_loaders,
- ],
- build_by_default: true)
-loaders_dep = declare_dependency(sources: [ loaders_cache ])
+#loaders_cache = custom_target('loaders.cache',
+# output: 'loaders.cache',
+# capture: true,
+# command: [
+# gdk_pixbuf_query_loaders,
+# dynamic_loaders,
+# ],
+# build_by_default: true)
+#loaders_dep = declare_dependency(sources: [ loaders_cache ])
build_gir = get_option('gir')
if build_gir
diff -Naur a/meson.build b/meson.build
--- a/meson.build 2018-06-15 20:13:23.573361085 +0200
+++ b/meson.build 2018-06-15 20:13:32.761413236 +0200
@@ -398,7 +398,7 @@
# i18n
subdir('po')
-subdir('tests')
+#subdir('tests')
subdir('thumbnailer')
# Documentation
diff -Naur a/thumbnailer/meson.build b/thumbnailer/meson.build
--- a/thumbnailer/meson.build 2018-06-15 20:13:23.605361267 +0200
+++ b/thumbnailer/meson.build 2018-06-15 20:13:50.305512825 +0200
@@ -12,22 +12,22 @@
c_args: common_cflags,
dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ])
-custom_target('thumbnailer',
- input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
- output: 'gdk-pixbuf-thumbnailer.thumbnailer',
- command: [
- gen_thumbnailer,
- '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
- '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
- '--loaders=@0@'.format(loaders_cache.full_path()),
- '--bindir=@0@'.format(gdk_pixbuf_bindir),
- '@INPUT@',
- '@OUTPUT@',
- ],
- depends: [
- gdk_pixbuf_print_mime_types,
- gdk_pixbuf_pixdata,
- loaders_cache,
- ],
- install: true,
- install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))
+#custom_target('thumbnailer',
+# input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
+# output: 'gdk-pixbuf-thumbnailer.thumbnailer',
+# command: [
+# gen_thumbnailer,
+# '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
+# '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
+# '--loaders=@0@'.format(loaders_cache.full_path()),
+# '--bindir=@0@'.format(gdk_pixbuf_bindir),
+# '@INPUT@',
+# '@OUTPUT@',
+# ],
+# depends: [
+# gdk_pixbuf_print_mime_types,
+# gdk_pixbuf_pixdata,
+# loaders_cache,
+# ],
+# install: true,
+# install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))

View File

@@ -1,4 +0,0 @@
[Settings]
gtk-icon-theme-name = Adwaita
gtk-theme-name = Adwaita
gtk-font-name = Liberation Sans 12

View File

@@ -1,34 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017 Escalade
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gtk3"
PKG_VERSION="3.22.30"
PKG_SHA256="a1a4a5c12703d4e1ccda28333b87ff462741dc365131fbc94c218ae81d9a6567"
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"
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
PKG_CONFIGURE_OPTS_TARGET="--disable-cups \
--disable-debug \
--enable-explicit-deps=no \
--disable-glibtest \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-man \
--enable-modules \
--disable-papi \
--disable-xinerama \
--enable-xkb"
pre_configure_target() {
LIBS="$LIBS -lXcursor"
export PKG_CONFIG_PATH="$(get_build_dir pango)/.$TARGET_NAME"
export CFLAGS="$CFLAGS -I$(get_build_dir pango) -L$(get_build_dir pango)/.$TARGET_NAME/pango"
}
makeinstall_target() {
:
}

View File

@@ -1,13 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -566,8 +566,8 @@
|| { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
&& DISPLAY=:$$XID && export DISPLAY
-SRC_SUBDIRS = gdk gtk libgail-util modules demos tests testsuite examples
-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
+SRC_SUBDIRS = gdk gtk modules
+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \

View File

@@ -1,22 +0,0 @@
# 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="harfbuzz"
PKG_VERSION="1.8.1"
PKG_SHA256="fbed6392ddb085e45e6090a9f389f72926d0e355f4b0a2ef51d35cf21686df45"
PKG_LICENSE="GPL"
PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
PKG_URL="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain cairo freetype glib icu"
PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine."
PKG_TOOLCHAIN="configure"
PKG_CONFIGURE_OPTS_TARGET="--with-icu \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf"
pre_configure_target() {
export LDFLAGS="$LDFLAGS -ldl"
}

View File

@@ -1,34 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="icu"
PKG_VERSION="61.1"
PKG_SHA256="d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
PKG_LICENSE="Custom"
PKG_SITE="http://www.icu-project.org"
PKG_URL="http://download.icu-project.org/files/icu4c/${PKG_VERSION}/icu4c-${PKG_VERSION//./_}-src.tgz"
PKG_DEPENDS_TARGET="toolchain icu:host"
PKG_LONGDESC="International Components for Unicode library."
PKG_ICU_OPTS="--disable-extras \
--disable-icuio \
--disable-layout \
--disable-renaming \
--disable-samples \
--disable-tests \
--disable-tools"
PKG_CONFIGURE_OPTS_HOST="--enable-static \
--disable-shared \
$PKG_ICU_OPTS"
configure_package() {
PKG_CONFIGURE_OPTS_TARGET="--with-cross-build=$PKG_BUILD/.$HOST_NAME \
$PKG_ICU_OPTS"
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/source/configure"
}
post_makeinstall_target() {
rm -rf $INSTALL
}

View File

@@ -1,20 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXScrnSaver"
PKG_VERSION="1.2.2"
PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
PKG_LICENSE="GPL"
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_CONFIGURE_OPTS_TARGET="--disable-static \
--enable-shared \
--enable-malloc0returnsnull"
makeinstall_target() {
:
}

View File

@@ -1,17 +0,0 @@
# 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="libXcursor"
PKG_VERSION="1.1.15"
PKG_SHA256="294e670dd37cd23995e69aae626629d4a2dfe5708851bbc13d032401b7a3df6b"
PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
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"
makeinstall_target() {
:
}

View File

@@ -1,20 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXft"
PKG_VERSION="2.3.2"
PKG_SHA256="f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c"
PKG_LICENSE="OSS"
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"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared"
makeinstall_target() {
:
}

View File

@@ -1,18 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libxss"
PKG_VERSION="1.2.2"
PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
PKG_LICENSE="OSS"
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"
PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull"
makeinstall_target() {
:
}

View File

@@ -1,24 +0,0 @@
# 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="pango"
PKG_VERSION="1.42.1"
PKG_SHA256="915a6756b298578ff27c7a6393f8c2e62e6e382f9411f2504d7af1a13c7bce32"
PKG_LICENSE="GPL"
PKG_SITE="http://www.pango.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/pango/${PKG_VERSION:0:4}/pango-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib harfbuzz libX11 libXft"
PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
PKG_TOOLCHAIN="meson"
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
-Dgir=false"
pre_configure_target() {
export PKG_CONFIG_PATH="$(get_build_dir cairo)/.$TARGET_NAME/src":"$(get_build_dir libXft)/.$TARGET_NAME/src"
}
makeinstall_target() {
:
}

View File

@@ -1,16 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="scrnsaverproto"
PKG_VERSION="1.2.2"
PKG_SHA256="8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65"
PKG_LICENSE="GPL"
PKG_SITE="http://xorg.freedesktop.org/"
PKG_URL="https://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="X11 Screen Saver extension wire protocol."
makeinstall_target() {
:
}

View File

@@ -1,19 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="shared-mime-info"
PKG_VERSION="1.9"
PKG_SHA256="5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83"
PKG_LICENSE="GPL2"
PKG_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
PKG_URL="http://freedesktop.org/~hadess/shared-mime-info-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libxml2"
PKG_LONGDESC="The shared-mime-info package contains the core database of common types."
PKG_BUILD_FLAGS="-parallel"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--disable-update-mimedb"
makeinstall_target() {
:
}

View File

@@ -1,21 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="unclutter"
PKG_VERSION="1.09"
PKG_SHA256="3a53575fe2a75a34bc9a2b0ad92ee0f8a7dbedc05d8783f191c500060a40a9bd"
PKG_LICENSE="Public Domain"
PKG_SITE="https://sourceforge.net/projects/unclutter/"
PKG_URL="https://sourceforge.net/projects/unclutter/unclutter/source_$PKG_VERSION/unclutter-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libX11"
PKG_LONGDESC="Unclutter runs in the background of an X11 session and hides the X11 Cursor."
make_target() {
rm -f Makefile
LDFLAGS="$LDFLAGS -lX11" $MAKE unclutter
}
makeinstall_target() {
mkdir -p .install_pkg/usr/bin
install -m 755 unclutter .install_pkg/usr/bin/
}

View File

@@ -1,23 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="comskip"
PKG_VERSION="6030aa0d3b589161ec96c6c986c48aa826fb9f72"
PKG_SHA256="df0b4b0354aef5acc17e4e94a20a396fa69c474af7579c94aad09dd490e0ee38"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kaashoek.com/comskip/"
PKG_URL="https://github.com/erikkaashoek/Comskip/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain argtable2 ffmpeg"
PKG_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings."
PKG_TOOLCHAIN="autotools"
pre_configure_target() {
LDFLAGS="$LDFLAGS -ldl"
export argtable2_CFLAGS="-I$(get_build_dir argtable2)/src"
export argtable2_LIBS="-L$(get_build_dir argtable2)/src/.libs -largtable2"
}
make_target() {
:
}

View File

@@ -1,16 +1,34 @@
# 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)
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="containerd"
PKG_VERSION="1.2.2"
PKG_SHA256="91d480816986d74ff4fa7dd0412c787615fa705975b18fa4079c333b137c653f"
PKG_VERSION="aa8187d"
PKG_ARCH="any"
PKG_LICENSE="APL"
PKG_SITE="https://containerd.tools/"
PKG_URL="https://github.com/containerd/containerd/archive/v$PKG_VERSION.tar.gz"
PKG_URL="https://github.com/docker/containerd/archive/${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"
PKG_SECTION="system"
PKG_SHORTDESC="containerd is a daemon to control runC"
PKG_LONGDESC="containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_make_target() {
case $TARGET_ARCH in
@@ -24,9 +42,9 @@ pre_make_target() {
arm1176jzf-s)
export GOARM=6
;;
*)
export GOARM=7
;;
cortex-a7)
export GOARM=7
;;
esac
;;
aarch64)
@@ -38,25 +56,21 @@ pre_make_target() {
export CGO_ENABLED=1
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export CONTAINERD_VERSION=v${PKG_VERSION}
export CONTAINERD_REVISION=${PKG_VERSION}
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 GOLANG=$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$PKG_BUILD/.gopath
export GOROOT=$TOOLCHAIN/lib/golang
export LDFLAGS="-w -extldflags -static -X github.com/docker/containerd.GitCommit=${PKG_VERSION} -extld $CC"
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/vendor/
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
mkdir -p $PKG_BUILD/.gopath
if [ -d $PKG_BUILD/vendor ]; then
mv $PKG_BUILD/vendor $PKG_BUILD/.gopath/src
fi
ln -fs $PKG_BUILD $PKG_BUILD/.gopath/src/github.com/containerd/containerd
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
}
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 -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd
$GOLANG build -v -o bin/containerd-shim -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd-shim
}
makeinstall_target() {
:
}

View File

@@ -1,26 +1,52 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="cxxtools"
PKG_VERSION="2.2.1"
PKG_SHA256="8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342"
PKG_ARCH="any"
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=""
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
PKG_BUILD_FLAGS="+pic"
PKG_SECTION="python/web"
PKG_SHORTDESC="cxxtools: a collection of general-purpose C++ classes"
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--disable-demos --with-atomictype=pthread --disable-unittest"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --with-atomictype=pthread --disable-unittest"
pre_configure_target() {
CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -fPIC"
LDFLAGS="$LDFLAGS -fPIC"
}
post_makeinstall_host() {
rm -rf $TOOLCHAIN/bin/cxxtools-config
}
post_makeinstall_target() {
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i $SYSROOT_PREFIX/usr/bin/cxxtools-config
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/cxxtools-config
rm -rf $INSTALL/usr/bin
}

View File

@@ -0,0 +1,10 @@
Index: cxxtools-2.2/src/Makefile.am
===================================================================
--- cxxtools-2.2.orig/src/Makefile.am 2013-05-05 13:56:03.225204926 +0300
+++ cxxtools-2.2/src/Makefile.am 2013-05-05 13:56:14.017219885 +0300
@@ -215,4 +215,4 @@
endif
libcxxtools_la_LIBADD = $(LIBICONV)
-libcxxtools_la_LDFLAGS = -version-info @sonumber@ @SHARED_LIB_FLAG@
+libcxxtools_la_LDFLAGS = -version-info @sonumber@

View File

@@ -1,22 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory curl)/package.mk
PKG_NAME="curl3"
PKG_URL=""
PKG_LONGDESC="curl for dotnet"
unpack() {
mkdir -p $PKG_BUILD
cp -r $(get_build_dir curl)/* $PKG_BUILD
sed -i 's/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3/g' $PKG_BUILD/lib/libcurl.vers.in
}
makeinstall_target() {
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
}
post_makeinstall_target() {
:
}

View File

@@ -1,25 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="krb5"
PKG_VERSION="1.16.2-final"
PKG_SHA256="92f62e5a54404d22aa2a7eee9fba64d1be8d10d8dd3aa052e1799993208acce4"
PKG_LICENSE="MIT"
PKG_SITE="http://web.mit.edu/kerberos/"
PKG_URL="https://github.com/krb5/krb5/archive/krb5-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The Kerberos network authentication protocol."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_regcomp=yes \
ac_cv_printf_positional=yes \
krb5_cv_attr_constructor_destructor=yes,yes"
post_unpack() {
rm -rf $PKG_BUILD/doc
mv $PKG_BUILD/src/* $PKG_BUILD
}
makeinstall_target() {
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
}

View File

@@ -1,18 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="lttng-ust"
PKG_VERSION="2.10.2"
PKG_SHA256="015452be6f94e4468315d0478cd5a4d01d9e52672bcea122b4ff7426198d5803"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="https://lttng.org/"
PKG_URL="https://github.com/lttng/lttng-ust/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain userspace-rcu"
PKG_LONGDESC="LTTng is an open source tracing framework for Linux"
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-man-pages"
makeinstall_target() {
make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
}

View File

@@ -1,16 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="userspace-rcu"
PKG_VERSION="0.10.1"
PKG_SHA256="4ddbca9927b459b7a295dec612cf43df5886d398161d50c59d0097995e368a3b"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="http://liburcu.org"
PKG_URL="https://github.com/urcu/userspace-rcu/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="userspace read-copy-update library"
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static"

View File

@@ -1,15 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="blindscan-s2"
PKG_VERSION="192eaf0b3eccfb9721b3d49b9010b5c1447776e0"
PKG_SHA256="c9e5bd07672765b30dac758844e2eb87ab68d5dc6bc731e9df6394159acddcbb"
PKG_LICENSE="GPL"
PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
PKG_URL="https://github.com/PLi-metas/blindscan-s2/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
makeinstall_target() {
:
}

View File

@@ -1,13 +1,33 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="bitstream"
PKG_VERSION="1.4"
PKG_SHA256="b2484940d3b8733bec9dd1ec1731de428261dff31c9f95874264be9dc9ce786b"
PKG_VERSION="1.1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org"
PKG_URL="http://download.videolan.org/pub/videolan/bitstream/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="http://download.videolan.org/pub/videolan/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF."
PKG_SECTION="multimedia"
PKG_SHORTDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"

View File

@@ -1,14 +1,33 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="libev"
PKG_VERSION="4.24"
PKG_SHA256="973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
PKG_VERSION="4.22"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://software.schmorp.de/pkg/libev.html"
PKG_URL="http://dist.schmorp.de/libev/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A full-featured and high-performance event loop."
PKG_SECTION="multimedia"
PKG_SHORTDESC="libev: a full-featured and high-performance event loop"
PKG_LONGDESC="A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs."
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"

View File

@@ -1,20 +1,31 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="dvb-apps"
PKG_VERSION="3d43b280298c"
PKG_SHA256="70c1d293ea3ddbcb970e01c8a51487ee97a4dcf33a73c0236c7d57757c7f6fb0"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps"
PKG_URL="http://linuxtv.org/hg/dvb-apps/archive/${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Applications for initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC."
pre_make_target() {
export PERL_USE_UNSAFE_INC=1
}
makeinstall_target() {
:
}
PKG_SECTION="tools"
PKG_SHORTDESC="Digitial Video Broadcasting (DVB) applications"
PKG_LONGDESC="Applications and utilities geared towards the initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC standards."
PKG_AUTORECONF="no"

View File

@@ -1,52 +0,0 @@
From: CvH <namerp@googlemail.com>
Date: Wed, 22 Nov 2017 23:45:38 +0100
Subject: [PATCH] fix for kernel >=4.14
---
include/ca.h | 1 -
util/dst-utils/dst_test.c | 14 --------------
2 files changed, 15 deletions(-)
diff --git a/include/ca.h b/include/ca.h
index c18537f..5ad21c9 100644
--- a/include/ca.h
+++ b/include/ca.h
@@ -85,6 +85,5 @@ typedef struct ca_pid {
#define CA_GET_MSG _IOR('o', 132, ca_msg_t)
#define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
#define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
-#define CA_SET_PID _IOW('o', 135, ca_pid_t)
#endif
diff --git a/util/dst-utils/dst_test.c b/util/dst-utils/dst_test.c
index 74385de..5cf3bd8 100644
--- a/util/dst-utils/dst_test.c
+++ b/util/dst-utils/dst_test.c
@@ -111,16 +111,6 @@ static int dst_reset(int cafd)
return 0;
}
-static int dst_set_pid(int cafd)
-{
- if ((ioctl(cafd, CA_SET_PID)) < 0) {
- printf("%s: ioctl failed ..\n", __FUNCTION__);
- return -1;
- }
-
- return 0;
-}
-
static int dst_get_descr(int cafd)
{
if ((ioctl(cafd, CA_GET_DESCR_INFO)) < 0) {
@@ -229,10 +219,6 @@ int main(int argc, char *argv[])
printf("%s: Reset\n", __FUNCTION__);
dst_reset(cafd);
break;
- case 'p':
- printf("%s: PID\n", __FUNCTION__);
- dst_set_pid(cafd);
- break;
case 'g':
printf("%s: Get Desc\n", __FUNCTION__);
dst_get_descr(cafd);

View File

@@ -0,0 +1,61 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="dvb-fe-tool"
PKG_VERSION="fa2f7d9"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://linuxtv.org/"
PKG_URL="https://git.linuxtv.org/cgit.cgi/v4l-utils.git/snapshot/$PKG_VERSION.tar.xz"
PKG_SOURCE_DIR="$PKG_VERSION*"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
PKG_SHORTDESC="dvb-fe-tool: Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
PKG_LONGDESC="Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--disable-rpath \
--disable-libdvbv5 \
--disable-libv4l \
--disable-v4l-utils \
--disable-qv4l2 \
--without-jpeg \
--without-libiconv-prefix \
--without-libintl-prefix"
post_patch() {
mkdir -p $ROOT/$PKG_BUILD/build-aux/
touch $ROOT/$PKG_BUILD/build-aux/config.rpath
touch $ROOT/$PKG_BUILD/libdvbv5-po/Makefile.in.in
touch $ROOT/$PKG_BUILD/v4l-utils-po/Makefile.in.in
}
make_target() {
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
make CFLAGS="$TARGET_CFLAGS"
cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
make CFLAGS="$TARGET_CFLAGS"
}
makeinstall_target() {
: # nop
}

View File

@@ -1,20 +1,41 @@
# 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)
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="dvblast"
PKG_VERSION="acf3844377351ea2949ce1c48dbfde589491013d"
PKG_SHA256="007d2c93876892bd09c2a520bdce0b04f6469187123bbf24cdcf0d5effec5389"
PKG_VERSION="3.0"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://www.videolan.org/projects/dvblast.html"
PKG_URL="http://repo.or.cz/dvblast.git/snapshot/${PKG_VERSION}.tar.gz"
PKG_SITE="http://www.videolan.org"
PKG_URL="http://downloads.videolan.org/pub/videolan/dvblast/${PKG_VERSION}/dvblast-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain bitstream libev"
PKG_SECTION="tools"
PKG_SHORTDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
PKG_LONGDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
PKG_AUTORECONF="no"
MAKEFLAGS="V=1"
pre_configure_target() {
export LDFLAGS="$LDFLAGS -lm"
}
makeinstall_target() {
:
: # nop
}

View File

@@ -0,0 +1,17 @@
diff -Naur dvblast-3.0/Makefile dvblast-3.0.patch/Makefile
--- dvblast-3.0/Makefile 2015-10-05 17:51:14.000000000 +0200
+++ dvblast-3.0.patch/Makefile 2016-03-26 22:54:59.953303040 +0100
@@ -55,11 +55,11 @@
dvblast: $(OBJ_DVBLAST)
@echo "LINK $@"
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDLIBS_DVBLAST) $(LDLIBS)
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDFLAGS) $(LDLIBS_DVBLAST) $(LDLIBS)
dvblastctl: $(OBJ_DVBLASTCTL)
@echo "LINK $@"
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDLIBS)
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDFLAGS) $(LDLIBS)
clean:
@echo "CLEAN $(CLEAN_OBJS)"

View File

@@ -1,16 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dvbsnoop"
PKG_VERSION="badf61fcdab1177c1162747be06d035a2b671e9b"
PKG_SHA256="7f0f5d9ca15c5caae3ca249d95a5fc30cececd16f63e00a1404e0d2368ce56fa"
PKG_LICENSE="GPL"
PKG_SITE="http://dvbsnoop.sourceforge.net/"
PKG_URL="https://github.com/persianpros/dvbsnoop/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
PKG_TOOLCHAIN="autotools"
makeinstall_target() {
:
}

View File

@@ -1,16 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mumudvb"
PKG_VERSION="6153f87a17a94fbf6e71d710bef39c313302b494"
PKG_SHA256="4e8dd903d0cba1e798c3921da83b332a9bbb5ad2102f5c1a9699965af6989e28"
PKG_LICENSE="GPL"
PKG_SITE="http://mumudvb.net/"
PKG_URL="https://github.com/braice/MuMuDVB/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
PKG_TOOLCHAIN="autotools"
makeinstall_target() {
:
}

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