source: packages/multimedia/minidlna/patches/010-genconfig-checks.patch @ 26526

Last change on this file since 26526 was 26526, checked in by acinonyx, 5 years ago

[packages] minidlna: Version bump Minidlna 1.0.19

Version bump minidlna to 1.0.19. I didn't find an official changelog. Reading a diff looks like a change in license from GPL v2 or later to strict GPL v2, as well as bug fixes and translation updates. It's streaming as expected. Two patches were rebased.

Signed-off-by: Ian Leonard <antonlacon@…>

File size: 2.5 KB
  • genconfig.sh

    a b ${RM} ${CONFIGFILE} 
    4141 
    4242# Detect if there are missing headers 
    4343# NOTE: This check only works with a normal distro 
    44 [ ! -e "/usr/include/sqlite3.h" ] && MISSING="libsqlite3 $MISSING" 
    45 [ ! -e "/usr/include/jpeglib.h" ] && MISSING="libjpeg $MISSING" 
    46 [ ! -e "/usr/include/libexif/exif-loader.h" ] && MISSING="libexif $MISSING" 
    47 [ ! -e "/usr/include/id3tag.h" ] && MISSING="libid3tag $MISSING" 
    48 [ ! -e "/usr/include/ogg/ogg.h" ] && MISSING="libogg $MISSING" 
    49 [ ! -e "/usr/include/vorbis/codec.h" ] && MISSING="libvorbis $MISSING" 
    50 [ ! -e "/usr/include/FLAC/metadata.h" ] && MISSING="libflac $MISSING" 
    51 [ ! -e "/usr/include/ffmpeg/avutil.h" -a \ 
    52   ! -e "/usr/include/libavutil/avutil.h" -a \ 
    53   ! -e "/usr/include/ffmpeg/libavutil/avutil.h" ] && MISSING="libavutil $MISSING" 
    54 [ ! -e "/usr/include/ffmpeg/avformat.h" -a \ 
    55   ! -e "/usr/include/libavformat/avformat.h" -a \ 
    56   ! -e "/usr/include/ffmpeg/libavformat/avformat.h" ] && MISSING="libavformat $MISSING" 
    57 [ ! -e "/usr/include/ffmpeg/avcodec.h" -a \ 
    58   ! -e "/usr/include/libavcodec/avcodec.h" -a \ 
    59   ! -e "/usr/include/ffmpeg/libavcodec/avcodec.h" ] && MISSING="libavcodec $MISSING" 
     44[ ! -e "${STAGING_DIR}/usr/include/sqlite3.h" ] && MISSING="libsqlite3 $MISSING" 
     45[ ! -e "${STAGING_DIR}/usr/include/jpeglib.h" ] && MISSING="libjpeg $MISSING" 
     46[ ! -e "${STAGING_DIR}/usr/include/libexif/exif-loader.h" ] && MISSING="libexif $MISSING" 
     47[ ! -e "${STAGING_DIR}/usr/include/id3tag.h" ] && MISSING="libid3tag $MISSING" 
     48[ ! -e "${STAGING_DIR}/usr/include/ogg/ogg.h" ] && MISSING="libogg $MISSING" 
     49[ ! -e "${STAGING_DIR}/usr/include/vorbis/codec.h" ] && MISSING="libvorbis $MISSING" 
     50[ ! -e "${STAGING_DIR}/usr/include/FLAC/metadata.h" ] && MISSING="libflac $MISSING" 
     51[ ! -e "${STAGING_DIR}/usr/include/ffmpeg/avutil.h" -a \ 
     52  ! -e "${STAGING_DIR}/usr/include/libavutil/avutil.h" -a \ 
     53  ! -e "${STAGING_DIR}/usr/include/ffmpeg/libavutil/avutil.h" ] && MISSING="libavutil $MISSING" 
     54[ ! -e "${STAGING_DIR}/usr/include/ffmpeg/avformat.h" -a \ 
     55  ! -e "${STAGING_DIR}/usr/include/libavformat/avformat.h" -a \ 
     56  ! -e "${STAGING_DIR}/usr/include/ffmpeg/libavformat/avformat.h" ] && MISSING="libavformat $MISSING" 
     57[ ! -e "${STAGING_DIR}/usr/include/ffmpeg/avcodec.h" -a \ 
     58  ! -e "${STAGING_DIR}/usr/include/libavcodec/avcodec.h" -a \ 
     59  ! -e "${STAGING_DIR}/usr/include/ffmpeg/libavcodec/avcodec.h" ] && MISSING="libavcodec $MISSING" 
    6060if [ -n "$MISSING" ]; then 
    6161        echo -e "\nERROR!  Cannot continue." 
    6262        echo -e "The following required libraries are either missing, or are missing development headers:\n" 
Note: See TracBrowser for help on using the repository browser.