blob: 2d86705e8070c6de9f6641d0f6c69b4f8675b4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tvheadend
PKG_VERSION:= a9c6db8acbd85297238771b8b4430435b7994928
PKG_GIT:= hash
PKG_RELEASE:= 1
PKG_DESCR:= tv streaming server
PKG_SECTION:= mm/video
PKG_DEPENDS:= libressl
PKG_BUILDDEP:= libressl yasm-host ffmpeg
PKG_URL:= https://tvheadend.org/projects/tvheadend
PKG_SITES:= https://github.com/tvheadend/tvheadend.git
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TVHEADEND,tvheadend,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
ifeq ($(ADK_TARGET_LIB_UCLIBC_NG),y)
XAKE_FLAGS+= LDLIBS=-liconv
endif
CONFIGURE_ARGS+= --disable-bundle \
--disable-ffmpeg_static \
--disable-execinfo \
--disable-libvpx \
--disable-libx264 \
--disable-libx265 \
--nowerror
tvheadend-install:
$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/bin
$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/share
$(INSTALL_BIN) $(WRKINST)/usr/bin/tvheadend \
$(IDIR_TVHEADEND)/usr/bin
$(CP) $(WRKINST)/usr/share/tvheadend \
$(IDIR_TVHEADEND)/usr/share
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|