From f4cf9fe05bb3f32fabea4e54dd92d368967a80da Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 14:36:22 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- .../ExportWizard-depends-on-ui_wizard.patch | 18 +++++ meta/recipes-qt/qt-apps/fotowall_0.9.bb | 31 +++++++++ meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch | 26 ++++++++ meta/recipes-qt/qt-apps/qmmp_0.7.5.bb | 77 ++++++++++++++++++++++ meta/recipes-qt/qt-apps/quicky_0.4.bb | 19 ++++++ 5 files changed, 171 insertions(+) create mode 100644 meta/recipes-qt/qt-apps/fotowall/ExportWizard-depends-on-ui_wizard.patch create mode 100644 meta/recipes-qt/qt-apps/fotowall_0.9.bb create mode 100644 meta/recipes-qt/qt-apps/qmmp/no-host-paths.patch create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.7.5.bb create mode 100644 meta/recipes-qt/qt-apps/quicky_0.4.bb (limited to 'meta/recipes-qt/qt-apps') 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 @@ +App/ExportWizard.cpp depends on wizard.h which depends on ui_wizard. The last one +should be already generated before compiling ExportWizard.cpp. + +Signed-off-by: Andrei Gherzan +Upstream-Status: Pending + +Index: Fotowall-0.9/App/ExportWizard.cpp +=================================================================== +--- Fotowall-0.9.orig/App/ExportWizard.cpp 2009-11-30 13:21:31.000000000 +0200 ++++ Fotowall-0.9/App/ExportWizard.cpp 2012-05-10 17:12:06.765230830 +0300 +@@ -23,6 +23,7 @@ + #include "imageloaderqt.h" + #include "posterazorcore.h" + #include "wizard.h" ++#include "ui_wizard.h" + + #include + #include 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 @@ +SUMMARY = "Creative photo display application" +DESCRIPTION = "Fotowall is a creative tool that allows you to layout your photos or pictures \ +in a personal way. You can add pictures, then resize, move, change colors, text, shadows, etc.." + +HOMEPAGE = "http://www.enricoros.com/opensource/fotowall" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://GPL_V2;md5=79808397c3355f163c012616125c9e26 \ + file://main.cpp;beginline=6;endline=11;md5=b569acc2bf8974a3082b58fc53b9d8dc" +SECTION = "x11/apps" + +PR = "r4" + +SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2 \ + file://ExportWizard-depends-on-ui_wizard.patch \ + " + +SRC_URI[md5sum] = "142ef697332e0777c6d22c5bc96cc438" +SRC_URI[sha256sum] = "e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d" + +S = "${WORKDIR}/Fotowall-${PV}" + +inherit qt4x11 + +EXTRA_QMAKEVARS_PRE = "CONFIG+=no-webcam" + +do_install() { + oe_runmake INSTALL_ROOT=${D} install +} + +# Ensure we have some plugins for some useful image formats +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 @@ +Do not include /usr/include host paths + +These were added upstream apparently for freebsd support, but trigger +compiler warnings during the build and could be dangerous, so remove +them. + +Upstream-Status: Inappropriate [cross] + +Signed-off-by: Paul Eggleton + +Update patch for version 0.7.4. + +Signed-off-by: Kai Kang + +--- qmmp-0.7.4/CMakeLists.txt 2014-01-10 09:59:44.971837746 +0800 ++++ qmmp-0.7.4/CMakeLists.txt.new 2014-01-10 10:24:51.855837566 +0800 +@@ -1,9 +1,5 @@ + cmake_minimum_required(VERSION 2.6.0) + +-#freebsd support +-include_directories(SYSTEM /usr/local/include) +-SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} /usr/local/include) +- + #extract version from qmmp.h + FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/src/qmmp/qmmp.h" + QMMP_VERSION_DATA REGEX "^#define[ \t]+QMMP_VERSION_[A-Z]+[ \t]+[0-9]+.*$") diff --git a/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb new file mode 100644 index 0000000000..910e7c2b31 --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp_0.7.5.bb @@ -0,0 +1,77 @@ +SUMMARY = "Qt-based Multimedia Player" +DESCRIPTION = "Qmmp is an audio player, written with the help of the Qt library. The user interface is similar to Winamp or XMMS." +HOMEPAGE = "http://qmmp.ylsoftware.com" +LICENSE = "GPLv2" +LICENSE_FLAGS = "commercial" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +SECTION = "multimedia" + +DEPENDS = "taglib libmad libvorbis libogg alsa-lib libsndfile1 libsamplerate0 curl" + +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2 \ + file://no-host-paths.patch \ + " + +SRC_URI[md5sum] = "dcc3c9ecd4dfbf0ced91c59cb894d460" +SRC_URI[sha256sum] = "6066aea939813667dae7cf32ff1d6eb9913894977d132c2cd729fea22d24cf67" + +inherit cmake qt4x11 + +QMMP_PLUGIN_OPTIONS ??= "\ + -DUSE_MMS:BOOL=FALSE \ + -DUSE_MPC:BOOL=FALSE \ + -DUSE_MODPLUG:BOOL=FALSE \ + -DUSE_WAVPACK:BOOL=FALSE \ + -DUSE_FFMPEG:BOOL=FALSE \ + -DUSE_AAC:BOOL=FALSE \ + -DUSE_CDA:BOOL=FALSE \ + -DUSE_MIDI:BOOL=FALSE \ + -DUSE_GME:BOOL=FALSE \ + -DUSE_OSS4:BOOL=FALSE \ + -DUSE_JACK:BOOL=FALSE \ + -DUSE_BS2B:BOOL=FALSE \ + -DUSE_PROJECTM:BOOL=FALSE \ + -DUSE_ENCA:BOOL=FALSE \ + " + +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ + ${QMMP_PLUGIN_OPTIONS} \ + " + +do_configure() { + # Ensure we get the cmake configure and not qmake + cmake_do_configure +} + +PACKAGES_DYNAMIC += "^qmmp-plugin-.* " + +python populate_packages_prepend () { + qmmp_libdir = d.expand('${libdir}/qmmp') + gd = d.expand('${D}/${libdir}/qmmp') + plug_dirs = os.listdir(gd) + + for plug_dir in plug_dirs: + g_plug_dir = os.path.join(qmmp_libdir,plug_dir) + do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir.lower() + '-%s', 'Qmmp ' + plug_dir + ' plugin for %s') +} + +FILES_${PN} = "\ + ${bindir}/qmmp \ + ${libdir}/lib*${SOLIBS} \ + ${datadir}/icons/* \ + ${datadir}/qmmp/images/* \ + ${datadir}/applications/* \ + " + +FILES_${PN}-dbg += "\ + ${libdir}/qmmp/*/.debug/* \ + " + +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 @@ +SUMMARY = "A simple note-taking application with Wiki-style syntax and behaviour" +HOMEPAGE = "http://qt-apps.org/content/show.php/Quicky?content=80325" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://version.h;endline=19;md5=878bdaff438dab86298301fd1a210e14" +SECTION = "x11/apps" + +PR = "r2" + +SRC_URI = "http://qt-apps.org/CONTENT/content-files/80325-quicky-0.4.tar.gz" + +SRC_URI[md5sum] = "824d9e477ee9c4994f73a3cb215161d9" +SRC_URI[sha256sum] = "9c66376e0035d44547612bf629890769a6178c3e7eafbcf95f1c6207ac0f352a" + +inherit qt4x11 + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/${BPN} ${D}${bindir} +} -- cgit v1.2.3-54-g00ecf