Files
BMLFS/build-scripts/libde265.build
2024-02-07 18:15:52 -06:00

49 lines
1.5 KiB
Bash

#! /bin/bash
# libde265
# Source: https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: SDL
#autoreconf -fvi
./configure --prefix=/usr \
--disable-sherlock265 \
--disable-option-checking $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libde265: libde265 (open h.265 codec implementation)
libde265:
libde265:
libde265: libde265 is an open source implementation of the h.265 video codec.
libde265: It is written from scratch and has a plain C API to enable a simple
libde265: integration into other software.
libde265:
libde265:
libde265: Homepage: https://github.com/strukturag/libde265
libde265:
libde265:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libde265-1.0.15-$PSUFFIX &&
sudo -S rm -rf ${BUILD}/*