Skip to content

Commit

Permalink
Update dependencies; enable auto-update to Omega
Browse files Browse the repository at this point in the history
  • Loading branch information
djp952 committed Apr 7, 2024
1 parent f7f77ed commit 6343874
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 54 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Unofficial Kodi HDHomeRun DVR PVR Client
## [__USER DOCUMENTATION AND DOWNLOADS__](https://github.com/djp952/pvr.hdhomerundvr/wiki)

Copyright (C)2016-2022 Michael G. Brehm
Copyright (C)2016-2024 Michael G. Brehm
[MIT LICENSE](https://opensource.org/licenses/MIT)

[__CURL__](https://curl.haxx.se/) - Copyright (C)1996-2022, Daniel Stenberg, [email protected], and many contributors
Expand Down Expand Up @@ -130,7 +130,6 @@ Examples:
| uwp-arm | Universal Windows Platform ARM | /t:uwp-arm |
| uwp-win32 | Universal Windows Platform X86 | /t:uwp-win32 |
| uwp-x64 | Universal Windows Platform X64 | /t:uwp-x64 |
| uwpappx-arm | Universal Windows Platform ARM MSIX | /t:uwpappx-arm /p:Keystore={keystore};KeystorePassword={keystore-password} |
| uwpappx-x64 | Universal Windows Platform X64 MSIX | /t:uwpappx-x64 /p:Keystore={keystore};KeystorePassword={keystore-password} |
| windows-win32 | Windows X86 | /t:windows-win32 |
| windows-x64 | Windows X64 | /t:windows-x64 |
Expand Down
2 changes: 1 addition & 1 deletion depends/sqlite
Submodule sqlite updated 4 files
+7,947 −4,872 shell.c
+19,361 −7,166 sqlite3.c
+662 −199 sqlite3.h
+14 −0 sqlite3ext.h
2 changes: 1 addition & 1 deletion depends/xbmc
Submodule xbmc updated 289 files
53 changes: 6 additions & 47 deletions msbuild.proj
Original file line number Diff line number Diff line change
Expand Up @@ -620,48 +620,7 @@

</Target>

<!-- BUILD: UWPAPPX-WIN32 -->
<Target Name="uwpappx-win32" DependsOnTargets="AddonVersion;uwp-win32">

<Error Condition="'$(JAVA_HOME)' == ''" Text="Environment variable JAVA_HOME has not been set"/>
<Error Condition="'$(Keystore)' == ''" Text="Variable Keystore has not been set; specify with /p:Keystore=xxx;KeystorePassword=xxx"/>
<Error Condition="'$(KeystorePassword)' == ''" Text="Variable KeystorePassword has not been set; specify with /p:Keystore=xxx;KeystorePassword=xxx"/>

<PropertyGroup>
<BuildNumber>$([System.Version]::Parse($(AddonVersion)).Revision)</BuildNumber>
<AppxVersionCode>20.2.$(BuildNumber).0</AppxVersionCode>
<PhoneProductId>1F9928BF-0F41-49C8-941A-466153ED2C55</PhoneProductId>
<KodiAppx>Kodi-20230629-5f418d0b-Nexus-x86</KodiAppx>
<ZukiAppx>kodi-20.2-zuki.pvr.hdhomerundvr-win32-$(AddonVersion)</ZukiAppx>
<AppxNamespaces>&lt;Namespace Prefix='n' Uri='http://schemas.microsoft.com/appx/manifest/foundation/windows10' /&gt;&lt;Namespace Prefix='mp' Uri='http://schemas.microsoft.com/appx/2014/phone/manifest' /&gt;</AppxNamespaces>
</PropertyGroup>

<MakeDir Directories="tmp;out" ContinueOnError="false"/>
<Delete Files="tmp\$(ZukiAppx).pfx;out\$(ZukiAppx).cer"/>
<Exec Command="&quot;$(JAVA_HOME)\bin\keytool&quot; -importkeystore -srckeystore &quot;$(Keystore)&quot; -srcstorepass $(KeystorePassword) -srcstoretype JKS -destkeystore &quot;tmp\$(ZukiAppx).pfx&quot; -deststoretype PKCS12 -deststorepass $(KeystorePassword)" ContinueOnError="false"/>
<Exec Command="$(BashExe) -c &quot;openssl pkcs12 -in tmp/$(ZukiAppx).pfx -nokeys -out out/$(ZukiAppx).cer -password pass:$(KeystorePassword)&quot;" ContinueOnError="false"/>

<ReadCertificateSubject filename="tmp\$(ZukiAppx).pfx" password="$(KeystorePassword)">
<Output PropertyName="CertificateSubject" TaskParameter="subject"/>
</ReadCertificateSubject>

<MakeDir Directories="tmp" ContinueOnError="false"/>
<Message Condition="!Exists('tmp\$(KodiAppx).msix')" Importance="high" Text="Downloading $(KodiAppx).msix ..."/>
<Exec Condition="!Exists('tmp\$(KodiAppx).msix')" Command="curl http://mirrors.kodi.tv/nightlies/windows/uwp32/Nexus/$(KodiAppx).msix -L -o tmp\$(KodiAppx).msix " ContinueOnError="false" />

<RemoveDir Directories="out\$(KodiAppx)"/>
<Exec Command="makeappx unpack /p tmp\$(KodiAppx).msix /l /d out\$(KodiAppx)" ContinueOnError="false"/>
<Delete Files="out\$(KodiAppx)\AppxBlockMap.xml;out\$(KodiAppx)\AppxMetadata\CodeIntegrity.cat;out\$(KodiAppx)\AppxSignature.p7x"/>
<Exec Command="PowerShell Expand-Archive -Path out\zuki.pvr.hdhomerundvr-uwp-win32-$(KodiBaseline)-$(AddonVersion).zip -DestinationPath out\$(KodiAppx)\addons\" ContinueOnError="false"/>
<XmlPoke XmlInputPath="out\$(KodiAppx)\AppxManifest.xml" Namespaces="$(AppxNamespaces)" Query="//n:Package/n:Identity/@Publisher" Value="$(CertificateSubject)"/>
<XmlPoke XmlInputPath="out\$(KodiAppx)\AppxManifest.xml" Namespaces="$(AppxNamespaces)" Query="//n:Package/n:Identity/@Version" Value="$(AppxVersionCode)"/>
<XmlPoke XmlInputPath="out\$(KodiAppx)\AppxManifest.xml" Namespaces="$(AppxNamespaces)" Query="//n:Package/mp:PhoneIdentity/@PhoneProductId" Value="$([System.Guid]::NewGuid().ToString('d'))"/>
<Exec Command="makeappx pack /d out\$(KodiAppx) /l /o /p out\$(ZukiAppx).msix" ContinueOnError="false"/>
<Exec Command="signtool sign /fd SHA256 /a /f &quot;tmp\$(ZukiAppx).pfx&quot; /p $(KeystorePassword) out\$(ZukiAppx).msix" ContinueOnError="false"/>

</Target>

<!-- BUILD: UWPAPPX-X64 -->
<!-- BUILD: UWPAPPX-X64 -->
<Target Name="uwpappx-x64" DependsOnTargets="AddonVersion;uwp-x64">

<Error Condition="'$(JAVA_HOME)' == ''" Text="Environment variable JAVA_HOME has not been set"/>
Expand All @@ -670,10 +629,10 @@

<PropertyGroup>
<BuildNumber>$([System.Version]::Parse($(AddonVersion)).Revision)</BuildNumber>
<AppxVersionCode>20.2.$(BuildNumber).0</AppxVersionCode>
<AppxVersionCode>20.5.$(BuildNumber).0</AppxVersionCode>
<PhoneProductId>1F9928BF-0F41-49C8-941A-466153ED2C55</PhoneProductId>
<KodiAppx>Kodi-20230629-5f418d0b-Nexus-x64</KodiAppx>
<ZukiAppx>kodi-20.2-zuki.pvr.hdhomerundvr-x64-$(AddonVersion)</ZukiAppx>
<KodiAppx>kodi-20.5-Nexus_20.5.0.0-x64</KodiAppx>
<ZukiAppx>kodi-20.5-zuki.pvr.hdhomerundvr-x64-$(AddonVersion)</ZukiAppx>
<AppxNamespaces>&lt;Namespace Prefix='n' Uri='http://schemas.microsoft.com/appx/manifest/foundation/windows10' /&gt;&lt;Namespace Prefix='mp' Uri='http://schemas.microsoft.com/appx/2014/phone/manifest' /&gt;</AppxNamespaces>
</PropertyGroup>

Expand All @@ -688,7 +647,7 @@

<MakeDir Directories="tmp" ContinueOnError="false"/>
<Message Condition="!Exists('tmp\$(KodiAppx).msix')" Importance="high" Text="Downloading $(KodiAppx).msix ..."/>
<Exec Condition="!Exists('tmp\$(KodiAppx).msix')" Command="curl https://mirrors.kodi.tv/nightlies/windows/uwp64/Nexus/$(KodiAppx).msix -L -o tmp\$(KodiAppx).msix " ContinueOnError="false" />
<Exec Condition="!Exists('tmp\$(KodiAppx).msix')" Command="curl https://mirrors.kodi.tv/releases/windows/UWP/$(KodiAppx).msix -L -o tmp\$(KodiAppx).msix " ContinueOnError="false" />

<RemoveDir Directories="out\$(KodiAppx)"/>
<Exec Command="makeappx unpack /p tmp\$(KodiAppx).msix /l /d out\$(KodiAppx)" ContinueOnError="false"/>
Expand Down Expand Up @@ -746,7 +705,7 @@
<!-- BUILD: PLATFORMS -->
<Target Name="windows" DependsOnTargets="windows-win32;windows-x64"/>
<Target Name="uwp" DependsOnTargets="uwp-win32;uwp-x64;uwp-arm"/>
<Target Name="uwpappx" DependsOnTargets="uwpappx-win32;uwpappx-x64;uwpappx-arm"/>
<Target Name="uwpappx" DependsOnTargets="uwpappx-x64"/>
<Target Name="linux" DependsOnTargets="linux-i686;linux-x86_64;linux-armel;linux-armhf;linux-aarch64"/>
<Target Name="osx" DependsOnTargets="osx-x86_64"/>
<Target Name="android" DependsOnTargets="android-arm;android-aarch64;android-x86;android-x86_64"/>
Expand Down
4 changes: 4 additions & 0 deletions pvr.hdhomerundvr/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v20.9.3 (2024.04.06)
- Update libhdhomerun library to version 20231109
- Update SQLite database engine to version 3.45.2

v20.9.2 (2023.07.13)
- Remove cURL low speed limit detection options on HTTP streams

Expand Down
2 changes: 1 addition & 1 deletion src/version.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
Company=Michael G. Brehm
Copyright=
Product=zuki.pvr.hdhomerundvr
Version=20.9.2
Version=20.9.3
9 changes: 8 additions & 1 deletion template/addon.xml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@
</requires>
<extension point="kodi.pvrclient" needs_configuration="false" library_<#= this.Host.ResolveParameterValue("", "", "libraryplatform") #>="<#= this.Host.ResolveParameterValue("", "", "libraryname") #>"/>
<# if(!String.IsNullOrEmpty(this.Host.ResolveParameterValue("", "", "repomanifest"))) { #> <extension point="xbmc.addon.repository">
<dir>
<dir minversion="20.0.0" maxversion="20.79.0">
<info>https://raw.githubusercontent.com/djp952/repository.hdhomerundvr/Nexus/<#= this.Host.ResolveParameterValue("", "", "repomanifest") #></info>
<checksum verify="sha256">https://raw.githubusercontent.com/djp952/repository.hdhomerundvr/Nexus/<#= this.Host.ResolveParameterValue("", "", "repomanifest") #>.sha256</checksum>
<datadir>https://github.com/djp952/pvr.hdhomerundvr/releases/download</datadir>
<artdir>https://github.com/djp952/pvr.hdhomerundvr/releases/download</artdir>
<hashes>sha256</hashes>
</dir>
<dir minversion="20.90.801">
<info>https://raw.githubusercontent.com/djp952/repository.hdhomerundvr/Omega/<#= this.Host.ResolveParameterValue("", "", "repomanifest") #></info>
<checksum verify="sha256">https://raw.githubusercontent.com/djp952/repository.hdhomerundvr/Omega/<#= this.Host.ResolveParameterValue("", "", "repomanifest") #>.sha256</checksum>
<datadir>https://github.com/djp952/pvr.hdhomerundvr/releases/download</datadir>
<artdir>https://github.com/djp952/pvr.hdhomerundvr/releases/download</artdir>
<hashes>sha256</hashes>
</dir>
</extension>
<# } #> <extension point="xbmc.addon.metadata">
<summary lang="en_GB">HDHomeRun DVR PVR Client</summary>
Expand Down

0 comments on commit 6343874

Please sign in to comment.