meta-efl: unify tabs/spaces usage

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2012-07-19 11:53:45 +02:00
parent 5fd2b71cca
commit 2a4de1a544
19 changed files with 66 additions and 66 deletions
+2 -2
View File
@@ -3,12 +3,12 @@ SECTION = "e/apps"
inherit e-base autotools pkgconfig binconfig inherit e-base autotools pkgconfig binconfig
do_prepsources () { do_prepsources () {
make clean distclean || true make clean distclean || true
} }
addtask prepsources after do_patch before do_configure addtask prepsources after do_patch before do_configure
do_configure_append() { do_configure_append() {
find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
} }
export CURL_CONFIG = "${STAGING_BINDIR_CROSS}/curl-config" export CURL_CONFIG = "${STAGING_BINDIR_CROSS}/curl-config"
+4 -4
View File
@@ -10,13 +10,13 @@ inherit e-base autotools
# evas-native looks at this var, so keep it # evas-native looks at this var, so keep it
do_configure_prepend() { do_configure_prepend() {
autopoint || touch config.rpath autopoint || touch config.rpath
} }
do_install_prepend () { do_install_prepend () {
for i in `find ${S}/ -name "*.pc" -type f` ; do \ for i in `find ${S}/ -name "*.pc" -type f` ; do \
sed -i -e 's:-L${STAGING_LIBDIR}:-L\$\{libdir\}:g' -e 's:-I${STAGING_LIBDIR}:-I\$\{libdir\}:g' -e 's:-I${STAGING_INCDIR}:-I\$\{includedir\}:g' $i sed -i -e 's:-L${STAGING_LIBDIR}:-L\$\{libdir\}:g' -e 's:-I${STAGING_LIBDIR}:-I\$\{libdir\}:g' -e 's:-I${STAGING_INCDIR}:-I\$\{includedir\}:g' $i
done done
} }
PACKAGES =+ "${PN}-themes" PACKAGES =+ "${PN}-themes"
+15 -15
View File
@@ -20,24 +20,24 @@ S = "${WORKDIR}/${SRCNAME}"
do_configure_prepend() { do_configure_prepend() {
# prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly
sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac
} }
do_install_append() { do_install_append() {
if [ -e examples ]; then if [ -e examples ]; then
for i in `find examples -name "*.edc"`; do for i in `find examples -name "*.edc"`; do
cd ${S}/`dirname $i` cd ${S}/`dirname $i`
echo "Generating .edj file for $i..." echo "Generating .edj file for $i..."
edje_cc `basename $i` edje_cc `basename $i`
echo "Removing sources in this directory..." echo "Removing sources in this directory..."
rm -f *.edc *.png *.ttf *.jpeg rm -f *.edc *.png *.ttf *.jpeg
done done
cd ${S} cd ${S}
install -d ${D}${datadir}/${PN}/ install -d ${D}${datadir}/${PN}/
cp -a examples ${D}${datadir}/${PN}/ cp -a examples ${D}${datadir}/${PN}/
find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf
fi fi
} }
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug"
@@ -24,12 +24,12 @@ SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \
S = "${WORKDIR}/${SRCNAME}" S = "${WORKDIR}/${SRCNAME}"
do_compile() { do_compile() {
${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images ${S}/efenniht.edc -o ${S}/efenniht.edj ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images ${S}/efenniht.edc -o ${S}/efenniht.edj
} }
do_install() { do_install() {
install -d ${D}${datadir}/enlightenment/data/themes/ install -d ${D}${datadir}/enlightenment/data/themes/
install -m 0644 ${S}/efenniht.edj ${D}${datadir}/enlightenment/data/themes/ install -m 0644 ${S}/efenniht.edj ${D}${datadir}/enlightenment/data/themes/
} }
FILES_${PN} = "${datadir}/enlightenment/data/themes/" FILES_${PN} = "${datadir}/enlightenment/data/themes/"
@@ -85,10 +85,10 @@
<Directory>Accessories.directory</Directory> <Directory>Accessories.directory</Directory>
<Include> <Include>
<And> <And>
<Or> <Or>
<Category>Applications</Category> <Category>Applications</Category>
<Category>Utility</Category> <Category>Utility</Category>
</Or> </Or>
<Not> <Not>
<Category>System</Category> <Category>System</Category>
<Category>Office</Category> <Category>Office</Category>
+1 -1
View File
@@ -25,7 +25,7 @@ EXTRA_OECONF = "\
" "
do_configure_prepend() { do_configure_prepend() {
autopoint || true autopoint || true
} }
do_install_append() { do_install_append() {
+5 -5
View File
@@ -35,9 +35,9 @@ do_configure_prepend() {
} }
pkg_postinst_${PN} () { pkg_postinst_${PN} () {
echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!" echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!"
echo "enjoy: Meanwhile please run:" echo "enjoy: Meanwhile please run:"
echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db" echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db"
echo "enjoy:" echo "enjoy:"
echo "enjoy: Use test-lms -P to see available formats that can be scanned" echo "enjoy: Use test-lms -P to see available formats that can be scanned"
} }
+2 -2
View File
@@ -8,8 +8,8 @@ DEPENDS += "elementary exalt edje-native"
CFLAGS += " -I${STAGING_INCDIR}/exalt -I${STAGING_INCDIR}/exalt_dbus" CFLAGS += " -I${STAGING_INCDIR}/exalt -I${STAGING_INCDIR}/exalt_dbus"
do_configure_prepend() { do_configure_prepend() {
sed -i -e /po/d configure.ac sed -i -e /po/d configure.ac
sed -i -e s:\ po::g Makefile.am sed -i -e s:\ po::g Makefile.am
} }
FILES_${PN} += "${libdir}/enlightenment/modules/*/*.desktop \ FILES_${PN} += "${libdir}/enlightenment/modules/*/*.desktop \
+6 -6
View File
@@ -19,13 +19,13 @@ EXTRA_OECONF = " \
" "
do_install_append() { do_install_append() {
# install dbus config file # install dbus config file
install -d ${D}${sysconfdir}/dbus-1/system.d/ install -d ${D}${sysconfdir}/dbus-1/system.d/
install -m 0644 data/daemon/dbus/exalt.conf ${D}${sysconfdir}/dbus-1/system.d/exalt.conf install -m 0644 data/daemon/dbus/exalt.conf ${D}${sysconfdir}/dbus-1/system.d/exalt.conf
# install dbus service file # install dbus service file
install -d ${D}${datadir}/dbus-1/system-services/ install -d ${D}${datadir}/dbus-1/system-services/
install -m 0644 org.e.Exalt.service ${D}${datadir}/dbus-1/system-services/ install -m 0644 org.e.Exalt.service ${D}${datadir}/dbus-1/system-services/
} }
FILES_${PN} += "${datadir}/dbus-1" FILES_${PN} += "${datadir}/dbus-1"
@@ -2,7 +2,7 @@ SECTION = "x11/data"
SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master \ SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master \
file://0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch \ file://0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch \
file://LICENSE" file://LICENSE"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "4064489f359a1addf572089b582f317dff5f50e1" SRCREV = "4064489f359a1addf572089b582f317dff5f50e1"
@@ -93,6 +93,6 @@ DESCRIPTION_illume-keyboard-persian = "Illume keyboard with persian layout"
FILES_illume-keyboard-persian = "${KEYBOARDS_DIR}/Persian.kbd ${KEYBOARDS_DIR}/Persian.png" FILES_illume-keyboard-persian = "${KEYBOARDS_DIR}/Persian.kbd ${KEYBOARDS_DIR}/Persian.png"
do_install() { do_install() {
make DESTDIR=${D} install make DESTDIR=${D} install
} }
+2 -2
View File
@@ -5,8 +5,8 @@ PR = "${INC_PR}.0"
require e-module.inc require e-module.inc
do_configure_prepend() { do_configure_prepend() {
sed -i -e /po/d configure.ac sed -i -e /po/d configure.ac
sed -i -e s:\ po::g Makefile.am sed -i -e s:\ po::g Makefile.am
} }
+1 -1
View File
@@ -7,7 +7,7 @@ PR = "${INC_PR}.0"
require e-module.inc require e-module.inc
do_configure_prepend() { do_configure_prepend() {
autopoint || touch config.rpath autopoint || touch config.rpath
} }
# Calls /usr/bin/eject for media # Calls /usr/bin/eject for media
+2 -2
View File
@@ -5,8 +5,8 @@ PR = "${INC_PR}.0"
require e-module.inc require e-module.inc
do_configure_prepend() { do_configure_prepend() {
sed -i -e /po/d configure.ac sed -i -e /po/d configure.ac
sed -i -e s:\ po::g Makefile.am sed -i -e s:\ po::g Makefile.am
} }
+1 -1
View File
@@ -10,7 +10,7 @@ DEPENDS += "emprint"
RDEPENDS_${PN} += "emprint" RDEPENDS_${PN} += "emprint"
do_configure_prepend() { do_configure_prepend() {
sed -i -e 's:AC_MSG_ERROR(emprint not found):echo foo:g' ${S}/configure.ac sed -i -e 's:AC_MSG_ERROR(emprint not found):echo foo:g' ${S}/configure.ac
} }
+2 -2
View File
@@ -13,8 +13,8 @@ BBCLASSEXTEND = "native"
INC_PR = "r0" INC_PR = "r0"
do_configure_prepend() { do_configure_prepend() {
touch ${S}/po/Makefile.in.in || true touch ${S}/po/Makefile.in.in || true
sed -i -e 's: po::g' ${S}/Makefile.am sed -i -e 's: po::g' ${S}/Makefile.am
} }
FILESPATHPKG =. "${BPN}-${PV}:${BPN}:" FILESPATHPKG =. "${BPN}-${PV}:${BPN}:"
+3 -3
View File
@@ -1,6 +1,6 @@
def get_edje_fpu_setting(bb, d): def get_edje_fpu_setting(bb, d):
if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
return "--enable-fixed-point" return "--enable-fixed-point"
return "" return ""
+7 -7
View File
@@ -12,19 +12,19 @@ BBCLASSEXTEND = "native nativesdk"
INC_PR = "r0" INC_PR = "r0"
do_configure_prepend_virtclass-native() { do_configure_prepend_virtclass-native() {
sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c
sed -i 's: cpp -I: /usr/bin/cpp -I:' ${S}/src/bin/edje_cc_parse.c sed -i 's: cpp -I: /usr/bin/cpp -I:' ${S}/src/bin/edje_cc_parse.c
sed -i 's:\"gcc -I:\"/usr/bin/gcc -I:' ${S}/src/bin/edje_cc_parse.c sed -i 's:\"gcc -I:\"/usr/bin/gcc -I:' ${S}/src/bin/edje_cc_parse.c
} }
# The new lua stuff is a bit broken... # The new lua stuff is a bit broken...
do_configure_append() { do_configure_append() {
for i in $(find "${S}" -name "Makefile") ; do for i in $(find "${S}" -name "Makefile") ; do
sed -i -e 's:-L/usr/local/lib::g' $i sed -i -e 's:-L/usr/local/lib::g' $i
done done
} }
do_compile_append() { do_compile_append() {
sed -i -e s:local/::g -e 's:-L${STAGING_LIBDIR}::g' ${S}/edje.pc sed -i -e s:local/::g -e 's:-L${STAGING_LIBDIR}::g' ${S}/edje.pc
} }
# gain some extra performance at the expense of RAM - generally i'd say bad # gain some extra performance at the expense of RAM - generally i'd say bad
@@ -26,12 +26,12 @@ SRC_URI += "file://LICENSE"
S = "${WORKDIR}/${SRCNAME}" S = "${WORKDIR}/${SRCNAME}"
do_compile() { do_compile() {
${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images -id ${WORKDIR}/themes/ ${S}/elm-efenniht.edc -o ${S}/elm-efenniht.edj ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images -id ${WORKDIR}/themes/ ${S}/elm-efenniht.edc -o ${S}/elm-efenniht.edj
} }
do_install() { do_install() {
install -d ${D}${datadir}/elementary/themes/ install -d ${D}${datadir}/elementary/themes/
install -m 0644 ${S}/elm-efenniht.edj ${D}${datadir}/elementary/themes/ install -m 0644 ${S}/elm-efenniht.edj ${D}${datadir}/elementary/themes/
} }
FILES_${PN} = "${datadir}/elementary/themes/" FILES_${PN} = "${datadir}/elementary/themes/"
+2 -2
View File
@@ -12,8 +12,8 @@ SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep"
S = "${WORKDIR}/${SRCNAME}" S = "${WORKDIR}/${SRCNAME}"
EXTRA_OECONF = "--with-x \ EXTRA_OECONF = "--with-x \
--x-includes=${STAGING_INCDIR} \ --x-includes=${STAGING_INCDIR} \
--x-libraries=${STAGING_LIBDIR} " --x-libraries=${STAGING_LIBDIR} "
# TODO: Use more fine granular version # TODO: Use more fine granular version
#OE_LT_RPATH_ALLOW=":${libdir}/imlib2/loaders:${libdir}/imlib2/filters:" #OE_LT_RPATH_ALLOW=":${libdir}/imlib2/loaders:${libdir}/imlib2/filters:"