mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
70 lines
1.6 KiB
Bash
70 lines
1.6 KiB
Bash
SUMMARY="A fast, high-quality magnification filter designed for pixel art"
|
|
DESCRIPTION="hqx ('hq' stands for 'high quality' and 'x' stands for \
|
|
magnification) is one of the pixel art scaling algorithms developed by \
|
|
Maxim Stepin."
|
|
HOMEPAGE="https://github.com/grom358/hqx"
|
|
COPYRIGHT="2003 Maxim Stepin
|
|
2010 Cameron Zemek"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hqx/hqx-1.1.tar.gz"
|
|
CHECKSUM_SHA256="cc18f571fb4bc325317892e39ecd5711c4901831926bc93296de9ebb7b2f317b"
|
|
PATCHES="hqx-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
hqx$secondaryArchSuffix = $portVersion
|
|
cmd:hqx$secondaryArchSuffix = $portVersion
|
|
lib:libhqx$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libIL$secondaryArchSuffix
|
|
lib:libjasper$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libmng$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
hqx${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libhqx$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
hqx$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libIL$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libhqx
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|