mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-10 02:45:15 +00:00
64 lines
2.4 KiB
Bash
64 lines
2.4 KiB
Bash
#! /bin/bash
|
|
|
|
# Audacious
|
|
# Source: https://distfiles.audacious-media-player.org/audacious-4.4.tar.bz2
|
|
#
|
|
# $BUILD = Directory to temporarily install
|
|
# $PKGS = Directory to store built packages
|
|
#
|
|
# DEPS
|
|
# Required: GTK+3 or Qt6
|
|
# Recommended: libarchive dbus mpg123 ffmpeg neon
|
|
# Optional: valgrind
|
|
#
|
|
# NOTE: Required audacious-plugins
|
|
|
|
# No longer building GTK+2
|
|
|
|
meson setup --prefix=/usr --buildtype=release \
|
|
-D gtk=true -D buildstamp=BMLFS -D libarchive=true OUT
|
|
|
|
read -p "Compile?" && ninja -C OUT -j2 &&
|
|
|
|
sudo -S DESTDIR=$BUILD ninja install -C OUT &&
|
|
sudo -S mkdir -pv /BMAN/install /BMAN/usr/share && \
|
|
sudo -S mv $BUILD/usr/share/man /BMAN/usr/share/ && \
|
|
|
|
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------------------------------------------------------|
|
|
audacious: audacious (A relatively powerful media player)
|
|
audacious:
|
|
audacious: Audacious is a media player, based on Beep Media Player, which is in
|
|
audacious: turn based on the X Multimedia System (XMMS). It is used to play
|
|
audacious: audio and other kinds of media files. By default Audacious can play
|
|
audacious: MPEG audio, Ogg Vorbis, RIFF wav, most module formats, and a few
|
|
audacious: other formats. Audacious can be extended through plugins to play a
|
|
audacious: number of other audio and video formats.
|
|
audacious:
|
|
audacious: The webpage for Audacious is: http://www.audacious-media-player.org.
|
|
audacious:
|
|
EOF
|
|
sudo -S mv -v /tmp/slack-desc install/ &&
|
|
sudo -S makepkg -l y -c n $PKGS/audacious-4.4-$PSUFFIX && \
|
|
cd /BMAN && \
|
|
cat > /tmp/slack-desc << "EOF"
|
|
audacious-doc: Manuals for audacious (A relatively powerful media player)
|
|
audacious-doc:
|
|
audacious-doc: A media player, based on Beep Media Player, which is in turn
|
|
audacious-doc: based on the X Multimedia System (XMMS).
|
|
audacious-doc:
|
|
audacious-doc: http://www.audacious-media-player.org
|
|
audacious-doc:
|
|
EOF
|
|
sudo -S mv -v /tmp/slack-desc install/ &&
|
|
sudo -S makepkg -l y -c n $PKGS/audacious-doc-4.4-norch-mlfs.txz && \
|
|
sudo -S rm -rf ${BUILD}/* /BMAN/*
|