Browse Source

Update minidlna to 1.1.3 version

medaved 10 years ago
parent
commit
5d65cd1df5
2 changed files with 12 additions and 19 deletions
  1. 11
    18
      multimedia/minidlna/Makefile
  2. 1
    1
      multimedia/minidlna/files/minidlna.config

+ 11
- 18
multimedia/minidlna/Makefile View File

13
 
13
 
14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15
 PKG_SOURCE_URL:=@SF/minidlna
15
 PKG_SOURCE_URL:=@SF/minidlna
16
-PKG_MD5SUM:=879027192C89E5376CDD2AE2D1AA33B4
17
-
16
+PKG_MD5SUM:=879027192c89e5376cdd2ae2d1aa33b4
17
+PKG_MAINTAINER:=Knyazkov Dmitry <medavedik@gmail.com>
18
 PKG_BUILD_PARALLEL:=0
18
 PKG_BUILD_PARALLEL:=0
19
 PKG_BUILD_DEPENDS:=util-linux
19
 PKG_BUILD_DEPENDS:=util-linux
20
 
20
 
21
-include $(INCLUDE_DIR)/kernel.mk
22
 include $(INCLUDE_DIR)/package.mk
21
 include $(INCLUDE_DIR)/package.mk
23
 include $(INCLUDE_DIR)/nls.mk
22
 include $(INCLUDE_DIR)/nls.mk
24
 
23
 
38
 endef
37
 endef
39
 
38
 
40
 define Package/minidlna/conffiles
39
 define Package/minidlna/conffiles
41
-/etc/minidlna.conf
40
+/etc/config/minidlna
42
 endef
41
 endef
43
 
42
 
44
 TARGET_CPPFLAGS += \
43
 TARGET_CPPFLAGS += \
64
 	LDFLAGS="$(TARGET_LDFLAGS)" \
63
 	LDFLAGS="$(TARGET_LDFLAGS)" \
65
 	ICONV_LIBS="-liconv $(if $(INTL_FULL),-lintl)" \
64
 	ICONV_LIBS="-liconv $(if $(INTL_FULL),-lintl)" \
66
 
65
 
67
-MAKE_VARS +=\
68
-	PREFIX="$(STAGING_DIR)/usr" \
69
-	ICONV_PREFIX="$(ICONV_PREFIX)" \
70
-	INTL_PREFIX="$(INTL_PREFIX)" \
71
-	OS_NAME="OpenWrt Linux" \
72
-	OS_VERSION="$(LINUX_VERSION)" \
73
-	OS_URL="http://openwrt.org/" \
74
-	DB_PATH="/var/run/minidlna" \
75
-	LOG_PATH="/var/log" \
76
-
66
+CONFIGURE_ARGS +=\
67
+	--with-libiconv-prefix="$(ICONV_PREFIX)" \
68
+	--with-libintl-prefix="$(INTL_PREFIX)" \
69
+	--with-os-name="OpenWrt Linux" \
70
+	--with-os-version="$(LINUX_VERSION)" \
71
+	--with-os-url="http://openwrt.org/" \
72
+	--with-db-path="/var/run/minidlna" \
73
+	--with-log-path="/var/log" \
77
 
74
 
78
 define Package/minidlna/install
75
 define Package/minidlna/install
79
 	$(INSTALL_DIR) $(1)/usr/bin
76
 	$(INSTALL_DIR) $(1)/usr/bin
84
 	$(INSTALL_CONF) ./files/minidlna.config $(1)/etc/config/minidlna
81
 	$(INSTALL_CONF) ./files/minidlna.config $(1)/etc/config/minidlna
85
 endef
82
 endef
86
 
83
 
87
-define Package/minidlna/conffiles
88
-/etc/config/minidlna
89
-endef
90
-
91
 $(eval $(call BuildPackage,minidlna))
84
 $(eval $(call BuildPackage,minidlna))

+ 1
- 1
multimedia/minidlna/files/minidlna.config View File

1
 config minidlna config
1
 config minidlna config
2
-	option 'enabled' '0'
2
+	option 'enabled' '1'
3
 	option port '8200'
3
 	option port '8200'
4
 	option interface 'br-lan'
4
 	option interface 'br-lan'
5
 	option friendly_name 'OpenWrt DLNA Server'
5
 	option friendly_name 'OpenWrt DLNA Server'