summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-06 06:49:30 (UTC)
committer kergoth <kergoth>2002-11-06 06:49:30 (UTC)
commit6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8 (patch) (side-by-side diff)
tree1212d1fe28e79557cf04d3a187bc1e830f5b642d
parent915029461454cd28ee312948bbe7b4565d2173c0 (diff)
downloadopie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.zip
opie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.tar.gz
opie-6d8419ef1b9f3f8f5599254d7a005b6a7ea5f5a8.tar.bz2
Set libmpeg compile params .. converting configure script stuffs over
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmpeg3/libmpeg3.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro b/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
index a465f8a..586bb1c 100644
--- a/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
+++ b/core/multimedia/opieplayer/libmpeg3/libmpeg3.pro
@@ -1,16 +1,20 @@
+QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DHAVE_MMX -DHAVE_CSS) \
+ $(if $(CONFIG_TARGET_IPAQ),-DUSE_FIXED_POINT) \
+ $(if $(CONFIG_TARGET_SHARP),-DUSE_FIXED_POINT)
+QMAKE_CC = $(CXX)
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = libmpeg3plugin.h libmpeg3pluginimpl.h
-SOURCES = libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
+SOURCES = $(if $(CONFIG_TARGET_X86),video/mmxidct.S video/reconmmx.s) libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
bitstream.c \
libmpeg3.c \
mpeg3atrack.c \
mpeg3css.c \
mpeg3demux.c \
mpeg3io.c \
mpeg3title.c \
mpeg3vtrack.c \
audio/ac3.c \
audio/bit_allocation.c \
audio/dct.c \
audio/exponents.c \
@@ -26,25 +30,25 @@ SOURCES = libmpeg3plugin.cpp libmpeg3pluginimpl.cpp \
video/headers.c \
video/idct.c \
video/macroblocks.c \
video/mmxtest.c \
video/motion.c \
video/mpeg3video.c \
video/output.c \
video/reconstruct.c \
video/seek.c \
video/slice.c \
video/vlc.c
TARGET = mpeg3plugin
-TMAKE_CC=g++
+TMAKE_CC=$(CXX)
DESTDIR = $(OPIEDIR)/plugins/codecs
INCLUDEPATH += $(OPIEDIR)/include ..
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe -lpthread -lm
VERSION = 1.0.0
TRANSLATIONS = ../../../../i18n/de/libmpeg3plugin.ts \
../../../../i18n/en/libmpeg3plugin.ts \
../../../../i18n/es/libmpeg3plugin.ts \
../../../../i18n/fr/libmpeg3plugin.ts \
../../../../i18n/hu/libmpeg3plugin.ts \
../../../../i18n/ja/libmpeg3plugin.ts \