added my Recipes
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
It is useless to create a link to $(PREFIX)/share/locale that there is no
|
||||
reference to $(PREFIX)/share/$(APPNAME)/locale in source code.
|
||||
|
||||
Upstream-Status: Submitted [https://bugzilla.xfce.org/show_bug.cgi?id=16693]
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
Makefile.in.in | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in.in b/Makefile.in.in
|
||||
index c0ce866..c2f26fe 100644
|
||||
--- a/Makefile.in.in
|
||||
+++ b/Makefile.in.in
|
||||
@@ -70,7 +70,6 @@ install: all xfce4-panel-profiles.1
|
||||
install data/metainfo/*.xml $(DESTDIR)/$(PREFIX)/share/metainfo
|
||||
|
||||
cp -rf locale $(DESTDIR)/$(PREFIX)/share
|
||||
- ln -sf $(PREFIX)/share/locale $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/locale
|
||||
|
||||
install -d $(DESTDIR)/$(MANDIR)/man1
|
||||
install xfce4-panel-profiles.1 $(DESTDIR)/$(MANDIR)/man1
|
||||
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "Backup, restore, import, and export panel layouts"
|
||||
SECTION = "x11/application"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
inherit python3native gettext gtk-icon-cache features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
DEPENDS += "intltool-native"
|
||||
|
||||
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/1.0/${BP}.tar.bz2 \
|
||||
file://not-create-link-to-locale.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170"
|
||||
|
||||
do_configure() {
|
||||
# special configure - no autotools...
|
||||
./configure --prefix=${prefix}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
sed -i 's:${PYTHON}:python3:g' ${D}${bindir}/xfce4-panel-profiles
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/metainfo"
|
||||
|
||||
RDEPENDS:${PN} += "python3-pygobject python3-pexpect"
|
||||
Reference in New Issue
Block a user