diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-qt/qt-apps | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-qt/qt-apps')
-rw-r--r-- | meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch | 18 | ||||
-rw-r--r-- | meta/recipes-qt/qt-apps/fotowall_0.9.bb | 31 | ||||
-rw-r--r-- | meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch | 26 | ||||
-rw-r--r-- | meta/recipes-qt/qt-apps/qmmp_0.7.7.bb | 77 | ||||
-rw-r--r-- | meta/recipes-qt/qt-apps/quicky_0.4.bb | 19 |
5 files changed, 171 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch b/meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch new file mode 100644 index 0000000000..d8b2b2347b --- /dev/null +++ b/meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | App/ExportWizard.cpp depends on wizard.h which depends on ui_wizard. The last one | ||
2 | should be already generated before compiling ExportWizard.cpp. | ||
3 | |||
4 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: Fotowall-0.9/App/ExportWizard.cpp | ||
8 | =================================================================== | ||
9 | --- Fotowall-0.9.orig/App/ExportWizard.cpp 2009-11-30 13:21:31.000000000 +0200 | ||
10 | +++ Fotowall-0.9/App/ExportWizard.cpp 2012-05-10 17:12:06.765230830 +0300 | ||
11 | @@ -23,6 +23,7 @@ | ||
12 | #include "imageloaderqt.h" | ||
13 | #include "posterazorcore.h" | ||
14 | #include "wizard.h" | ||
15 | +#include "ui_wizard.h" | ||
16 | |||
17 | #include <QDesktopServices> | ||
18 | #include <QDesktopWidget> | ||
diff --git a/meta/recipes-qt/qt-apps/fotowall_0.9.bb b/meta/recipes-qt/qt-apps/fotowall_0.9.bb new file mode 100644 index 0000000000..48dcc02e2a --- /dev/null +++ b/meta/recipes-qt/qt-apps/fotowall_0.9.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Creative photo display application" | ||
2 | DESCRIPTION = "Fotowall is a creative tool that allows you to layout your photos or pictures \ | ||
3 | in a personal way. You can add pictures, then resize, move, change colors, text, shadows, etc.." | ||
4 | |||
5 | HOMEPAGE = "http://www.enricoros.com/opensource/fotowall" | ||
6 | LICENSE = "GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://GPL_V2;md5=79808397c3355f163c012616125c9e26 \ | ||
8 | file://main.cpp;beginline=6;endline=11;md5=b569acc2bf8974a3082b58fc53b9d8dc" | ||
9 | SECTION = "x11/apps" | ||
10 | |||
11 | PR = "r4" | ||
12 | |||
13 | SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2 \ | ||
14 | file://ExportWizard-depends-on-ui_wizard.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "142ef697332e0777c6d22c5bc96cc438" | ||
18 | SRC_URI[sha256sum] = "e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d" | ||
19 | |||
20 | S = "${WORKDIR}/Fotowall-${PV}" | ||
21 | |||
22 | inherit qt4x11 | ||
23 | |||
24 | EXTRA_QMAKEVARS_PRE = "CONFIG+=no-webcam" | ||
25 | |||
26 | do_install() { | ||
27 | oe_runmake INSTALL_ROOT=${D} install | ||
28 | } | ||
29 | |||
30 | # Ensure we have some plugins for some useful image formats | ||
31 | RRECOMMENDS_${PN} += "qt4-plugin-imageformat-gif qt4-plugin-imageformat-jpeg qt4-plugin-imageformat-tiff" | ||
diff --git a/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch b/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch new file mode 100644 index 0000000000..2bb5bb11cc --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Do not include /usr/include host paths | ||
2 | |||
3 | These were added upstream apparently for freebsd support, but trigger | ||
4 | compiler warnings during the build and could be dangerous, so remove | ||
5 | them. | ||
6 | |||
7 | Upstream-Status: Inappropriate [cross] | ||
8 | |||
9 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
10 | |||
11 | Update patch for version 0.7.4. | ||
12 | |||
13 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
14 | |||
15 | --- qmmp-0.7.4/CMakeLists.txt 2014-01-10 09:59:44.971837746 +0800 | ||
16 | +++ qmmp-0.7.4/CMakeLists.txt.new 2014-01-10 10:24:51.855837566 +0800 | ||
17 | @@ -1,9 +1,5 @@ | ||
18 | cmake_minimum_required(VERSION 2.6.0) | ||
19 | |||
20 | -#freebsd support | ||
21 | -include_directories(SYSTEM /usr/local/include) | ||
22 | -SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} /usr/local/include) | ||
23 | - | ||
24 | #extract version from qmmp.h | ||
25 | FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/src/qmmp/qmmp.h" | ||
26 | QMMP_VERSION_DATA REGEX "^#define[ \t]+QMMP_VERSION_[A-Z]+[ \t]+[0-9]+.*$") | ||
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.7.7.bb b/meta/recipes-qt/qt-apps/qmmp_0.7.7.bb new file mode 100644 index 0000000000..9725b42f66 --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp_0.7.7.bb | |||
@@ -0,0 +1,77 @@ | |||
1 | SUMMARY = "Qt-based Multimedia Player" | ||
2 | DESCRIPTION = "Qmmp is an audio player, written with the help of the Qt library. The user interface is similar to Winamp or XMMS." | ||
3 | HOMEPAGE = "http://qmmp.ylsoftware.com" | ||
4 | LICENSE = "GPLv2" | ||
5 | LICENSE_FLAGS = "commercial" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
7 | SECTION = "multimedia" | ||
8 | |||
9 | DEPENDS = "taglib libmad libvorbis libogg alsa-lib libsndfile1 libsamplerate0 curl" | ||
10 | |||
11 | SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2 \ | ||
12 | file://no-host-paths.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "9376b5d535ed540e97bdff79b42607ae" | ||
16 | SRC_URI[sha256sum] = "dda66bf60121a8a2cb7175b16b3b948099f8c119ee9a11c671555e8c38caa387" | ||
17 | |||
18 | inherit cmake qt4x11 | ||
19 | |||
20 | QMMP_PLUGIN_OPTIONS ??= "\ | ||
21 | -DUSE_MMS:BOOL=FALSE \ | ||
22 | -DUSE_MPC:BOOL=FALSE \ | ||
23 | -DUSE_MODPLUG:BOOL=FALSE \ | ||
24 | -DUSE_WAVPACK:BOOL=FALSE \ | ||
25 | -DUSE_FFMPEG:BOOL=FALSE \ | ||
26 | -DUSE_AAC:BOOL=FALSE \ | ||
27 | -DUSE_CDA:BOOL=FALSE \ | ||
28 | -DUSE_MIDI:BOOL=FALSE \ | ||
29 | -DUSE_GME:BOOL=FALSE \ | ||
30 | -DUSE_OSS4:BOOL=FALSE \ | ||
31 | -DUSE_JACK:BOOL=FALSE \ | ||
32 | -DUSE_BS2B:BOOL=FALSE \ | ||
33 | -DUSE_PROJECTM:BOOL=FALSE \ | ||
34 | -DUSE_ENCA:BOOL=FALSE \ | ||
35 | " | ||
36 | |||
37 | export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ | ||
38 | -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ | ||
39 | -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ | ||
40 | -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ | ||
41 | -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ | ||
42 | -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ | ||
43 | -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ | ||
44 | -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ | ||
45 | ${QMMP_PLUGIN_OPTIONS} \ | ||
46 | " | ||
47 | |||
48 | do_configure() { | ||
49 | # Ensure we get the cmake configure and not qmake | ||
50 | cmake_do_configure | ||
51 | } | ||
52 | |||
53 | PACKAGES_DYNAMIC += "^qmmp-plugin-.* " | ||
54 | |||
55 | python populate_packages_prepend () { | ||
56 | qmmp_libdir = d.expand('${libdir}/qmmp') | ||
57 | gd = d.expand('${D}/${libdir}/qmmp') | ||
58 | plug_dirs = os.listdir(gd) | ||
59 | |||
60 | for plug_dir in plug_dirs: | ||
61 | g_plug_dir = os.path.join(qmmp_libdir,plug_dir) | ||
62 | do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir.lower() + '-%s', 'Qmmp ' + plug_dir + ' plugin for %s') | ||
63 | } | ||
64 | |||
65 | FILES_${PN} = "\ | ||
66 | ${bindir}/qmmp \ | ||
67 | ${libdir}/lib*${SOLIBS} \ | ||
68 | ${datadir}/icons/* \ | ||
69 | ${datadir}/qmmp/images/* \ | ||
70 | ${datadir}/applications/* \ | ||
71 | " | ||
72 | |||
73 | FILES_${PN}-dbg += "\ | ||
74 | ${libdir}/qmmp/*/.debug/* \ | ||
75 | " | ||
76 | |||
77 | RDEPENDS_${PN} += "taglib alsa-lib libmad curl" | ||
diff --git a/meta/recipes-qt/qt-apps/quicky_0.4.bb b/meta/recipes-qt/qt-apps/quicky_0.4.bb new file mode 100644 index 0000000000..bcaa562dbe --- /dev/null +++ b/meta/recipes-qt/qt-apps/quicky_0.4.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "A simple note-taking application with Wiki-style syntax and behaviour" | ||
2 | HOMEPAGE = "http://qt-apps.org/content/show.php/Quicky?content=80325" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://version.h;endline=19;md5=878bdaff438dab86298301fd1a210e14" | ||
5 | SECTION = "x11/apps" | ||
6 | |||
7 | PR = "r2" | ||
8 | |||
9 | SRC_URI = "http://qt-apps.org/CONTENT/content-files/80325-quicky-0.4.tar.gz" | ||
10 | |||
11 | SRC_URI[md5sum] = "824d9e477ee9c4994f73a3cb215161d9" | ||
12 | SRC_URI[sha256sum] = "9c66376e0035d44547612bf629890769a6178c3e7eafbcf95f1c6207ac0f352a" | ||
13 | |||
14 | inherit qt4x11 | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${bindir} | ||
18 | install -m 0755 ${S}/${BPN} ${D}${bindir} | ||
19 | } | ||