Commit 1e822b94 authored by abveritas's avatar abveritas
Browse files

qt5 and mariadb updated, merge 3 mariadb PKGBUILD's in one

parent 295fe11c
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contirbutor Michael Haesel <michael DOT haesel AT gmail DOT com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=libmariadbclient
_pkgname=mariadb
pkgdesc="MariaDB client libraries"
pkgver=5.5.28.a
_pkgver=${pkgver/.a/a}
pkgrel=1
arch=('x86_64')
license=('GPL')
url="http://mariadb.org/"
makedepends=('cmake' 'openssl' 'zlib')
depends=('openssl')
conflicts=('libmysqlclient')
provides=("libmysqlclient=${_pkgver}")
options=('!libtool')
source=("http://mirrors.supportex.net/${_pkgname}/${_pkgname}-${_pkgver}/kvm-tarbake-jaunty-x86/${_pkgname}-${_pkgver}.tar.gz")
sha256sums=('66c908592763c641f2a1e9fd83f080458a0d3375cda9aaf7700a37877b1e9968')
build() {
cd "${srcdir}"
mkdir build
cd build
# CFLAGS/CXXFLAGS as suggested upstream
CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
cmake ../${_pkgname}-${_pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/var/lib/mysql \
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DENABLED_LOCAL_INFILE=ON \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_MANDIR=share/man \
-DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \
-DINSTALL_SCRIPTDIR=bin \
-DINSTALL_INCLUDEDIR=include/mysql \
-DINSTALL_DOCREADMEDIR=share/mysql \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DINSTALL_MYSQLSHAREDIR=share/mysql \
-DINSTALL_DOCDIR=share/mysql/docs \
-DINSTALL_SHAREDIR=share/mysql \
-DWITH_READLINE=ON \
-DWITH_ZLIB=system \
-DWITH_SSL=system \
-DWITH_LIBWRAP=OFF \
-DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \
-DWITH_EXTRA_CHARSETS=complex \
-DWITH_EMBEDDED_SERVER=ON \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_PBXT_STORAGE_ENGINE=1 \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \
-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITHOUT_FEDERATED_STORAGE_ENGINE=1
make
}
package() {
cd "${srcdir}"/build
for dir in include libmysql libmysqld libservices; do
make -C ${dir} DESTDIR="${pkgdir}" install
done
install -d "${pkgdir}"/usr/bin
install -m755 scripts/mysql_config "${pkgdir}"/usr/bin/
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql_config mysql_client_test_embedded mysqltest_embedded; do
install -m644 "${srcdir}"/${_pkgname}-${_pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
}
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Michael Haesel <michael DOT haesel AT gmail DOT com>
# contributor Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=mariadb-clients
_pkgname=mariadb
pkgdesc="MariaDB client tools"
pkgver=5.5.28.a
_pkgver=${pkgver/.a/a}
pkgrel=1
arch=('x86_64')
license=('GPL')
url="http://mariadb.org/"
makedepends=('cmake' 'openssl' 'zlib')
depends=('libmariadbclient')
conflicts=('mysql-clients')
provides=("mysql-clients=${_pkgver}")
options=('!libtool')
source=("http://mirrors.supportex.net/${_pkgname}/${_pkgname}-${_pkgver}/kvm-tarbake-jaunty-x86/${_pkgname}-${_pkgver}.tar.gz")
sha256sums=('66c908592763c641f2a1e9fd83f080458a0d3375cda9aaf7700a37877b1e9968')
build() {
cd "${srcdir}"
mkdir build
cd build
# CFLAGS/CXXFLAGS as suggested upstream
CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
cmake ../${_pkgname}-${_pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/var/lib/mysql \
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DENABLED_LOCAL_INFILE=ON \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_MANDIR=share/man \
-DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \
-DINSTALL_SCRIPTDIR=bin \
-DINSTALL_INCLUDEDIR=include/mysql \
-DINSTALL_DOCREADMEDIR=share/mysql \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DINSTALL_MYSQLSHAREDIR=share/mysql \
-DINSTALL_DOCDIR=share/mysql/docs \
-DINSTALL_SHAREDIR=share/mysql \
-DWITH_READLINE=ON \
-DWITH_ZLIB=system \
-DWITH_SSL=system \
-DWITH_LIBWRAP=OFF \
-DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \
-DWITH_EXTRA_CHARSETS=complex \
-DWITH_EMBEDDED_SERVER=ON \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_PBXT_STORAGE_ENGINE=1 \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \
-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITHOUT_FEDERATED_STORAGE_ENGINE=1
make
}
package() {
cd "${srcdir}"/build
make -C client DESTDIR="${pkgdir}" install
# install man pages
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap; do
install -m644 "${srcdir}"/${_pkgname}-${_pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
# provided by mariadb
rm "${pkgdir}"/usr/bin/{mysql_{plugin,upgrade},mysqlbinlog,mysqltest}
}
......@@ -4,39 +4,30 @@
# contributor Michael Haesel <michael DOT haesel AT gmail DOT com>
# contributor Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=mariadb
pkgdesc="A fast SQL database server, drop-in replacement for MySQL"
pkgver=5.5.28.a
_pkgver=${pkgver/.a/a}
pkgbase=mariadb
pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb')
pkgver=5.5.29
pkgrel=1
arch=('x86_64')
license=('GPL')
url="http://mariadb.org/"
backup=('etc/mysql/my.cnf')
makedepends=('cmake' 'openssl' 'zlib')
depends=('mariadb-clients')
optdepends=('perl-dbi' 'perl-dbd-mysql')
conflicts=('mysql')
provides=("mysql=${_pkgver}")
install=${pkgname}.install
options=('!libtool' 'emptydirs')
source=("http://mirrors.supportex.net/${pkgname}/${pkgname}-${_pkgver}/kvm-tarbake-jaunty-x86/${pkgname}-${_pkgver}.tar.gz"
source=("http://mirrors.supportex.net/${pkgbase}/${pkgbase}-${pkgver}/kvm-tarbake-jaunty-x86/${pkgbase}-${pkgver}.tar.gz"
'mariadb.service'
'mariadb.tmpfiles')
sha256sums=('66c908592763c641f2a1e9fd83f080458a0d3375cda9aaf7700a37877b1e9968'
sha256sums=('b0e25b5451dbf8e8c8bf243bbd0aeb264db0da2caceafc7e2c9fad77b8d4be74'
'ef3524c227ce0219e511fd4f3e17ec869fcde7ebf653d21e53bbf4d543cfcc20'
'51ac45bce09f408d305dd770d75c7893e9f7612d9cf223a30aa22967dd7738de')
build() {
cd "${srcdir}"
mkdir build
#mkdir build
cd build
# CFLAGS/CXXFLAGS as suggested upstream
CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
cmake ../${pkgname}-${_pkgver} \
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
......@@ -73,7 +64,54 @@ build() {
make
}
package() {
package_libmariadbclient(){
pkgdesc="MariaDB client libraries"
depends=('openssl')
conflicts=('libmysqlclient')
provides=("libmysqlclient=${pkgver}")
cd "${srcdir}"/build
for dir in include libmysql libmysqld libservices; do
make -C ${dir} DESTDIR="${pkgdir}" install
done
install -d "${pkgdir}"/usr/bin
install -m755 scripts/mysql_config "${pkgdir}"/usr/bin/
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql_config mysql_client_test_embedded mysqltest_embedded; do
install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
}
package_mariadb-clients() {
pkgdesc="MariaDB client tools"
depends=('libmariadbclient')
conflicts=('mysql-clients')
provides=("mysql-clients=${pkgver}")
cd "${srcdir}"/build
make -C client DESTDIR="${pkgdir}" install
# install man pages
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap; do
install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
# provided by mariadb
rm "${pkgdir}"/usr/bin/{mysql_{plugin,upgrade},mysqlbinlog,mysqltest}
}
package_mariadb() {
pkgdesc="A fast SQL database server, drop-in replacement for MySQL"
backup=('etc/mysql/my.cnf')
install=mariadb.install
depends=('mariadb-clients')
conflicts=('mysql')
provides=("mysql=${pkgver}")
optdepends=('perl-dbi' 'perl-dbd-mysql')
options=('emptydirs')
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
......
......@@ -5,9 +5,9 @@
pkgbase=qt5
pkgname=('qt5')
pkgver=5.0.0
_pkgver=5.0.0
pkgrel=4
pkgver=5.0.1
_pkgver=5.0.1
pkgrel=1
arch=('x86_64')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
......@@ -24,7 +24,7 @@ source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/single/qt-everywhe
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop'
'youtubeview.desktop' 'flickrview.desktop' 'browser.desktop' 'fancybrowser.desktop' 'qmlviewer.desktop'
'defaultbookmarks_new.diff')
md5sums=('6b4f2f3f1e6252fbce3a57ac5165baff'
md5sums=('00a577bd88e682d1b4d01d41d1d699cf'
'fc211414130ab2764132e7370f8e5caa'
'85179f5e0437514f8639957e1d8baf62'
'f11852b97583610f3dbb669ebc3e21bc'
......@@ -38,7 +38,7 @@ md5sums=('6b4f2f3f1e6252fbce3a57ac5165baff'
build() {
cd $srcdir/$_pkgfqn
patch -p0 -i "$srcdir/defaultbookmarks_new.diff"
patch -p1 -i "$srcdir/defaultbookmarks_new.diff"
unset QTDIR
export PATH="$PWD/qtbase/bin:$PWD/qtrepotools/bin:$PATH"
......@@ -48,6 +48,7 @@ build() {
-system-sqlite \
-openssl-linked \
-nomake demos \
-nomake tests \
-nomake examples \
-nomake docs \
-optimized-qmake \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment