[oe-commits] org.oe.dev openmoko: add qvga theme and mark themes as arch agnostic

koen commit openembedded-commits at lists.openembedded.org
Wed Mar 28 17:26:55 UTC 2007


openmoko: add qvga theme and mark themes as arch agnostic

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 6707ea8938041e96005d0679000abd73cf4a19f2
ViewMTN: http://monotone.openembedded.org/revision.psp?id=6707ea8938041e96005d0679000abd73cf4a19f2
Files:
1
packages/openmoko-base/openmoko-theme-standard-qvga_svn.bb
packages/openmoko-base/openmoko-theme-standard_svn.bb
Diffs:

#
# mt diff -r4b95bb990fec2db9730a84fd5d1770605e3089d6 -r6707ea8938041e96005d0679000abd73cf4a19f2
#
# 
# 
# add_file "packages/openmoko-base/openmoko-theme-standard-qvga_svn.bb"
#  content [e5f9b257dd86f3520321019792dd3b4d5db1e8bb]
# 
# patch "packages/openmoko-base/openmoko-theme-standard_svn.bb"
#  from [6d9af98a90d4f7ebedd5202a9072463d4f88339f]
#    to [5943ed10b8995d9ed32c666193baa127c9f72b9a]
# 
============================================================
--- packages/openmoko-base/openmoko-theme-standard-qvga_svn.bb	e5f9b257dd86f3520321019792dd3b4d5db1e8bb
+++ packages/openmoko-base/openmoko-theme-standard-qvga_svn.bb	e5f9b257dd86f3520321019792dd3b4d5db1e8bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution, qvga version"
+SECTION = "openmoko/base"
+PV = "0.0+svn${SRCDATE}"
+PR = "r0"
+
+inherit openmoko-base
+
+SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=themes;proto=http"
+S = "${WORKDIR}"
+
+dirs = "themes/openmoko-standard"
+
+do_install() {
+	find ${WORKDIR} -name ".svn" | xargs rm -rf
+	install -d ${D}${datadir}/themes/
+	for i in ${dirs}; do
+		cp -fpPR ${WORKDIR}/$i ${D}${datadir}/themes/
+	done
+	
+	install -d ${D}${sysconfdir}/gtk-2.0
+	echo 'include "${datadir}/themes/openmoko-standard-qvga/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} = "${datadir} ${sysconfdir}"
============================================================
--- packages/openmoko-base/openmoko-theme-standard_svn.bb	6d9af98a90d4f7ebedd5202a9072463d4f88339f
+++ packages/openmoko-base/openmoko-theme-standard_svn.bb	5943ed10b8995d9ed32c666193baa127c9f72b9a
@@ -1,7 +1,7 @@ PV = "0.0+svn${SRCDATE}"
 DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution"
 SECTION = "openmoko/base"
 PV = "0.0+svn${SRCDATE}"
-PR = "r3"
+PR = "r4"
 
 inherit openmoko-base
 
@@ -21,4 +21,5 @@ do_install() {
 	echo 'include "${datadir}/themes/openmoko-standard/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc
 }
 
+PACKAGE_ARCH = "all"
 FILES_${PN} = "${datadir} ${sysconfdir}"






More information about the Openembedded-commits mailing list