Install the following packages, which are good to have installed:
sudo dnf install --allowerasing -y dnf-plugins-core \| # frozen_string_literal: true | |
| require "logger" | |
| module Rackup | |
| module Handler | |
| class Pitchfork | |
| def self.build_server(app, options = {}) | |
| require "pitchfork/http_server" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>PayloadType</key> | |
| <string>com.apple.ManagedClient.preferences</string> | |
| <key>PayloadVersion</key> |
| sudo yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel -y | |
| mkdir ~/ffmpeg_sources | |
| # nasm | |
| cd ~/ffmpeg_sources | |
| curl -O -L https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.bz2 | |
| tar xjvf nasm-2.14.02.tar.bz2 | |
| cd nasm-2.14.02 | |
| ./autogen.sh | |
| ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" |