X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-scripts.bb;h=10dc789d30bd89d02fc7460c07b91b572e3f529a;hp=9d5d659bc6a4eebba6cc3e6e66ac40827f9af579;hb=178fd421bd7d500c584cbb2db1274b9fb9d7d406;hpb=3615c21e20b2775c5c4d4754509e9c5cb431a436 diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 9d5d659..10dc789 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -3,18 +3,162 @@ LICENSE = "GPLV2" COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r0" +DEPENDS = "zenity dbus" +RDEPENDS = "zenity dbus" + +PR = "r72" SRC_URI = " \ file://op_bright.sh \ - file://op_bright.desktop \ + file://op_cpuspeed.sh \ + file://op_cpuspeed.pnd \ + file://op_wifi.sh \ + file://op_wifi.pnd \ + file://op_bluetooth.sh \ + file://op_bluetooth-check.desktop \ + file://op_bluetooth.desktop \ + file://op_startupmanager.sh \ + file://op_startupmanager.pnd \ + file://op_switchgui.sh \ + file://op_switchgui.pnd \ + file://startnetbooklauncher \ + file://startmmenu \ + file://startpmenu \ + file://stopmmenu \ + file://op_calibrate.sh \ + file://op_calibrate.pnd \ + file://op_datetime.sh \ + file://op_datetime.pnd \ + file://op_usermanager.sh \ + file://op_usermanager.pnd \ + file://op_lcdsettings.sh \ + file://op_lcdsettings.pnd \ + file://op_cpusettings.sh \ + file://op_cpusettings.pnd \ + file://op_lcdrate.sh \ + file://op_videofir.sh \ + file://op_storage.sh \ + file://op_storage.pnd \ + file://op_nubmode.py \ + file://op_nubmode.pnd \ + file://op_lidsettings.pnd \ + file://op_lidsettings.sh \ + file://op_tvout.sh \ + file://op_tvout.pnd \ + file://op_inputtest.pnd \ + file://gui.conf \ + file://cpu.conf \ + file://gamma.conf \ + file://service.conf \ + file://nub_profiles.conf \ + file://nubmode.glade \ + file://reset_nubs.sh \ + file://pndlogo.png \ + file://default_up \ + file://none_up \ + file://op_env.sh \ + file://evince.pnd \ + file://gigolo.pnd \ + file://mousepad.pnd \ + file://ristretto.pnd \ + file://squeeze.pnd \ + file://thunar.pnd \ + file://xchat.pnd \ + file://gcalctool.pnd \ + file://op_bright_down.sh \ + file://op_lid.sh \ + file://op_power.sh \ + file://op_battlow.sh \ + file://op_bright_up.sh \ + file://op_menu.sh \ + file://op_xfcemenu.sh \ " do_install() { install -d ${D}${prefix}/pandora/scripts/ - install -m 0755 ${S}/op_bright.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bright.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_cpuspeed.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_cpusettings.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_wifi.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bluetooth.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_startupmanager.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_switchgui.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_calibrate.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_datetime.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_usermanager.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lcdsettings.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lcdrate.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_videofir.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_nubmode.py ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_storage.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_tvout.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bright_down.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lid.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_power.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_battlow.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bright_up.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_menu.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_xfcemenu.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/reset_nubs.sh ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/pndlogo.png ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/nubmode.glade ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lidsettings.sh ${D}${prefix}/pandora/scripts/ + + + + install -d ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_calibrate.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_cpuspeed.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_datetime.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_lcdsettings.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_cpusettings.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_nubmode.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_startupmanager.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_storage.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_switchgui.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_usermanager.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_wifi.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_tvout.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_inputtest.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_lidsettings.pnd ${D}${prefix}/pandora/apps/ + + install -d ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/evince.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/gigolo.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/mousepad.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/ristretto.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/squeeze.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/thunar.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/xchat.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/gcalctool.pnd ${D}${prefix}/pandora/mmenu/ + install -d ${D}${datadir}/applications/ - install -m 0644 ${S}/op_bright.desktop ${D}${datadir}/applications/ + install -m 0644 ${WORKDIR}/op_bluetooth.desktop ${D}${datadir}/applications/ + + install -d ${D}${sysconfdir}/xdg/autostart/ + install -m 0644 ${WORKDIR}/op_bluetooth-check.desktop ${D}${sysconfdir}/xdg/autostart/op_bluetooth-check.desktop + + install -d ${D}${sysconfdir}/pandora/conf/ + install -m 0644 ${WORKDIR}/gui.conf ${D}${sysconfdir}/pandora/conf/gui.conf + install -m 0644 ${WORKDIR}/cpu.conf ${D}${sysconfdir}/pandora/conf/cpu.conf + install -m 0644 ${WORKDIR}/gamma.conf ${D}${sysconfdir}/pandora/conf/gamma.conf + install -m 0644 ${WORKDIR}/service.conf ${D}${sysconfdir}/pandora/conf/service.conf + install -m 0666 ${WORKDIR}/nub_profiles.conf ${D}${sysconfdir}/pandora/conf/nub_profiles.conf + + install -d ${D}${sysconfdir}/pandora/conf/dss_fir/ + install -m 0644 ${WORKDIR}/default_up ${D}${sysconfdir}/pandora/conf/dss_fir/ + install -m 0644 ${WORKDIR}/none_up ${D}${sysconfdir}/pandora/conf/dss_fir/ + + install -d ${D}${sysconfdir}/profile.d/ + install -m 0755 ${WORKDIR}/op_env.sh ${D}${sysconfdir}/profile.d/ + + install -d ${D}${bindir}/ + install -m 0755 ${WORKDIR}/startnetbooklauncher ${D}${bindir}/ + install -m 0755 ${WORKDIR}/startmmenu ${D}${bindir}/ + install -m 0755 ${WORKDIR}/startpmenu ${D}${bindir}/ + install -m 0755 ${WORKDIR}/stopmmenu ${D}${bindir}/ } PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES_${PN} += "${prefix} ${datadir}"