Skip to content

Commit

Permalink
Merge pull request #5484 from CvH/10.0/rpi-tools_up
Browse files Browse the repository at this point in the history
rpi-tools: update to latest
  • Loading branch information
HiassofT committed Jul 8, 2021
2 parents ea86097 + e6ebe8e commit b15ea79
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 7 deletions.
Expand Up @@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="RPi.GPIO"
PKG_VERSION="0.7.0"
PKG_SHA256="7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f"
PKG_VERSION="0.7.1a4"
PKG_SHA256="21f4378d81525979ad3bbd60e88fc3d9fac1879bcb17151e1c665f32658f9362"
PKG_ARCH="arm"
PKG_LICENSE="MIT"
PKG_SITE="http://sourceforge.net/p/raspberry-gpio-python/"
Expand Down
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="colorzero"
PKG_VERSION="2.0"
PKG_SHA256="86c9933b004aec8ce1c476d1d1129e00325c7724df3c09aa353d5f8e883ed08d"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/waveform80/colorzero"
PKG_URL="https://github.com/waveform80/colorzero/archive/release-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Another color manipulation library for Python (originally from picamera)."
PKG_TOOLCHAIN="manual"
Expand Up @@ -2,12 +2,12 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="gpiozero"
PKG_VERSION="1.5.1"
PKG_SHA256="ae1a8dc4e6e793ffd8f900968f3290d218052c46347fa0c0503c65fabe422e4d"
PKG_VERSION="1.6.2"
PKG_SHA256="0eb95a9db372146813276f92de7f43c883a3e9fe69597fc3d29c04ef3d5d5f9e"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/RPi-Distro/python-gpiozero"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_TARGET="toolchain colorzero"
PKG_LONGDESC="A simple interface to everyday GPIO components used with Raspberry Pi."
PKG_TOOLCHAIN="manual"
4 changes: 4 additions & 0 deletions packages/addons/tools/rpi-tools/changelog.txt
@@ -1,3 +1,7 @@
110
- Update gpiozero to 1.6.2
- Update RPi.GPIO to 0.7.1a4

109
- Update gpiozero to 1.5.1

Expand Down
5 changes: 3 additions & 2 deletions packages/addons/tools/rpi-tools/package.mk
Expand Up @@ -3,12 +3,12 @@

PKG_NAME="rpi-tools"
PKG_VERSION="1.0"
PKG_REV="109"
PKG_REV="110"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain RPi.GPIO gpiozero lan951x-led-ctl"
PKG_DEPENDS_TARGET="toolchain RPi.GPIO gpiozero colorzero lan951x-led-ctl"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of tools and programs for use on the Raspberry Pi"
PKG_LONGDESC="This bundle currently includes RPi.GPIO, gpiozero and lan951x-led-ctl"
Expand All @@ -24,6 +24,7 @@ addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/RPi/
cp -PR $(get_build_dir RPi.GPIO)/build/lib.linux-*/RPi/* ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/RPi
cp -PR $(get_build_dir gpiozero)/gpiozero ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir colorzero)/colorzero ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/

mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
cp -P $(get_build_dir lan951x-led-ctl)/lan951x-led-ctl ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
Expand Down

0 comments on commit b15ea79

Please sign in to comment.