Browse Source

rtl_433: update to 20.02

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Removed upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
1b88b5f7c2
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 4 additions and 14 deletions
  1. +4
    -3
      utils/rtl_433/Makefile
  2. +0
    -11
      utils/rtl_433/patches/010-gnu-source.patch

+ 4
- 3
utils/rtl_433/Makefile View File

@ -7,18 +7,19 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=rtl_433 PKG_NAME:=rtl_433
PKG_VERSION:=18.12
PKG_VERSION:=20.02
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/merbanan/rtl_433/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/merbanan/rtl_433/tar.gz/$(PKG_VERSION)?
PKG_HASH:=8d9a0d57155430b03d299effd48b43b7e072f49868485f0fc79294a28402d654
PKG_HASH:=4f114017ede02d3038c449cf7d25cc82eecda5960e5229cc229774681a9ad80b
PKG_MAINTAINER:=Jasper Scholte <NightNL@outlook.com> PKG_MAINTAINER:=Jasper Scholte <NightNL@outlook.com>
PKG_LICENSE:=GPLv2
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
CMAKE_INSTALL:=1 CMAKE_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk


+ 0
- 11
utils/rtl_433/patches/010-gnu-source.patch View File

@ -1,11 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ if (("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" MATCHES
ADD_DEFINITIONS(-std=c99)
ADD_DEFINITIONS(-pedantic)
# for strdup, setenv
- ADD_DEFINITIONS(-D_POSIX_C_SOURCE=200809)
+ ADD_DEFINITIONS(-D_GNU_SOURCE)
#http://gcc.gnu.org/wiki/Visibility
add_definitions(-fvisibility=hidden)

Loading…
Cancel
Save