[package] kissdx: update to r193 (#11147)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33037 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-08-07 16:09:02 +00:00
parent 03df28b39c
commit 8cdf861b93
4 changed files with 22 additions and 24 deletions

View File

@ -8,14 +8,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=kissdx
PKG_VERSION:=0.14.0.b1a
PKG_RELEASE:=9
PKG_REV:=193
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=http://kissdx.vidartysse.net
PKG_MD5SUM:=ef213d2748f5a63b1c97ac7bfa942b2f
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://www.famille-kahn.com/svn/kissdx/kissdx/trunk
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
@ -39,6 +43,7 @@ define Build/Compile
CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(ICONV_PREFIX)/include -I$(STAGING_DIR)/usr/include/dvdread $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
LDFLAGS="-L$(ICONV_PREFIX)/lib $(TARGET_LDFLAGS)" \
STRIP=$(STRIP) \
IconvExternal=defined \
CC="$(TARGET_CROSS)gcc" all
endef

View File

@ -9,6 +9,7 @@ config 'kissdx' 'server'
option 'enablehiddenfilesminutes' '5'
option 'listhiddenentries' 'no'
option 'displaysequencenumbers' 'no'
option 'loglevel' '4'
config 'kissdx' 'paths'
option 'audio' '/mnt/music'
@ -20,6 +21,7 @@ config 'kissdx' 'files'
option 'video' 'mpg,mpeg,vob,avi,wmv,ts,mp4,divx'
option 'picture' 'jpg,jpeg,png,bmp'
option 'iso' 'iso,img'
option 'renamefiletypes' 'ts:mpg,wav:mp3'
config 'kissdx' 'subtitles'
option 'filemapping' '*:{name}*.*'

View File

@ -11,9 +11,9 @@ create_configfile() {
local signature pidfile characterset \
picturetargetwidth picturetargetheight picturemaxzoompercent \
enablehiddenfilestext enablehiddenfilesminutes \
listhiddenentries displaysequencenumbers
listhiddenentries displaysequencenumbers loglevel
local path_audio path_video path_picture
local files_audio files_video files_picture files_iso
local files_audio files_video files_picture files_iso files_renamefiletypes
local subtitles_filemapping
local recentfiles_foldername recentfiles_max
local kml_forwardurl
@ -32,6 +32,7 @@ create_configfile() {
config_get enablehiddenfilesminutes server enablehiddenfilesminutes
config_get listhiddenentries server listhiddenentries
config_get displaysequencenumbers server displaysequencenumbers
config_get loglevel server loglevel
config_get path_audio paths audio
config_get path_video paths video
@ -41,6 +42,7 @@ create_configfile() {
config_get files_video files video
config_get files_picture files picture
config_get files_iso files iso
config_get files_renamefiletypes files renamefiletypes
config_get subtitles_filemapping subtitles filemapping
@ -55,7 +57,6 @@ create_configfile() {
echo '#adminserver_port = 8003' >> $CFGFILE
echo 'configautoload = no' >> $CFGFILE
echo '#dvdaccessmethod = libdvdnav' >> $CFGFILE
echo '#renamefiletypes = ts:mpg,wav:mp3' >> $CFGFILE
echo 'pidfilepath = ' $pidfile >> $CFGFILE
echo '#persistentstoragepath = /tmp/kissdx' >> $CFGFILE
echo '#server_character_set = CP850' >> $CFGFILE
@ -77,6 +78,8 @@ create_configfile() {
echo 'picturefileextensions = ' $files_picture >> $CFGFILE
echo 'isofileextensions = ' $files_iso >> $CFGFILE
echo '' >> $CFGFILE
echo 'renamefiletypes = ' $files_renamefiletypes >> $CFGFILE
echo '' >> $CFGFILE
echo 'listhiddenentries = ' $listhiddenentries >> $CFGFILE
echo 'enablehiddenfilestext = ' $enablehiddenfilestext >> $CFGFILE
echo 'enablehiddenfilesminutes = ' $enablehiddenfilesminutes >> $CFGFILE
@ -96,6 +99,9 @@ create_configfile() {
echo '#posttrigger = /usr/bin/kissd-posttrigger' >> $CFGFILE
echo '#directorypretrigger = /usr/bin/kissddirpretrigger' >> $CFGFILE
echo '#directoryposttrigger = /usr/bin/kisdddirposttrigger' >> $CFGFILE
echo '#Set logging level (1 to 5). 5 means no log. Loglevel can also be' >> $CFGFILE
echo '#specified as one of: Error, Warning, Protocol, Information, Debug.' >> $CFGFILE
echo 'loglevel = ' $loglevel >> $CFGFILE
}
start () {

View File

@ -1,15 +0,0 @@
diff -Naur kissdx-0.14.0.b1a.orig/Makefile kissdx-0.14.0.b1a/Makefile
--- kissdx-0.14.0.b1a.orig/Makefile 2007-10-24 00:13:33.000000000 +0300
+++ kissdx-0.14.0.b1a/Makefile 2009-03-05 22:53:51.000000000 +0200
@@ -27,9 +27,9 @@
kissdx: $(OBJS)
# remove -liconv below if your system has libiconv built in
- $(CC) -o $@ $(OBJS) -ldvdread -liconv -ljpeg -lm $(EXTRA_LIBS)
+ $(CC) -o $@ $(OBJS) -ldvdread -liconv -ljpeg -lm $(LDFLAGS) $(EXTRA_LIBS)
# $(CC) -o $@ $(OBJS) -ldvdread -ljpeg -lm $(EXTRA_LIBS)
- strip kissdx.exe
+ $(STRIP) kissdx
all: kissdx