Skip to content

Commit

Permalink
docs: Update instructions for Clear Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
robxnano committed Dec 2, 2023
1 parent d32cf84 commit af7e553
Showing 1 changed file with 6 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ License_URL: https://handbrake.fr/docs/license.html
Installing dependencies on Clear
================================

The following instructions are for [Clear](https://clearlinux.org) 35470 and later.
The following instructions are for [Clear](https://clearlinux.org) 40250 and later.

Basic requirements to run commands:

Expand All @@ -25,42 +25,19 @@ Basic requirements to run commands:

Dependencies:

- dev-utils
- dev-utils-dev
- devpkg-fribidi
- devpkg-jansson
- devpkg-libass
- devpkg-libjpeg-turbo
- devpkg-libogg
- devpkg-libsamplerate
- devpkg-libtheora
- devpkg-libvorbis
- devpkg-libvpx
- devpkg-opus
- devpkg-speex
- desktop-dev

Additional dependencies not available in the base repository:

- lame
- x264

Intel Quick Sync Video dependencies (optional):

- devpkg-libva
- devpkg-libdrm

Graphical interface dependencies:

- desktop-dev

Install dependencies.
Install dependencies. [^all-dependencies]

sudo swupd update
sudo swupd bundle-add dev-utils dev-utils-dev devpkg-fribidi devpkg-jansson devpkg-libass devpkg-libjpeg-turbo devpkg-libogg devpkg-libsamplerate devpkg-libtheora devpkg-libvorbis devpkg-libvpx devpkg-opus devpkg-speex
sudo swupd bundle-add desktop-dev

Build and install the dependencies not available in the base repository.

# lame
curl -LO https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz
tar -xf lame-3.100.tar.gz
cd lame-3.100
Expand All @@ -69,15 +46,6 @@ Build and install the dependencies not available in the base repository.
sudo make install-strip
cd ..

# x264
curl -LO https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2
tar -xf x264-master.tar.bz2
cd x264-master
./configure --enable-shared --enable-static --enable-lto --enable-pic --enable-strip
make -j$(nproc)
sudo make install
cd ..

# make shared libraries findable
if ! grep '\/usr\/local\/lib' /etc/ld.so.conf >/dev/null 2>&1; then
export CFLAGS="${CFLAGS:-} -I/usr/local/include"
Expand All @@ -88,12 +56,6 @@ Build and install the dependencies not available in the base repository.
sudo ldconfig
fi

To build with Intel Quick Sync Video support, install the QSV dependencies.

sudo swupd bundle-add devpkg-libva devpkg-libdrm

To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.

sudo swupd bundle-add desktop-dev

Clear is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions.

[^all-dependencies]: No additional packages are required for Intel Quick Sync Video and GTK [GUI](abbr:Graphical User Interface) support.

0 comments on commit af7e553

Please sign in to comment.