liblo: bump version.

disable gcc2
This commit is contained in:
Jerome Duval
2019-11-19 10:15:43 +01:00
parent 6c0c4139ee
commit 36184523cd
3 changed files with 65 additions and 244 deletions

View File

@@ -0,0 +1,67 @@
SUMMARY="Lightweight OSC (Open Sound Control) Implementation"
DESCRIPTION="liblo is a lightweight library that provides an easy to use \
implementation of the OSC protocol."
HOMEPAGE="http://liblo.sourceforge.net/"
COPYRIGHT="2008-2012 Stephen Sinclair
2008 Kentaro Fukuchi
2005-2008 Nicholas Humfrey
2005 Martin Habets
2005-2006 Steve Harris"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/liblo/liblo-$portVersion.tar.gz"
CHECKSUM_SHA256="30a7c9de49a25ed7f2425a7a7415f5b14739def62431423d3419ea26fb978d1b"
PATCHES="liblo-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
liblo$secondaryArchSuffix = $portVersion compat >= 0
cmd:oscdump$secondaryArchSuffix
cmd:oscsend$secondaryArchSuffix
cmd:oscsendfile$secondaryArchSuffix
lib:liblo$secondaryArchSuffix = 7.4.0 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
liblo${secondaryArchSuffix}_devel = $portVersion compat >= 0
devel:liblo$secondaryArchSuffix = 7.4.0 compat >= 7
"
REQUIRES_devel="
liblo$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoreconf -vi
CPPFLAGS="-D_BSD_SOURCE" runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs liblo
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}