added build files back
This commit is contained in:
parent
08e9528be7
commit
086ca63b42
|
@ -1,3 +1,8 @@
|
|||
nvim/plugin
|
||||
newtabber/newtabber
|
||||
termux/font.ttf
|
||||
buildfiles/x265/x265_git
|
||||
buildfiles/x265/build
|
||||
buildfiles/x265/build-10
|
||||
buildfiles/x265/build-12
|
||||
buildfiles/makemkv/src
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
sleep 1
|
||||
pipewire &
|
||||
pipewire-pulse &
|
||||
wireplumber &
|
|
@ -0,0 +1 @@
|
|||
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH
|
|
@ -0,0 +1 @@
|
|||
export PATH=$HOME/.local/bin:$HOME/go/bin:$PATH
|
Loading…
Reference in New Issue