Lagrange: enable mpeg audio

This commit is contained in:
Gerasim Troeglazov
2021-06-30 21:25:08 +10:00
parent 48616e9e80
commit f1473b8bb1

View File

@@ -6,7 +6,7 @@ visual themes, Unicode fonts, bookmarks, history, and page outlines."
HOMEPAGE="https://gmi.skyjake.fi/lagrange/"
COPYRIGHT="2020-2021 Jaakko Keränen"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/skyjake/lagrange/releases/download/v$portVersion/lagrange-$portVersion.tar.gz"
CHECKSUM_SHA256="3be4d5b383726f725301bf757e06dcd2d30de1aa50431943387c9aa0df8d0a3f"
SOURCE_DIR="lagrange-$portVersion"
@@ -22,6 +22,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libmpg123$secondaryArchSuffix
lib:libpcre$secondaryArchSuffix
lib:libSDL2_2.0$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
@@ -31,6 +32,7 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libmpg123$secondaryArchSuffix
devel:libpcre$secondaryArchSuffix
devel:libSDL2_2.0$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
@@ -50,7 +52,8 @@ BUILD()
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=$appsDir/Lagrange
-DCMAKE_INSTALL_PREFIX=$appsDir/Lagrange \
-DENABLE_MPG123=ON
make $jobArgs
}