aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stellarium-qt4/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2015-01-14 19:02:21 +0800
committerdanfe <danfe@FreeBSD.org>2015-01-14 19:02:21 +0800
commit6a0c8ac570590636aa36b2040774392f2c271d7f (patch)
tree735152797dcd48370e64edbd5aedb42e23ed196f /astro/stellarium-qt4/Makefile
parentdd2714b4257b0b63d84f9702a7a3040eaa6a9301 (diff)
downloadfreebsd-ports-gnome-6a0c8ac570590636aa36b2040774392f2c271d7f.tar.gz
freebsd-ports-gnome-6a0c8ac570590636aa36b2040774392f2c271d7f.tar.zst
freebsd-ports-gnome-6a0c8ac570590636aa36b2040774392f2c271d7f.zip
- Update legacy branch (based on Qt 4.x) to version 0.12.5
- Remove all our patches that were integrated upstream - Prevent Clang 3.5 from generating endless loop by correctly accessing QSharedPointer<T>-wrapped T* data instead of treating it as POD type - Enable high-resolution textures by default (size difference is marginal) - Bid portscout to track 0.12.x versions only from now on - Pacify portlint(1) by moving PKGNAMESUFFIX where it belongs - Register conflicts with 0.13.x package while here
Diffstat (limited to 'astro/stellarium-qt4/Makefile')
-rw-r--r--astro/stellarium-qt4/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/astro/stellarium-qt4/Makefile b/astro/stellarium-qt4/Makefile
index 9a080ae0dcd7..78ebc027ec5d 100644
--- a/astro/stellarium-qt4/Makefile
+++ b/astro/stellarium-qt4/Makefile
@@ -2,19 +2,21 @@
# $FreeBSD$
PORTNAME= stellarium
-PORTVERSION= 0.12.4
-PORTREVISION= 1
+PORTVERSION= 0.12.5
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/Stellarium-sources/${PORTVERSION}
+PKGNAMESUFFIX= -qt4
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${_DISTFILES:Nstars_*.cat\:stars?}
-PKGNAMESUFFIX= -qt4
MAINTAINER= danfe@FreeBSD.org
COMMENT= 3D photo-realistic sky renderer (planetarium)
LICENSE= GPLv2
+CONFLICTS_INSTALL= ${PORTNAME}-0.13.*
+PORTSCOUT= limit:^0\.12\. # track only 0.12.x (legacy)
+
USES= cmake gettext iconv
USE_QT4= moc_build rcc_build uic_build qmake_build \
corelib gui network opengl
@@ -23,7 +25,7 @@ INSTALLS_ICONS= yes
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= MORE_STARS HR_TEXTURES MULTIMEDIA SCRIPTING DOCS
-OPTIONS_DEFAULT= MULTIMEDIA SCRIPTING
+OPTIONS_DEFAULT= MULTIMEDIA SCRIPTING HR_TEXTURES
MORE_STARS_DESC= Install extra star catalogs (1.0GB)
HR_TEXTURES_DESC= Install high-resolution textures
MULTIMEDIA_DESC= Sound and video support (via Phonon)
@@ -66,7 +68,8 @@ PLIST_SUB+= SCRIPTS="@comment "
.endif
post-patch: .SILENT
- ${REINPLACE_CMD} -e '/QTTEST/d' ${WRKSRC}/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|std::free|::free|' \
+ ${WRKSRC}/src/core/renderer/StelQGLInterleavedArrayVertexBufferBackend.cpp
# Avoid picking up the wrong `fixx11h.h' (`x11/kdelibs3' port installs one
# that does not handle FontChange)
${GREP} -Rl --null fixx11h\\.h ${WRKSRC}/src ${WRKSRC}/plugins | \