# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/vdr-iptv/pkg_vdr_post.conf # Copyright (C) 2008 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- pkg_vdriptv_source=`match_source_file -p vdr-iptv vdr-iptv` vdriptv_prepatch() { tar $taropt $pkg_vdriptv_source local patchfile=$(echo iptv-*/patches/vdr-1.7.*) var_append patchfiles ' ' "$patchfile" } pkg_vdriptv_ver=${pkg_vdriptv_source##*vdr-iptv-} pkg_vdriptv_ver=${pkg_vdriptv_ver%%.tbz2} echo_status "Including IPTV ($pkg_vdriptv_ver) patch" hook_add prepatch 1 vdriptv_prepatch