|
|
@ -2,16 +2,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
PKGNAME= trinity-tqt3-${VERSION}
|
|
|
|
PKGNAME= trinity-tqt3-${VERSION}
|
|
|
|
VERSION= 3.5.0${PREVERSION}
|
|
|
|
VERSION= 3.5.0${PREVERSION}
|
|
|
|
PREVERSION= ~pre221+117b166c
|
|
|
|
PREVERSION=
|
|
|
|
|
|
|
|
|
|
|
|
COMMENT= C++ X11 GUI toolkit
|
|
|
|
COMMENT= C++ X11 GUI toolkit
|
|
|
|
CATEGORIES= x11/trinity/dependencies
|
|
|
|
CATEGORIES= x11/trinity/dependencies
|
|
|
|
HOMEPAGE= http://www.trinitydesktop.org/
|
|
|
|
HOMEPAGE= http://www.trinitydesktop.org/
|
|
|
|
MAINTAINER= François Andriot <francois.andriot@free.fr>
|
|
|
|
MAINTAINER= François Andriot <francois.andriot@free.fr>
|
|
|
|
|
|
|
|
|
|
|
|
MASTER_SITES= http://nuc.vtf/tde/tde-tarballs/14.0.0/main/dependencies/
|
|
|
|
MASTER_SITES= http://ppa2.quickbuild.pearsoncomputing.net/redirect.php?file=releases/R14.0.0/dependencies/
|
|
|
|
DISTNAME= trinity-tqt3-${TDE_VERSION}${PREVERSION}
|
|
|
|
DISTNAME= tqt3-R${TDE_VERSION}${PREVERSION}
|
|
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/dependencies/tqt3
|
|
|
|
|
|
|
|
|
|
|
|
PREFIX= ${LOCALBASE}
|
|
|
|
PREFIX= ${LOCALBASE}
|
|
|
|
|
|
|
|
|
|
|
@ -77,7 +78,7 @@ CONFIGURE_ARGS+= -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql -plugin-s
|
|
|
|
.else
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=-no-sql-mysql
|
|
|
|
CONFIGURE_ARGS+=-no-sql-mysql
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
LIB_DEPENDS-mysql= ${LIB_DEPENDS} ${BUILD_PKGPATH} databases/mysql
|
|
|
|
LIB_DEPENDS-mysql= ${LIB_DEPENDS} ${BUILD_PKGPATH} databases/mariadb
|
|
|
|
WANTLIB-mysql= ${WANTLIB} mysqlclient tqt-mt
|
|
|
|
WANTLIB-mysql= ${WANTLIB} mysqlclient tqt-mt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -155,7 +156,7 @@ CONFIGURE_ENV= QTDIR="${WRKSRC}" \
|
|
|
|
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
post-patch:
|
|
|
|
# fix variables in 'qmake.conf'
|
|
|
|
# fix variables in 'qmake.conf'
|
|
|
|
gsed -i ${WRKDIST}/mkspecs/*/qmake.conf \
|
|
|
|
gsed -i "${WRKDIST}/mkspecs/"*"/qmake.conf" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = /usr/local/include/tqt3|" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = /usr/local/include/tqt3|" \
|
|
|
|
-e "s|\$\(QTDIR\)|${LOCALBASE}|g" \
|
|
|
|
-e "s|\$\(QTDIR\)|${LOCALBASE}|g" \
|
|
|
|
-e "s|-lqt|-ltqt|g" \
|
|
|
|
-e "s|-lqt|-ltqt|g" \
|
|
|
@ -169,9 +170,11 @@ post-patch:
|
|
|
|
-e "s|^QMAKE_UIC =.*|QMAKE_UIC = ${LOCALBASE}/bin/tquic|" \
|
|
|
|
-e "s|^QMAKE_UIC =.*|QMAKE_UIC = ${LOCALBASE}/bin/tquic|" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = ${LOCALBASE}/include/tqt3|" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = ${LOCALBASE}/include/tqt3|" \
|
|
|
|
-e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = ${LOCALBASE}/lib|"
|
|
|
|
-e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = ${LOCALBASE}/lib|"
|
|
|
|
gsed -i ${WRKDIST}/mkspecs/openbsd-g++/qmake.conf \
|
|
|
|
gsed -i "${WRKDIST}/mkspecs/openbsd-g++/qmake.conf" \
|
|
|
|
-e "s|^QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME =|" \
|
|
|
|
-e "s|^QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME =|" \
|
|
|
|
-e "s|^CONFIG += qt warn_on release link_prl|CONFIG += qt warn_on release link_prl thread|"
|
|
|
|
-e "s|^CONFIG += qt warn_on release link_prl|CONFIG += qt warn_on release link_prl thread|"
|
|
|
|
|
|
|
|
gsed -i "${WRKDIST}/src/kernel/ntqstyle.h" \
|
|
|
|
|
|
|
|
-e "s|#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
|
|
|
|
echo "QMAKE_OPENBSD_SHLIBS = 1" >>"${WRKDIST}/mkspecs/openbsd-g++/qmake.conf"
|
|
|
|
echo "QMAKE_OPENBSD_SHLIBS = 1" >>"${WRKDIST}/mkspecs/openbsd-g++/qmake.conf"
|
|
|
|
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
do-configure:
|
|
|
|