Merge pull request #349 from Gareth422/formatting

Reformat ten recipes
This commit is contained in:
waddlesplash
2015-12-19 22:56:49 -05:00
10 changed files with 130 additions and 147 deletions

View File

@@ -5,14 +5,15 @@ construct JSON objects in C, output them as JSON formatted strings and parse \
JSON formatted strings back into the C representation of JSON objects.
"
HOMEPAGE="https://github.com/json-c/json-c/wiki"
COPYRIGHT="2009-2012 Eric Haszlakiewicz
2004, 2005 Metaparadigm Pte Ltd"
LICENSE="MIT"
COPYRIGHT="
2009-2012 Eric Haszlakiewicz
2004, 2005 Metaparadigm Pte Ltd
"
REVISION="1"
SOURCE_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12-nodoc.tar.gz"
CHECKSUM_SHA256="6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35"
REVISION="1"
SOURCE_DIR="json-c-$portVersion"
PATCHES="json_c-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
@@ -22,6 +23,15 @@ PROVIDES="
REQUIRES="
haiku
"
PROVIDES_devel="
json_c_devel = $portVersion
devel:libjson_c = 2.0.1 compat >= 2
"
REQUIRES_devel="
json_c$secondaryArchSuffix == $portVersion base
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
@@ -31,10 +41,6 @@ BUILD_PREREQUIRES="
cmd:make
"
SOURCE_DIR="json-c-$portVersion"
PATCHES="json_c-$portVersion.patchset"
BUILD()
{
autoreconf -fi
@@ -55,13 +61,3 @@ TEST()
{
make check
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
json_c_devel = $portVersion
devel:libjson_c = 2.0.1 compat >= 2
"
REQUIRES_devel="
json_c$secondaryArchSuffix == $portVersion base
"

View File

@@ -5,32 +5,35 @@ LibCSS is a CSS (Cascading Style Sheet) parser and selection engine.
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
COPYRIGHT="2007-2014 J-M Bell"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
CHECKSUM_SHA256="ecaa09b07d4ecfd4644163bc0f0332b81aaaffbb9a373465e15e44e06666faf1"
REVISION="2"
PATCHES="libcss-0.3.0.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="libcss-0.3.0.patchset"
PROVIDES="
libcss$secondaryArchSuffix = $portVersion
lib:libcss$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libparserutils${secondaryArchSuffix}
lib:libwapcaplet${secondaryArchSuffix}
"
PROVIDES_devel="
libcss${secondaryArchSuffix}_devel = $portVersion
devel:libcss$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libparserutils${secondaryArchSuffix} >= 0.2.0
devel:libwapcaplet${secondaryArchSuffix} >= 0.2.1
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
@@ -64,10 +67,3 @@ TEST()
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
LDFLAGS="-liconv -lwapcaplet -lparserutils"
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libcss${secondaryArchSuffix}_devel = $portVersion
devel:libcss$secondaryArchSuffix = $portVersion
"

View File

@@ -1,13 +1,15 @@
SUMMARY="A library for solving packages and reading repositories"
DESCRIPTION="A Library for solving packages and reading repositories."
LICENSE="BSD (3-clause)"
COPYRIGHT="2007-2013, Novell Inc."
HOMEPAGE="http://github.com/openSUSE/libsolv"
COPYRIGHT="2007-2013, Novell Inc."
LICENSE="BSD (3-clause)"
REVISION="1"
srcGitRev="da2650933f85f5a30d8146bfb22af53d2620d0c7"
SOURCE_URI="https://github.com/weinhold/libsolv/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="79aa7772bfe403f003e8063480ddc3d4f491b3f5d7b8cace610605fba3318150"
SOURCE_DIR="libsolv-$srcGitRev"
SOURCE_FILENAME="$portVersionedName.tar.gz"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64 ppc arm"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -21,6 +23,16 @@ REQUIRES="
lib:libexpat$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
devel:libexpat$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -34,8 +46,6 @@ BUILD_PREREQUIRES="
cmd:sed
"
SOURCE_DIR="libsolv-$srcGitRev"
PATCH()
{
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
@@ -73,14 +83,3 @@ INSTALL()
$dataDir \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"

View File

@@ -12,11 +12,13 @@ LICENSE="
GNU LGPL v2.1
MIT
"
REVISION="1"
SOURCE_URI="https://github.com/haiku/webkit/archive/$portVersion.tar.gz"
SOURCE_FILENAME="haikuwebkit-$portVersion.tar.gz"
CHECKSUM_SHA256="f434e707ba958412d073d1ca2010e934281662cf88b4cc9a6b2735fe2d96fd92"
SOURCE_DIR="webkit-$portVersion"
PATCHES="haikuwebkit-1.5.1.patchset"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -39,6 +41,17 @@ REQUIRES="
lib:libexecinfo$secondaryArchSuffix
"
PROVIDES_devel="
haikuwebkit${secondaryArchSuffix}_devel = $portVersion
devel:libJavaScriptCore$secondaryArchSuffix = $portVersion
devel:libwebcore$secondaryArchSuffix = $portVersion
devel:libWebKit$secondaryArchSuffix = $portVersion
devel:libwtf$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haikuwebkit$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
@@ -69,8 +82,6 @@ BUILD_PREREQUIRES="
cmd:which
"
SOURCE_DIR="webkit-$portVersion"
BUILD()
{
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
@@ -90,15 +101,3 @@ INSTALL()
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
haikuwebkit${secondaryArchSuffix}_devel = $portVersion
devel:libJavaScriptCore$secondaryArchSuffix = $portVersion
devel:libwebcore$secondaryArchSuffix = $portVersion
devel:libWebKit$secondaryArchSuffix = $portVersion
devel:libwtf$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haikuwebkit$secondaryArchSuffix == $portVersion base
"

View File

@@ -7,9 +7,10 @@ COPYRIGHT="
2010 VideoLAN (to be completed).
"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://ftp.videolan.org/pub/videolan/libbluray/$portVersion/libbluray-$portVersion.tar.bz2"
CHECKSUM_SHA256="efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -28,6 +29,15 @@ REQUIRES="
lib:libpng$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libbluray${secondaryArchSuffix}_devel = $portVersion compat >= 0.7
devel:libbluray$secondaryArchSuffix = 1.9.2 compat >= 1
"
REQUIRES_devel="
libbluray$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfontconfig$secondaryArchSuffix
@@ -69,13 +79,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libbluray${secondaryArchSuffix}_devel = $portVersion compat >= 0.7
devel:libbluray$secondaryArchSuffix = 1.9.2 compat >= 1
"
REQUIRES_devel="
libbluray$secondaryArchSuffix == $portVersion base
"

View File

@@ -1,21 +1,30 @@
DESCRIPTION="Libnsbmp is a decoding library for BMP and ICO image file formats"
SUMMARY="A decoding library for BMP and ICO images"
DESCRIPTION="Libnsbmp is a decoding library for BMP and ICO image file formats"
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsbmp/"
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libnsbmp-$portVersion-src.tar.gz"
CHECKSUM_SHA256="969ba1c4f778b6ecee5fd834a6206c97b49885673389260fef1043dfca2968b1"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="libnsbmp-0.1.1.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
libnsbmp = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libnsbmp_devel = $portVersion
devel:libnsbmp = $portVersion
"
REQUIRES_devel="
libnsbmp$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
@@ -42,13 +51,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libnsbmp_devel = $portVersion
devel:libnsbmp = $portVersion
"
REQUIRES_devel="
libnsbmp$secondaryArchSuffix == $portVersion base
"

View File

@@ -1,21 +1,30 @@
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
SUMMARY="A decoding library for GIF images"
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-$portVersion-src.tar.gz"
CHECKSUM_SHA256="dd6948af5c054224489beaa4b4cc13c2c4f695d5bdee7e58ec2370c53cd9faa5"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="libnsgif-0.1.1.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
libnsgif = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libnsgif_devel = $portVersion
devel:libnsgif = $portVersion
"
REQUIRES_devel="
libnsgif$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
@@ -42,13 +51,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libnsgif_devel = $portVersion
devel:libnsgif = $portVersion
"
REQUIRES_devel="
libnsgif$secondaryArchSuffix == $portVersion base
"

View File

@@ -6,17 +6,16 @@ without a SoundFont compatible soundcard. Fluidsynth can perform as a virtual \
MIDI device and read in SMF (.mid) files directly. Another function is its \
ability to send audio data to a Raw or Wave file."
HOMEPAGE="http://www.fluidsynth.org/"
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="http://sourceforge.net/projects/fluidsynth/files/fluidsynth-$portVersion/fluidsynth-$portVersion.tar.bz2"
CHECKSUM_SHA256="d28b47dfbf7f8e426902ae7fa2981d821fbf84f41da9e1b85be933d2d748f601"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
PATCHES="fluidsynth-1.1.6.patchset"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="fluidsynth-1.1.6.patchset"
PROVIDES="
fluidsynth${secondaryArchSuffix} = $portVersion
lib:libfluidsynth${secondaryArchSuffix} = 1.5.2 compat >= 1
@@ -34,6 +33,15 @@ REQUIRES="
lib:libsndfile$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
"
PROVIDES_devel="
fluidsynth${secondaryArchSuffix}_devel = $portVersion
devel:libfluidsynth$secondaryArchSuffix = 1.5.2 compat >= 1
"
REQUIRES_devel="
fluidsynth$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libFLAC$secondaryArchSuffix
@@ -75,13 +83,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
fluidsynth${secondaryArchSuffix}_devel = $portVersion
devel:libfluidsynth$secondaryArchSuffix = 1.5.2 compat >= 1
"
REQUIRES_devel="
fluidsynth$secondaryArchSuffix == $portVersion base
"

View File

@@ -1,28 +1,36 @@
SUMMARY="Full-featured Jabber/XMPP client library"
DESCRIPTION="
Rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++.
"
DESCRIPTION="Rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++."
HOMEPAGE="http://camaya.net/gloox/"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2012 Jakob Schröter"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://camaya.net/download/gloox-$portVersion.tar.bz2"
CHECKSUM_SHA256="520b72a66fa9fea917a0336872101539f0bea30d1f871e12c31b6c2cd0203941"
REVISION="1"
PATCHES="gloox-1.0.9.patch"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PATCHES="gloox-1.0.9.patch"
PROVIDES="
gloox$secondaryArchSuffix = $portVersion
lib:libgloox$secondaryArchSuffix = 13.0.0 compat >= 13
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
gloox${secondaryArchSuffix}_devel = $portVersion
cmd:gloox_config${secondaryArchSuffix}
devel:libgloox$secondaryArchSuffix = 13.0.0 compat >= 13
"
REQUIRES_devel="
gloox$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcrypto$secondaryArchSuffix
@@ -38,6 +46,7 @@ BUILD_PREREQUIRES="
cmd:automake
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
@@ -61,14 +70,3 @@ TEST()
make check
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
gloox${secondaryArchSuffix}_devel = $portVersion
cmd:gloox_config${secondaryArchSuffix}
devel:libgloox$secondaryArchSuffix = 13.0.0 compat >= 13
"
REQUIRES_devel="
gloox$secondaryArchSuffix == $portVersion base
"

View File

@@ -13,14 +13,14 @@ LICENSE="
GNU GPL v2
MIT
"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/project/liboauth/liboauth-$portVersion.tar.gz"
CHECKSUM_SHA256="0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
REVISION="1"
PATCHES="liboauth-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="liboauth-$portVersion.patchset"
PROVIDES="
liboauth$secondaryArchSuffix = $portVersion compat >= 1
lib:liboauth$secondaryArchSuffix = 0.8.7 compat >= 0
@@ -32,6 +32,15 @@ REQUIRES="
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
liboauth${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:liboauth$secondaryArchSuffix = 0.8.7 compat >= 0
"
REQUIRES_devel="
liboauth$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcrypto$secondaryArchSuffix
@@ -71,13 +80,3 @@ INSTALL()
$manDir/man3 \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
liboauth${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:liboauth$secondaryArchSuffix = 0.8.7 compat >= 0
"
REQUIRES_devel="
liboauth$secondaryArchSuffix == $portVersion base
"