smlinux/base/flac/flac.SMBuild
PktSurf 45e2c3bd44 Added ftjam, libptytty to base
Removed dmraid, iniparser, jam, libatasmart, libblockdev, libbytesize, libyaml, mozjs, ndctl, polkit, rpi-userland, sccache from base
Removed docdir, sysconfdir and prefix quotes from autoconf build option and similar options from various packages in base
Added apparch variables to base/{acpid,dmidecode,gnu-efi,pciutils,syslinux}
Added udev rules build option to base/alsa-utils
Discarded --offline option in base/cbindgen
Upgraded base/cmake to 3.26.4
Added --without-x build option to base/dialog
Upgraded base/gawk to 5.2.2
Upgraded base/glib to 2.76.3
Disabled tests and examples in base/gloox
Upgraded base/gnupg2 to 2.2.41
Upgraded base/gnutls to 3.8.0
Upgraded base/gpgme to 1.20.0
Fixed make command option ordering in base/{hdparm,p7zip}
Upgraded base/libgpg-error to 1.47
Upgraded base/libjpeg-turbo to 2.1.5.1
Upgraded base/libuv to 1.45.0
Discarded some build options to base/libxml2
Upgraded base/llvm to 15.0.7
Fixed subshell code in base/lua53
Removed --prefix= in several python package build files, added /usr as prefix in base/python3
Upgraded base/musl to 1.2.4
Upgraded base/nettle to 3.9
Upgraded base/nghttp2 to 1.53.0
Added --without-trust-paths to base/p11-kit
Upgraded base/qpdf to 11.4.0
Discarded base/rpi-userland
Upgraded base/rust to 1.69.0
Upgraded base/sqlite to 3420000
Added $CFLAGS to base/unzip
Added -fPIC option to base/yasm
Updated base build list
2023-06-04 21:53:45 +05:30

40 lines
806 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=flac
version=1.3.3
build=1sml
homepage="https://xiph.org/flac/index.html"
download="https://ftp.osuosl.org/pub/xiph/releases/flac/flac-$version.tar.xz"
desc="Open-source lossless audio codec"
requires="libogg"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
if [[ $arch == aarch64 ]] ; then
sseopts="--disable-sse"
else
sseopts="--enable-sse"
fi
./configure \
--prefix= \
$sseopts
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
18c8cf06afe739717331f00bacf1339694855d2870b1a2c47d7721f2e1fcd7ccc432518be1bdde10f68484d9abbc19f229759acf15b44b7aa2caf79ca810f7ad flac-1.3.3.tar.lz
"