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

@@ -16,6 +16,7 @@ LICENSE="GNU LGPL v3"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/lensfun/files/$portVersion/lensfun-$portVersion.tar.gz"
CHECKSUM_SHA256="ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
@@ -23,13 +24,6 @@ PROVIDES="
lensfun$secondaryArchSuffix = $portVersion compat >= 0.2
lib:liblensfun$secondaryArchSuffix = $portVersion compat >= 0
"
PROVIDES_devel="
lensfun${secondaryArchSuffix}_devel = $portVersion compat >= 0.2
cmd:g_lensfun_update_data$secondaryArchSuffix
cmd:lensfun_add_adapter$secondaryArchSuffix
cmd:lensfun_update_data$secondaryArchSuffix
devel:liblensfun$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
@@ -37,6 +31,14 @@ REQUIRES="
lib:libz$secondaryArchSuffix
lib:libglib_2.0${secondaryArchSuffix}
"
PROVIDES_devel="
lensfun${secondaryArchSuffix}_devel = $portVersion compat >= 0.2
cmd:g_lensfun_update_data$secondaryArchSuffix
cmd:lensfun_add_adapter$secondaryArchSuffix
cmd:lensfun_update_data$secondaryArchSuffix
devel:liblensfun$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES_devel="
lensfun$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
@@ -45,6 +47,7 @@ REQUIRES_devel="
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng16$secondaryArchSuffix