diff --git a/tv.plex.PlexHTPC.yml b/tv.plex.PlexHTPC.yml index 093b120..1b833f9 100644 --- a/tv.plex.PlexHTPC.yml +++ b/tv.plex.PlexHTPC.yml @@ -24,8 +24,8 @@ cleanup: - /share/doc - /share/man - /lib/pkgconfig - - "*.a" - - "*.la" + - '*.a' + - '*.la' modules: - name: plex-metadata buildsystem: simple @@ -43,12 +43,12 @@ modules: - name: libjpeg # with libjpeg.so.8 buildsystem: cmake-ninja - config-opts: &libjpeg_config_opts + config-opts: - -DCMAKE_SKIP_RPATH:BOOL=YES - -DENABLE_STATIC:BOOL=NO - -DWITH_JPEG8:BOOL=YES - -DCMAKE_INSTALL_LIBDIR=/app/lib # uses lib64 by default - sources: &libjpeg_sources + sources: - type: archive url: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.1.3.tar.gz sha256: dbda0c685942aa3ea908496592491e5ec8160d2cf1ec9d5fd5470e50768e7859 @@ -79,9 +79,9 @@ modules: - name: libsnappy buildsystem: cmake-ninja config-opts: - - "-DBUILD_SHARED_LIBS=ON" - - "-DSNAPPY_BUILD_TESTS=OFF" - - "-DCMAKE_BUILD_TYPE=RelWithDebInfo" + - -DBUILD_SHARED_LIBS=ON + - -DSNAPPY_BUILD_TESTS=OFF + - -DCMAKE_BUILD_TYPE=RelWithDebInfo sources: - type: git url: https://github.com/google/snappy @@ -93,8 +93,8 @@ modules: - --disable-static sources: - type: archive - url: https://zlib.net/zlib-1.3.tar.gz - sha256: ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e + url: https://zlib.net/zlib-1.3.1.tar.gz + sha256: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23 x-checker-data: type: anitya project-id: 5303 @@ -113,7 +113,8 @@ modules: buildsystem: simple build-commands: - cp -a * /app - - sed -i 's/BASE_DIR=\$(dirname "\$(readlink -f "\$0")")/BASE_DIR=\$(dirname "\$(readlink -f "\$0")")\/../g' /app/Plex.sh + - sed -i 's/BASE_DIR=\$(dirname "\$(readlink -f "\$0")")/BASE_DIR=\$(dirname + "\$(readlink -f "\$0")")\/../g' /app/Plex.sh - sed -i 's/"\$BASE_DIR"\/bin\/Plex/"\$BASE_DIR"\/bin\/plex-bin/g' /app/Plex.sh - mv /app/bin/Plex /app/bin/plex-bin - mv /app/Plex.sh /app/bin/Plex