summaryrefslogtreecommitdiff
authordrw <drw>2004-03-02 15:53:09 (UTC)
committer drw <drw>2004-03-02 15:53:09 (UTC)
commit1e88bf8b55fa51d9b7989930f29f404e5ec50bc1 (patch) (unidiff)
treeebabdb360606426dfa02df6b32acbf9b5f27977f
parent270a76fbf653df353476ddf17835d532ceb6b6c2 (diff)
downloadopie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.zip
opie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.tar.gz
opie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.tar.bz2
OpieRec: libopie -> libopie2
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/config.in2
-rw-r--r--noncore/multimedia/opierec/main.cpp4
-rw-r--r--noncore/multimedia/opierec/opierec.control2
-rw-r--r--noncore/multimedia/opierec/opierec.pro6
4 files changed, 8 insertions, 6 deletions
diff --git a/noncore/multimedia/opierec/config.in b/noncore/multimedia/opierec/config.in
index fe195bc..36a87c9 100644
--- a/noncore/multimedia/opierec/config.in
+++ b/noncore/multimedia/opierec/config.in
@@ -1,4 +1,4 @@
1 config OPIEREC 1 config OPIEREC
2 boolean "opie-rec (simple audio recording/playing app)" 2 boolean "opie-rec (simple audio recording/playing app)"
3 default "n" 3 default "n"
4 depends ( LIBQPE || LIBQPE-X11 ) 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
diff --git a/noncore/multimedia/opierec/main.cpp b/noncore/multimedia/opierec/main.cpp
index 74a175b..bb51446 100644
--- a/noncore/multimedia/opierec/main.cpp
+++ b/noncore/multimedia/opierec/main.cpp
@@ -1,29 +1,31 @@
1/*************************************************************************** 1/***************************************************************************
2 main.cpp - main routine 2 main.cpp - main routine
3 ***************************************************************************/ 3 ***************************************************************************/
4//// main.cpp 4//// main.cpp
5//// copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com> 5//// copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com>
6/*************************************************************************** 6/***************************************************************************
7 * This program is free software; you can redistribute it and/or modify * 7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by * 8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or * 9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. * 10 * (at your option) any later version. *
11 ***************************************************************************/ 11 ***************************************************************************/
12#include "qtrec.h" 12#include "qtrec.h"
13 13
14#ifdef PDAUDIO 14#ifdef PDAUDIO
15int main(int argc, char* argv[]) { 15int main(int argc, char* argv[]) {
16 QPEApplication a(argc, argv); 16 QPEApplication a(argc, argv);
17 QtRec qtrec; 17 QtRec qtrec;
18 a.showMainWidget( &qtrec); 18 a.showMainWidget( &qtrec);
19 return a.exec(); 19 return a.exec();
20} 20}
21 21
22 22
23#else 23#else
24#include <opie/oapplicationfactory.h> 24
25#include <opie2/oapplicationfactory.h>
26
25OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) 27OPIE_EXPORT_APP( OApplicationFactory<QtRec> )
26 28
27#endif 29#endif
28 30
29 31
diff --git a/noncore/multimedia/opierec/opierec.control b/noncore/multimedia/opierec/opierec.control
index eb7e5d1..5ac3513 100644
--- a/noncore/multimedia/opierec/opierec.control
+++ b/noncore/multimedia/opierec/opierec.control
@@ -1,10 +1,10 @@
1Package: opierec 1Package: opierec
2Files: bin/opierec pics/opierec apps/Applications/opierec.desktop 2Files: bin/opierec pics/opierec apps/Applications/opierec.desktop
3Priority: optional 3Priority: optional
4Section: opie/multimedia 4Section: opie/multimedia
5Maintainer: L.J. Potter <lpotter@trolltech.com> 5Maintainer: L.J. Potter <lpotter@trolltech.com>
6Architecture: arm 6Architecture: arm
7Depends: task-opie-minimal 7Depends: task-opie-minimal, libopiecore2
8Description: audio sampling recorder 8Description: audio sampling recorder
9 A simple audio recording/playing application. 9 A simple audio recording/playing application.
10Version: $QPE_VERSION$EXTRAVERSION 10Version: $QPE_VERSION$EXTRAVERSION
diff --git a/noncore/multimedia/opierec/opierec.pro b/noncore/multimedia/opierec/opierec.pro
index 8b06edb..6393252 100644
--- a/noncore/multimedia/opierec/opierec.pro
+++ b/noncore/multimedia/opierec/opierec.pro
@@ -1,41 +1,41 @@
1#CONFIG = qt qtopia warn_on release pdaudio 1#CONFIG = qt qtopia warn_on release pdaudio
2CONFIG = qt warn_on release opie 2CONFIG = qt warn_on release opie
3#CONFIG = qt warn_on release quick-app 3#CONFIG = qt warn_on release quick-app
4HEADERS = adpcm.h \ 4HEADERS = adpcm.h \
5 pixmaps.h \ 5 pixmaps.h \
6 helpwindow.h \ 6 helpwindow.h \
7 qtrec.h \ 7 qtrec.h \
8 device.h \ 8 device.h \
9 wavFile.h \ 9 wavFile.h \
10 waveform.h 10 waveform.h
11SOURCES = adpcm.c \ 11SOURCES = adpcm.c \
12 helpwindow.cpp \ 12 helpwindow.cpp \
13 main.cpp \ 13 main.cpp \
14 qtrec.cpp \ 14 qtrec.cpp \
15 device.cpp \ 15 device.cpp \
16 wavFile.cpp \ 16 wavFile.cpp \
17 waveform.cpp 17 waveform.cpp
18INTERFACES = 18INTERFACES =
19 19
20contains(CONFIG, pdaudio) { 20contains(CONFIG, pdaudio) {
21# LIBS += -L/opt/buildroot-opie/output/staging/target/lib -lqpe -lpthread -ljpeg -lpng -lz 21# LIBS += -L/opt/buildroot-opie/output/staging/target/lib -lqpe -lpthread -ljpeg -lpng -lz
22 LIBS += -L$(QPEDIR)/lib -lqpe -lpthread -ljpeg -lpng -lz 22 LIBS += -L$(QPEDIR)/lib -lqpe -lpthread -ljpeg -lpng -lz -lopiecore2
23 INCLUDEPATH += $(QPEDIR)/include 23 INCLUDEPATH += $(QPEDIR)/include
24 DEPENDPATH += $(QPEDIR)/include 24 DEPENDPATH += $(QPEDIR)/include
25 DEFINES += PDAUDIO 25 DEFINES += PDAUDIO
26 DEFINES += THREADED 26 DEFINES += THREADED
27 TARGET = qperec 27 TARGET = qperec
28 28
29# DESTDIR=$(QPEDIR)/bin 29# DESTDIR=$(QPEDIR)/bin
30} 30}
31 31
32contains(CONFIG, opie) { 32contains(CONFIG, opie) {
33 INCLUDEPATH += $(OPIEDIR)/include 33 INCLUDEPATH += $(OPIEDIR)/include
34 DEPENDPATH += $(OPIEDIR)/include 34 DEPENDPATH += $(OPIEDIR)/include
35 DESTDIR=$(OPIEDIR)/bin 35 DESTDIR=$(OPIEDIR)/bin
36 LIBS += -lqpe -lpthread 36 LIBS += -lqpe -lopiecore2 -lpthread
37 TARGET = opierec 37 TARGET = opierec
38 include ( $(OPIEDIR)/include.pro ) 38 include ( $(OPIEDIR)/include.pro )
39} 39}
40 40
41 41