Changeset 11348


Ignorieren:
Zeitstempel:
01.12.2013 00:22:11 (vor 5 Jahren)
Autor:
er13
Nachricht:

minidlna:

  • add (optional) support for German language (by SilentBob)
  • refs #2248
Ort:
trunk/make/minidlna
Dateien:
2 hinzugefügt
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/minidlna/Config.in

    r11278 r11348  
    2121        serves multimedia content to compatible clients on the network. 
    2222 
     23choice 
     24depends on FREETZ_PACKAGE_MINIDLNA 
     25    prompt "language" 
     26    default FREETZ_PACKAGE_MINIDLNA_LANG_DE if FREETZ_LANG_DE 
     27    default FREETZ_PACKAGE_MINIDLNA_LANG_EN 
     28 
     29    config FREETZ_PACKAGE_MINIDLNA_LANG_EN 
     30        bool "English" 
     31 
     32    config FREETZ_PACKAGE_MINIDLNA_LANG_DE 
     33        bool "German" 
     34endchoice 
     35 
     36config FREETZ_PACKAGE_MINIDLNA_LANG 
     37    string 
     38    default "en" if FREETZ_PACKAGE_MINIDLNA_LANG_EN 
     39    default "de" if FREETZ_PACKAGE_MINIDLNA_LANG_DE 
     40 
    2341config FREETZ_PACKAGE_MINIDLNA_STATIC 
    2442    bool "Create statically linked binary" 
  • trunk/make/minidlna/minidlna.mk

    r11278 r11348  
    44$(PKG)_SITE:=@SF/minidlna 
    55 
     6$(PKG)_CONDITIONAL_PATCHES+=$(FREETZ_PACKAGE_MINIDLNA_LANG) 
     7 
    68$(PKG)_BINARY := $($(PKG)_DIR)/minidlnad 
    79$(PKG)_TARGET_BINARY := $($(PKG)_DEST_DIR)/usr/sbin/minidlna 
    810 
     11$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_MINIDLNA_LANG 
    912$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_MINIDLNA_STATIC 
    1013 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.