author | drw <drw> | 2004-03-02 15:53:09 (UTC) |
---|---|---|
committer | drw <drw> | 2004-03-02 15:53:09 (UTC) |
commit | 1e88bf8b55fa51d9b7989930f29f404e5ec50bc1 (patch) (unidiff) | |
tree | ebabdb360606426dfa02df6b32acbf9b5f27977f | |
parent | 270a76fbf653df353476ddf17835d532ceb6b6c2 (diff) | |
download | opie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.zip opie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.tar.gz opie-1e88bf8b55fa51d9b7989930f29f404e5ec50bc1.tar.bz2 |
OpieRec: libopie -> libopie2
-rw-r--r-- | noncore/multimedia/opierec/config.in | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/main.cpp | 4 | ||||
-rw-r--r-- | noncore/multimedia/opierec/opierec.control | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/opierec.pro | 6 |
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 |
15 | int main(int argc, char* argv[]) { | 15 | int 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 | |||
25 | OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) | 27 | OPIE_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 @@ | |||
1 | Package: opierec | 1 | Package: opierec |
2 | Files: bin/opierec pics/opierec apps/Applications/opierec.desktop | 2 | Files: bin/opierec pics/opierec apps/Applications/opierec.desktop |
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/multimedia | 4 | Section: opie/multimedia |
5 | Maintainer: L.J. Potter <lpotter@trolltech.com> | 5 | Maintainer: L.J. Potter <lpotter@trolltech.com> |
6 | Architecture: arm | 6 | Architecture: arm |
7 | Depends: task-opie-minimal | 7 | Depends: task-opie-minimal, libopiecore2 |
8 | Description: audio sampling recorder | 8 | Description: audio sampling recorder |
9 | A simple audio recording/playing application. | 9 | A simple audio recording/playing application. |
10 | Version: $QPE_VERSION$EXTRAVERSION | 10 | Version: $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 |
2 | CONFIG = qt warn_on release opie | 2 | CONFIG = qt warn_on release opie |
3 | #CONFIG = qt warn_on release quick-app | 3 | #CONFIG = qt warn_on release quick-app |
4 | HEADERS = adpcm.h \ | 4 | HEADERS = 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 |
11 | SOURCES = adpcm.c \ | 11 | SOURCES = 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 |
18 | INTERFACES = | 18 | INTERFACES = |
19 | 19 | ||
20 | contains(CONFIG, pdaudio) { | 20 | contains(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 | ||
32 | contains(CONFIG, opie) { | 32 | contains(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 | ||