Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
2d5e5d83
Commit
2d5e5d83
authored
Sep 16, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ttf-opensans: use Qt fonts directory variable to solve incorrect directory issues we had until now
parent
367dd813
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
ttf-opensans_1.0.bb
recipes-graphics/ttf-fonts/ttf-opensans_1.0.bb
+5
-7
No files found.
recipes-graphics/ttf-fonts/ttf-opensans_1.0.bb
View file @
2d5e5d83
...
@@ -7,7 +7,8 @@ PR = "r0"
...
@@ -7,7 +7,8 @@ PR = "r0"
# we don't need a compiler nor a c library for these fonts
# we don't need a compiler nor a c library for these fonts
INHIBIT_DEFAULT_DEPS = "1"
INHIBIT_DEFAULT_DEPS = "1"
inherit allarch fontcache
inherit allarch
inherit qmake5_paths
SRC_URI = "git://github.com/ppowalowski/fontface-open-sans.git;protocol=https"
SRC_URI = "git://github.com/ppowalowski/fontface-open-sans.git;protocol=https"
SRCREV = "462165fa0e73a665d2fbc8c80ecc23ce135700da"
SRCREV = "462165fa0e73a665d2fbc8c80ecc23ce135700da"
...
@@ -17,11 +18,8 @@ FONT_PACKAGES = "ttf-opensans"
...
@@ -17,11 +18,8 @@ FONT_PACKAGES = "ttf-opensans"
do_install() {
do_install() {
# Different versions of OE seems to require different places for fonts so we install in both share and lib...
# Different versions of OE seems to require different places for fonts so we install in both share and lib...
install -d ${D}/usr/share/fonts/
install -d ${D}/${OE_QMAKE_PATH_QT_FONTS}
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/share/fonts/ \;
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/${OE_QMAKE_PATH_QT_FONTS} \;
install -d ${D}/usr/lib/fonts/
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/lib/fonts/ \;
}
}
FILES_${PN} += "
/usr/share/fonts/ /usr/lib/fonts/
"
FILES_${PN} += "
${OE_QMAKE_PATH_QT_FONTS}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment