added build files back

This commit is contained in:
Rudis Muiznieks 2023-06-05 07:12:32 -05:00
parent 08e9528be7
commit 086ca63b42
Signed by: rudism
GPG key ID: CABF2F86EF7884F9
6 changed files with 93 additions and 0 deletions

5
.gitignore vendored
View file

@ -1,3 +1,8 @@
nvim/plugin nvim/plugin
newtabber/newtabber newtabber/newtabber
termux/font.ttf termux/font.ttf
buildfiles/x265/x265_git
buildfiles/x265/build
buildfiles/x265/build-10
buildfiles/x265/build-12
buildfiles/makemkv/src

20
buildfiles/makemkv/build.sh Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
VERSION=1.17.4
mkdir -p src
pushd src || exit 1
curl -OL "https://www.makemkv.com/download/makemkv-bin-$VERSION.tar.gz"
curl -OL "https://www.makemkv.com/download/makemkv-oss-$VERSION.tar.gz"
tar zxvf "makemkv-bin-$VERSION.tar.gz"
tar zxvf "makemkv-oss-$VERSION.tar.gz"
pushd "makemkv-oss-$VERSION" || exit 1
./configure --prefix="$HOME/.local"
make
sudo make PREFIX="$HOME/.local" install
popd || exit 1
pushd "makemkv-bin-$VERSION" || exit 1
make PREFIX="$HOME/.local" install
popd || exit 1
popd || exit 1

60
buildfiles/x265/build.sh Executable file
View file

@ -0,0 +1,60 @@
#!/usr/bin/env bash
set -euo pipefail
builddir="$(dirname "$0")"
pushd "$builddir"
rm -rf ./build ./build-10 ./build-12
if [ -d "./x265_git" ]; then
git -C "./x265_git" pull
else
git clone --depth 1 --branch 3.4.1 "https://bitbucket.org/multicoreware/x265_git.git"
fi
cmake -S x265_git/source -B build-12 \
-DCMAKE_INSTALL_PREFIX='/home/rudism/.local' \
-DCMAKE_ASM_NASM_FLAGS='-w-macro-params-legacy' \
-DENABLE_ASSEMBLY='ON' \
-DENABLE_LIBNUMA='ON' \
-DHIGH_BIT_DEPTH='ON' \
-DMAIN12='ON' \
-DEXPORT_C_API='OFF' \
-DENABLE_CLI='OFF' \
-DENABLE_SHARED='OFF' \
-Wno-dev
make -C build-12
cmake -S x265_git/source -B build-10 \
-DCMAKE_INSTALL_PREFIX='/home/rudism/.local' \
-DCMAKE_ASM_NASM_FLAGS='-w-macro-params-legacy' \
-DENABLE_ASSEMBLY='ON' \
-DENABLE_LIBNUMA='ON' \
-DHIGH_BIT_DEPTH='ON' \
-DEXPORT_C_API='OFF' \
-DENABLE_CLI='OFF' \
-DENABLE_SHARED='OFF' \
-Wno-dev
make -C build-10
cmake -S x265_git/source -B build \
-DCMAKE_INSTALL_PREFIX:PATH='/home/rudism/.local' \
-DCMAKE_ASM_NASM_FLAGS='-w-macro-params-legacy' \
-DENABLE_ASSEMBLY='ON' \
-DENABLE_SHARED='ON' \
-DENABLE_LIBNUMA='ON' \
-DENABLE_HDR10_PLUS='ON' \
-DEXTRA_LIB='x265_main10.a;x265_main12.a' \
-DEXTRA_LINK_FLAGS='-L.' \
-DLINKED_10BIT='ON' \
-DLINKED_12BIT='ON' \
-Wno-dev
ln -s ../build-10/libx265.a build/libx265_main10.a
ln -s ../build-12/libx265.a build/libx265_main12.a
make -C build
make -C build install
popd

6
kde/login.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
sleep 1
pipewire &
pipewire-pulse &
wireplumber &

View file

@ -0,0 +1 @@
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH

View file

@ -0,0 +1 @@
export PATH=$HOME/.local/bin:$HOME/go/bin:$PATH