Skip to content

FrozzDay/clearfraction

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Clear Fraction - third-party repository for Clear Linux optimized for performance

  • FFmpeg, Mpv, Gstreamer, VSCodium, Brave and more applications

  • popular media codecs support including ffmpeg with SVT-AV1 encoder

  • open source workflow and build logs

Table of Contents

How to enable the repository

sudo swupd 3rd-party add clearfraction https://clearfraction.herokuapp.com/update
sudo mkdir -p /etc/environment.d
sudo tee -a /etc/environment.d/10-cf.conf << EOF
PATH=$PATH:/opt/3rd-party/bundles/clearfraction/bin:/opt/3rd-party/bundles/clearfraction/usr/bin:/opt/3rd-party/bundles/clearfraction/usr/local/bin
LD_LIBRARY_PATH=/opt/3rd-party/bundles/clearfraction/usr/lib64:/opt/3rd-party/bundles/clearfraction/usr/local/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
XDG_DATA_DIRS=/opt/3rd-party/bundles/clearfraction/usr/share/:/opt/3rd-party/bundles/clearfraction/usr/local/share/:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
XDG_CONFIG_DIRS=/opt/3rd-party/bundles/clearfraction/usr/share/xdg:/opt/3rd-party/bundles/clearfraction/etc/xdg:${XDG_CONFIG_DIRS:-/usr/share/xdg:/etc/xdg}
FONTCONFIG_PATH=/usr/share/defaults/fonts${FONTCONFIG_PATH:+:$FONTCONFIG_PATH}
GST_PLUGIN_PATH_1_0=/opt/3rd-party/bundles/clearfraction/usr/lib64/gstreamer-1.0:${GST_PLUGIN_PATH_1_0:-/usr/lib64/gstreamer-1.0}
EOF

GNOME/GDM fix for hidden desktop entries:

sudo tee -a /usr/share/gdm/env.d/flatpak.env << EOF
XDG_DATA_DIRS=/opt/3rd-party/bundles/clearfraction/usr/share/:/opt/3rd-party/bundles/clearfraction/usr/local/share/:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
EOF

Expired certificate error

Extract the latest certificate Swupd_Root.pem from mixer-*tar to /opt/3rd-party/bundles/clearfraction/usr/share/clear/update-ca/Swupd_Root.pem Temporary fix - use the swupd -n flag.

Python apps fix:

# non-root user
echo "export PYTHONPATH=/opt/3rd-party/bundles/clearfraction\`echo /usr/lib/python*\`/site-packages:$PYTHONPATH" >> ~/.bashrc

Environment tuning needed for better system integration. Related: swupd-client#1420, swupd-client#1464, swupd-client#1463, swupd-client#1428, swupd-client#1421.

Optional steps:

  • glib-compile-schemas /opt/3rd-party/bundles/clearfraction/usr/share/glib-2.0/schemas fix the gsettings schema error

  • rm -rf ~/.cache/gstreamer-1.0 fix for gstreamer AAC audio playback

Install software

  • sudo swupd 3rd-party bundle-list -a - show available bundles

  • sudo swupd 3rd-party bundle-add codecs - install ffmpeg & gstreamer-libav with dependencies

How to get updates

sudo swupd 3rd-party update

How to repair

  • sudo swupd 3rd-party repair
  • sudo swupd 3rd-party remove clearfraction && sudo swupd 3rd-party add clearfraction https://clearfraction.herokuapp.com/update

Video playback in Firefox

echo "export LD_LIBRARY_PATH=/opt/3rd-party/bundles/clearfraction/usr/lib64" >> "${HOME}/.config/firefox.conf"

Donate

Patrons:

  • Air Dedman - CF Worshipper

Special thanks to:

  • @kuboosoft & @lebensterben for tech consulting

About

Project info & bugreports collector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published