You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
3.1 KiB
69 lines
3.1 KiB
15 years ago
|
GARNAME = qt-x11-free
|
||
|
GARVERSION = 3.3.8
|
||
|
CATEGORIES = libs
|
||
|
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
|
||
|
PATCHFILES = auto-license.diff \
|
||
|
0001-dnd_optimization.patch \
|
||
|
0002-dnd_active_window_fix.patch \
|
||
|
0005-qpixmap_mitshm.patch \
|
||
|
0007-qpixmap_constants.patch \
|
||
|
0015-qiconview-finditem.patch \
|
||
|
0016-qiconview-rebuildcontainer.patch \
|
||
|
0017-qiconview-ctrl_rubber.patch \
|
||
|
0020-designer-deletetabs.patch \
|
||
|
0032-fix_rotated_randr.diff \
|
||
|
0035-qvaluelist-streaming-operator.patch \
|
||
|
0036-qprogressbar-optimization.patch \
|
||
|
0038-dragobject-dont-prefer-unknown.patch \
|
||
|
0044-qscrollview-windowactivate-fix.diff \
|
||
|
0046-qiconview-no-useless-scrollbar.diff \
|
||
|
0047-fix-kmenu-width.diff \
|
||
|
0048-qclipboard_hack_80072.patch \
|
||
|
0049-qiconview-rubber_on_move.diff \
|
||
|
0056-khotkeys_input_84434.patch \
|
||
|
0059-qpopup_has_mouse.patch \
|
||
|
0060-qpopup_ignore_mousepos.patch \
|
||
|
0061-qscrollview-propagate-horizontal-wheelevent.patch \
|
||
|
q_export-visibility.diff \
|
||
|
dont-use-includehints.diff \
|
||
|
0073-xinerama-aware-qpopup.patch \
|
||
|
0076-fix-qprocess.diff \
|
||
|
0077-utf8-decoder-fixes.diff
|
||
|
|
||
|
MASTER_SITES = ftp://ftp.trolltech.com/qt/source/
|
||
|
|
||
|
DESCRIPTION = qt-x11-free
|
||
|
|
||
|
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
|
||
|
BUILD_SCRIPTS = $(WORKSRC)/Makefile
|
||
|
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
|
||
|
|
||
|
include ../../gar.conf.mk
|
||
|
ifdef HAVE_QT_3_3_INSTALLED
|
||
|
all_commands clean fetch checksum extract patch configure build install:
|
||
|
@echo Variable HAVE_QT_3_3_INSTALLED is set, skipping \"$@\" for $(GARNAME)
|
||
|
else
|
||
|
include ../category.mk
|
||
|
endif
|
||
|
|
||
|
CONFIGURE_ENV = QTDIR=$(shell pwd)/$(WORKSRC) LD_LIBRARY_PATH=$(shell pwd)/$(WORKSRC)/lib:$(LD_LIBRARY_PATH)
|
||
|
BUILD_ENV = QTDIR=$(shell pwd)/$(WORKSRC) LD_LIBRARY_PATH=$(shell pwd)/$(WORKSRC)/lib:$(LD_LIBRARY_PATH)
|
||
|
INSTALL_ENV = QTDIR=$(shell pwd)/$(WORKSRC)
|
||
|
|
||
|
CONFIGURE_ARGS = -platform $(TARGET_PLATFORM) -prefix $(prefix) -libdir $(libdir) -system-zlib -qt-gif -system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-exceptions -no-fast
|
||
|
BUILD_ARGS = -j1 sub-tools
|
||
|
|
||
|
pre-configure:
|
||
|
@if test -z "$(CXX)"; then : ; else \
|
||
|
sed "s#= g++#= $(CXX)#" $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf > $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp; \
|
||
|
mv $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf; \
|
||
|
fi
|
||
|
@if test -z "$(CC)"; then : ; else \
|
||
|
sed "s#= gcc#= $(CC)#" $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf > $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp; \
|
||
|
mv $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf; \
|
||
|
fi
|
||
|
sed "s#= -O2#= $(OWN_CFLAGS)#" $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf | \
|
||
|
sed "s#/usr/X11R6#$(TARGET_X11)#g" > $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp;
|
||
|
mv $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf.tmp $(WORKSRC)/mkspecs/$(TARGET_PLATFORM)/qmake.conf;
|
||
|
$(MAKECOOKIE)
|