mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/qt3: New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
432b92eaf8
commit
0b64b64e49
2 changed files with 7 additions and 5 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
|
||||
|
||||
# Copyright 2006, 2007, 2008 Patrick J. Volkerding, Sebeka, MN, USA
|
||||
# All rights reserved.
|
||||
# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||
|
@ -85,10 +87,10 @@ sed -i "/#define QT_BUILTIN_GIF_READER/s|0|1|" src/kernel/qgif.h
|
|||
# Fix location of mysql.h
|
||||
sed -i "s|mysql\.h|mysql/mysql\.h|" src/sql/drivers/mysql/qsql_mysql.h
|
||||
|
||||
# Build with libpng 1.4:
|
||||
# Build with libpng 1.4+:
|
||||
patch -lp0 < $CWD/qt3-libpng14.diff
|
||||
|
||||
# Patch for gcc-4.7 (based on info from LFS)
|
||||
# Patch for gcc-4.7+ (based on info from LFS)
|
||||
patch -p1 < $CWD/qt3_gcc47.patch
|
||||
|
||||
# Make sure ownerships and permissions are sane:
|
||||
|
@ -167,7 +169,7 @@ cat $CWD/profile.d/qt.csh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
|
|||
chmod 755 $PKG/etc/profile.d/*
|
||||
|
||||
# Strip binaries:
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# Make links to the qt3 binaries
|
||||
|
|
|
@ -6,5 +6,5 @@ MD5SUM="9f05b4125cfe477cc52c9742c3c09009"
|
|||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Niels Horn"
|
||||
EMAIL="niels.horn@gmail.com"
|
||||
MAINTAINER="Ryan P.C. McQuen"
|
||||
EMAIL="ryan.q@linux.com"
|
||||
|
|
Loading…
Reference in a new issue