Skip to content

Commit

Permalink
35 add network settings screen (#36)
Browse files Browse the repository at this point in the history
* Added Network screen

* Fixed package hash
  • Loading branch information
orenskl authored Apr 5, 2023
1 parent 1c140ce commit 02f655b
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 4 deletions.
2 changes: 1 addition & 1 deletion distributions/HiFiStreamer/version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# VERSION: set full version, use "devel" for development version
HIFISTREAMER_VERSION="0.1.0"
HIFISTREAMER_VERSION="0.2.0"

# OS_VERSION: OS Version
OS_VERSION="0.0.1"
Expand Down
29 changes: 29 additions & 0 deletions packages/python/dbus-python/package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 Oren Sokoler

PKG_NAME="dbus-python"
PKG_VERSION="1.2.18"
PKG_SHA256="92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260"
PKG_LICENSE="MIT"
PKG_SITE="http://www.freedesktop.org/wiki/Software/DBusBindings"
PKG_URL="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 setuptools:target distutilscross"
PKG_LONGDESC="Python bindings for libdbus"
PKG_TOOLCHAIN="manual"

pre_make_target() {
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
}

make_target() {
cd ${PKG_BUILD}
python3 setup.py build --cross-compile
}

makeinstall_target() {
python3 setup.py install --root=${INSTALL} --prefix=/usr
}

post_makeinstall_target() {
python_remove_source
}
6 changes: 3 additions & 3 deletions packages/python/hifistreamer-app/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Copyright (C) 2023 Oren Sokoler

PKG_NAME="hifistreamer-app"
PKG_VERSION="0.0.4"
PKG_SHA256="4bc9aa1287eceb508fa03df1aa73b2859696ac522a07586ed1e1dfd8af735bd9"
PKG_VERSION="0.0.6"
PKG_SHA256="5ebaed178a52b23ff56f13c480033c2000754794276e52d5c5d7e88c445a7bb3"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/orenskl/hifistreamer-app"
PKG_URL="https://github.com/orenskl/hifistreamer-app/releases/download/${PKG_VERSION}/hifistreamer-app-${PKG_VERSION}.tar.gz"
#PKG_URL="file:///media/sf_projects/hifistreamer-app-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 setuptools:target tornado psutil"
PKG_DEPENDS_TARGET="toolchain Python3 setuptools:target tornado psutil pyconnman"
PKG_LONGDESC="User Interface and backend application for HiFiStreamer"
PKG_TOOLCHAIN="manual"

Expand Down
28 changes: 28 additions & 0 deletions packages/python/pyconnman/package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 Oren Sokoler

PKG_NAME="pyconnman"
PKG_VERSION="0.2.0"
PKG_SHA256="4bf6a8a89a5c362dd16d3bf1d71db36d43ac82c6221338a8333fb73770331142"
PKG_LICENSE="Apache-2.0"
PKG_SITE="https://pypi.org/project/pyconnman/"
PKG_URL="https://github.com/liamw9534/pyconnman/archive/refs/tags/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 setuptools:target dbus-python"
PKG_LONGDESC="A library for managing network connectivity using Python, ConnMan and DBus."
PKG_TOOLCHAIN="manual"

pre_make_target() {
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
}

make_target() {
python3 setup.py build --cross-compile
}

makeinstall_target() {
python3 setup.py install --root=${INSTALL} --prefix=/usr
}

post_makeinstall_target() {
python_remove_source
}

0 comments on commit 02f655b

Please sign in to comment.