Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
0adf31b8
Commit
0adf31b8
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: move use_system_xdg to common.sh
parent
f4bba021
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
common-chromium-browser.sh
repack.d/common-chromium-browser.sh
+0
-9
common.sh
repack.d/common.sh
+14
-0
No files found.
repack.d/common-chromium-browser.sh
View file @
0adf31b8
...
...
@@ -59,15 +59,6 @@ cleanup()
}
use_system_xdg
()
{
# replace embedded xdg tools
for
i
in
$PRODUCTDIR
/
{
xdg-mime,xdg-settings
}
;
do
[
-s
$BUILDROOT$i
]
||
continue
rm
-v
$BUILDROOT$i
ln
-s
/usr/bin/
$(
basename
$i
)
$BUILDROOT$i
done
}
install_deps
()
...
...
This diff is collapsed.
Click to expand it.
repack.d/common.sh
View file @
0adf31b8
...
...
@@ -274,6 +274,20 @@ drop_embedded_reqs()
filter_from_requires
"libGLESv2.so()"
"libEGL.so()"
"libffmpeg.so()"
}
# by default check in $PRODUCTDIR
use_system_xdg
()
{
local
prod
=
"
$1
"
[
-n
"
$prod
"
]
||
prod
=
"
$PRODUCTDIR
"
# replace embedded xdg tools
for
i
in
$prod
/
{
xdg-mime,xdg-settings
}
;
do
[
-s
$BUILDROOT$i
]
||
continue
rm
-v
$BUILDROOT$i
ln
-s
/usr/bin/
$(
basename
$i
)
$BUILDROOT$i
done
}
#[ -d "$BUILDROOT" ] || fatal "Run me only via epm repack <package>"
if
[
-n
"
$PRODUCT
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
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