media-libs: code style.

This commit is contained in:
Jerome Duval
2018-08-03 15:05:34 +02:00
parent bb14fa0831
commit 89b07f6e3c
25 changed files with 104 additions and 120 deletions

View File

@@ -3,9 +3,6 @@ DESCRIPTION="
Fontconfig is a library for font customization and configuration.
"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/fontconfig"
SOURCE_URI="http://www.freedesktop.org/software/fontconfig/release/fontconfig-$portVersion.tar.bz2"
CHECKSUM_SHA256="dc62447533bca844463a3c3fd4083b57c90f18a70506e7a9f4936b5a1e516a99"
LICENSE="MIT"
COPYRIGHT="2000-2005, 2006-2007 Keith Packard
2005 Patrick Lam
2009 Roozbeh Pournader
@@ -13,11 +10,20 @@ COPYRIGHT="2000-2005, 2006-2007 Keith Packard
2008 Danilo Segan
2012 Google, Inc.
"
LICENSE="MIT"
REVISION="3"
SOURCE_URI="http://www.freedesktop.org/software/fontconfig/release/fontconfig-$portVersion.tar.bz2"
CHECKSUM_SHA256="dc62447533bca844463a3c3fd4083b57c90f18a70506e7a9f4936b5a1e516a99"
PATCHES="fontconfig-2.11.1.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
PROVIDES="
fontconfig$secondaryArchSuffix = $portVersion compat >= 2
cmd:fc_cache$secondaryArchSuffix
@@ -30,7 +36,6 @@ PROVIDES="
cmd:fc_validate$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix = 1.8.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
@@ -40,6 +45,16 @@ REQUIRES="
lib:libbz2$secondaryArchSuffix
"
PROVIDES_devel="
fontconfig${secondaryArchSuffix}_devel = $portVersion compat >= 2.1
devel:libfontconfig$secondaryArchSuffix = 1.8.0 compat >= 1
"
REQUIRES_devel="
fontconfig$secondaryArchSuffix == $portVersion base
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
@@ -47,7 +62,6 @@ BUILD_REQUIRES="
devel:libpng$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:libtool
@@ -61,13 +75,6 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="fontconfig-2.11.1.patchset"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
BUILD()
{
mkdir -p `finddir B_USER_CACHE_DIRECTORY`
@@ -120,14 +127,3 @@ INSTALL()
$manDir \
$docDir
}
PROVIDES_devel="
fontconfig${secondaryArchSuffix}_devel = $portVersion compat >= 2.1
devel:libfontconfig$secondaryArchSuffix = 1.8.0 compat >= 1
"
REQUIRES_devel="
fontconfig$secondaryArchSuffix == $portVersion base
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
"

View File

@@ -3,9 +3,6 @@ DESCRIPTION="
Fontconfig is a library for font customization and configuration.
"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/fontconfig"
SOURCE_URI="http://www.freedesktop.org/software/fontconfig/release/fontconfig-$portVersion.tar.bz2"
CHECKSUM_SHA256="7b165eee7aa22dcc1557db56f58d905b6a14b32f9701c79427452474375b4c89"
LICENSE="MIT"
COPYRIGHT="2000-2005, 2006-2007 Keith Packard
2005 Patrick Lam
2009 Roozbeh Pournader
@@ -13,11 +10,20 @@ COPYRIGHT="2000-2005, 2006-2007 Keith Packard
2008 Danilo Segan
2012 Google, Inc.
"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://www.freedesktop.org/software/fontconfig/release/fontconfig-$portVersion.tar.bz2"
CHECKSUM_SHA256="7b165eee7aa22dcc1557db56f58d905b6a14b32f9701c79427452474375b4c89"
PATCHES="fontconfig-2.11.1.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
PROVIDES="
fontconfig$secondaryArchSuffix = $portVersion compat >= 2
cmd:fc_cache$secondaryArchSuffix
@@ -30,7 +36,6 @@ PROVIDES="
cmd:fc_validate$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix = 1.9.1 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
@@ -40,6 +45,16 @@ REQUIRES="
lib:libbz2$secondaryArchSuffix
"
PROVIDES_devel="
fontconfig${secondaryArchSuffix}_devel = $portVersion compat >= 2.1
devel:libfontconfig$secondaryArchSuffix = 1.9.1 compat >= 1
"
REQUIRES_devel="
fontconfig$secondaryArchSuffix == $portVersion base
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
@@ -47,7 +62,6 @@ BUILD_REQUIRES="
devel:libpng$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:libtool
@@ -62,13 +76,6 @@ BUILD_PREREQUIRES="
cmd:python
"
PATCHES="fontconfig-2.11.1.patchset"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
BUILD()
{
mkdir -p `finddir B_USER_CACHE_DIRECTORY`
@@ -121,14 +128,3 @@ INSTALL()
$manDir \
$docDir
}
PROVIDES_devel="
fontconfig${secondaryArchSuffix}_devel = $portVersion compat >= 2.1
devel:libfontconfig$secondaryArchSuffix = 1.9.1 compat >= 1
"
REQUIRES_devel="
fontconfig$secondaryArchSuffix == $portVersion base
devel:libfreetype$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
"

View File

@@ -16,6 +16,11 @@ PATCHES="fontconfig-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
PROVIDES="
fontconfig$secondaryArchSuffix = $portVersion compat >= 2
cmd:fc_cache$secondaryArchSuffix
@@ -67,11 +72,6 @@ BUILD_PREREQUIRES="
cmd:python
"
GLOBAL_WRITABLE_FILES="
settings/fonts/conf.d directory keep-old
settings/fonts/fonts.conf auto-merge
"
BUILD()
{
mkdir -p `finddir B_USER_CACHE_DIRECTORY`