mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
code style.
remove old patches.
This commit is contained in:
@@ -16,14 +16,14 @@ COPYRIGHT="
|
||||
1999-2010 by the authors of Gutenprint
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/gimp-print/gutenprint-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="431f352b412dfb9809d126a85a37a1fcd1c1826275ace8cdcd4fd9a6ee360e59"
|
||||
REVISION="1"
|
||||
PATCHES="gutenprint-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="gutenprint-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
gutenprint$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:escputil$secondaryArchSuffix = $portVersion compat >= 5
|
||||
@@ -33,6 +33,15 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gutenprint${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libgutenprint$secondaryArchSuffix = 2.3.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gutenprint$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -53,7 +62,6 @@ PATCH()
|
||||
sed -i '/#define DECLARE_MODEUSES.*/ {N;N;N;N;N; s/#define DECLARE_MODEUSES.*\}/#define DECLARE_MODEUSES(name) static const canon_modeuselist_t name##_modeuselist = \{ #name, sizeof(name##_modeuses) \/ sizeof(canon_modeuse_t), name##_modeuses \}/g}' src/main/canon-media-mode.h
|
||||
}
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
@@ -72,13 +80,3 @@ INSTALL()
|
||||
$developDir \
|
||||
$manDir/man1
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
gutenprint${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libgutenprint$secondaryArchSuffix = 2.3.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gutenprint$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
@@ -16,14 +16,14 @@ COPYRIGHT="
|
||||
1999-2010 by the authors of Gutenprint
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/gimp-print/gutenprint-5.2.9.tar.bz2"
|
||||
CHECKSUM_SHA256="4b27e4f06f32d30271df89ecb6089bb11bcf2caec5f60b0909e083095354bca0"
|
||||
REVISION="1"
|
||||
PATCHES="gutenprint-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="gutenprint-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
gutenprint$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:escputil$secondaryArchSuffix = $portVersion compat >= 5
|
||||
@@ -33,6 +33,15 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gutenprint${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libgutenprint$secondaryArchSuffix = 2.1.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gutenprint$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -46,13 +55,13 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# git doesn't handle correctly multilines with straybackspaces.
|
||||
sed -i '/#define DECLARE_MODEUSES.*/ {N;N;N;N;N; s/#define DECLARE_MODEUSES.*\}/#define DECLARE_MODEUSES(name) static const canon_modeuselist_t name##_modeuselist = \{ #name, sizeof(name##_modeuses) \/ sizeof(canon_modeuse_t), name##_modeuses \}/g}' src/main/canon-media-mode.h
|
||||
}
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
@@ -73,13 +82,3 @@ INSTALL()
|
||||
$developDir \
|
||||
$manDir/man1
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
gutenprint${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libgutenprint$secondaryArchSuffix = 2.1.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gutenprint$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user