mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
imlib2: bump to 1.5.1, add debuginfo, shrink REQUIRES_devel. (#2537)
This commit is contained in:
@@ -10,18 +10,21 @@ This is a complete rewrite over the Imlib 1.x series. The architecture is more \
|
||||
modular, simple, and flexible. See index.html in the doc/ directory for more \
|
||||
information."
|
||||
HOMEPAGE="https://www.enlightenment.org/"
|
||||
COPYRIGHT="2002 Project Enlightenment"
|
||||
COPYRIGHT="2002-2018 Project Enlightenment"
|
||||
LICENSE="IMLIB2"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/enlightenment/imlib2-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="3f698cd285cbbfc251c1d6405f249b99fafffafa5e0a5ecf0ca7ae49bbc0a272"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/enlightenment/imlib2-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="fa4e57452b8843f4a70f70fd435c746ae2ace813250f8c65f977db5d7914baae"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
imlib2$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libimlib2$secondaryArchSuffix = $portVersion compat >= 1
|
||||
imlib2$secondaryArchSuffix = $portVersion
|
||||
lib:libimlib2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -30,14 +33,14 @@ REQUIRES="
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libid3tag$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix >= 5
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
imlib2${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:libimlib2$secondaryArchSuffix = $portVersion compat >= 1
|
||||
imlib2${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libimlib2$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:imlib2_config$secondaryArchSuffix = $portVersion
|
||||
cmd:imlib2_conv$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
@@ -49,18 +52,11 @@ REQUIRES_devel="
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libid3tag$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix >= 5
|
||||
devel:libz$secondaryArchSuffix
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libid3tag$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix >= 5
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -70,7 +66,7 @@ BUILD_REQUIRES="
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libid3tag$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix >= 5
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
@@ -86,6 +82,17 @@ BUILD_PREREQUIRES="
|
||||
cmd:ranlib$secondaryArchSuffix
|
||||
"
|
||||
|
||||
debugList=(
|
||||
"$libDir"/libImlib2.so.$libVersion
|
||||
"$libDir"/imlib2/filters/bumpmap.so
|
||||
"$libDir"/imlib2/filters/colormod.so
|
||||
"$libDir"/imlib2/filters/testfilter.so
|
||||
)
|
||||
for i in argb bmp bz2 ff gif id3 jpeg lbm png pnm tga tiff xpm zlib; do
|
||||
debugList+=("$libDir"/imlib2/loaders/$i.so)
|
||||
done
|
||||
defineDebugInfoPackage imlib2$secondaryArchSuffix "${debugList[@]}"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
@@ -110,8 +117,8 @@ INSTALL()
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir \
|
||||
$developDir
|
||||
"$binDir" \
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user