Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
1.2 KiB

# NOTE: This application uses an old version of ffmpeg and has a few external libraries in it's source tree as well.
import 'compile/cmake'
name=stepmania
majver=5.0
version=$majver.12
ffmpeg_version=2.1.8
update_url="https://github.com/$name/$name/releases"
dlextract "https://github.com/$name/$name/archive/v$version.tar.gz" \
'04dcba99ec1a6fd544e58a56e26e21ff'
download "https://ffmpeg.org/releases/ffmpeg-$ffmpeg_version.tar.bz2" \
'b11231d7ff0aa4f675958ea6b51caa96'
header_end
cd "$name-$version"
# Set up ffmpeg
extract "ffmpeg-$ffmpeg_version.tar.bz2" extern
sed -i -e '/set(SM_FFMPEG_SRC_LIST/s/ffmpeg-linux-/ffmpeg-/' \
-e "/set(SM_FFMPEG_VERSION/s/2.1.3/$(safe_sed "$ffmpeg_version")/" CMake/SetupFfmpeg.cmake
compile_cmake -- -DCMAKE_INSTALL_PREFIX="/$dir_prefix/$dir_libdir" -DWITH_STATIC_LINKING=OFF
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
ln -sf "$dir_sysroot/$dir_prefix/$dir_libdir/$name-$majver/$name" "$dir_install/$dir_prefix/$dir_bindir/$name"
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/applications" "$name.desktop"
cp -r icons "$dir_install/$dir_prefix/$dir_datadir/"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: