[mythtv-users] libbluray-dev needs to be added to ansible

Jim Abernathy jfabernathy at gmail.com
Sat Dec 25 02:37:42 UTC 2021


On 12/24/21 9:01 PM, Bill Meek wrote:
> On 12/20/21 5:14 AM, James Abernathy wrote:
>> PopOS has become a version of Ubuntu that is gaining popularity and I moved my test system to it for a while to play with it.
>>
>> I decided to test Build from Source for Mythtv to check out dependencies.  Ansible ran clean but the build was missing the usual libbluray-dev
>> that was missing in Linux Mint 20.2 back in November.
>>
>> $ ansible localhost --module-name=setup --args='filter=ansible_distribution'
>> [WARNING]: No inventory was parsed, only implicit localhost is available
>> localhost | SUCCESS => {
>>      "ansible_facts": {
>>          "ansible_distribution": "Pop!_OS"
>>      },
>>      "changed": false
>> }
> I'm assuming the ansible_lsb.major_release is still 20+. Please test this change:
>
> diff --git a/roles/mythtv-deb/tasks/main.yml b/roles/mythtv-deb/tasks/main.yml
> index 95039d2..e797ea5 100644
> --- a/roles/mythtv-deb/tasks/main.yml
> +++ b/roles/mythtv-deb/tasks/main.yml
> @@ -158,7 +158,7 @@
>         - '{{ deb_pkg_lst }}'
>         - libbluray-dev
>     when:
> -    - ansible_distribution == "Linux Mint"
> +    - (ansible_distribution == "Linux Mint" or ansible_distribution == "Pop!_OS")
>       - (ansible_lsb.major_release|int >= 20)
>
>   - name: add mythtv extra build libraries (Ubuntu 16.04 and later, not aarch64)


Patch seems to work. runs clean and this is the list of packages I see 
from the console and it include libbluray-dev.

ok: [localhost] => {
     "msg": 
"git,g++,make,build-essential,nasm,automake,libtool,ccache,pkg-config,uuid-dev,libfreetype6-dev,libmp3lame-dev,libxv-dev,libxxf86vm-dev,libxinerama-dev,libxrandr-dev,libxml2-dev,libavahi-compat-libdnssd-dev,libexiv2-dev,libasound2-dev,libegl1-mesa-dev,liblzo2-dev,libhdhomerun-dev,libsamplerate0-dev,libxnvctrl-dev,libzip-dev,libsoundtouch-dev,libva-dev,libdrm-dev,libvdpau-dev,libass-dev,libxvidcore-dev,libx264-dev,libvpx-dev,libbluray-bdj,libavc1394-dev,libiec61883-dev,libpulse-dev,libfftw3-dev,libssl-dev,libsystemd-dev,libgnutls28-dev,*libbluray-dev*,libdbi-perl,libdbd-mysql-perl,libnet-upnp-perl,libwww-perl,libio-socket-inet6-perl,libdate-manip-perl,libxml-simple-perl,libxml-xpath-perl,libimage-size-perl,libdatetime-format-iso8601-perl,libsoap-lite-perl,libjson-perl,libvorbis-dev,libflac-dev,libflac++-dev,libtag1-dev,libcdio-dev,libcdio-paranoia-dev"
}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211224/91026ee4/attachment.htm>


More information about the mythtv-users mailing list