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
Nurlan
eepm
Commits
2a541525
Commit
2a541525
authored
Dec 30, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack librewolf: add support for rpm and deb systems
parent
c6ba29ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
librewolf.sh
play.d/librewolf.sh
+21
-4
librewolf.sh
repack.d/librewolf.sh
+2
-2
No files found.
play.d/librewolf.sh
View file @
2a541525
...
...
@@ -6,9 +6,26 @@ DESCRIPTION="LibreWolf - a custom version of Firefox, focused on privacy, securi
.
$(
dirname
$0
)
/common.sh
arch
=
amd64
pkgtype
=
deb
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
PKG
=
"https://rpm.librewolf.net/pool/librewolf*.rpm"
;;
deb
)
PKG
=
"https://deb.librewolf.net/pool/focal/main/libr/librewolf/librewolf_*all.deb"
;;
*
)
fatal
"Package target
$pkgtype
is not supported yet"
;;
esac
PKG
=
$(
epm tool eget
--list
--latest
https://deb.librewolf.net/pool/focal/main/libr/librewolf/librewolf_
*
all.deb
)
||
fatal
"Can't get package URL"
case
"
$(
epm print info
-s
)
"
in
alt
)
# uses old glibc needed for ALT p10
PKG
=
"https://deb.librewolf.net/pool/focal/main/libr/librewolf/librewolf_*all.deb"
epm
install
--repack
$PKG
exit
;;
esac
epm
install
--repack
"
$PKG
"
epm
install
"
$PKG
"
repack.d/librewolf.sh
View file @
2a541525
...
...
@@ -13,8 +13,6 @@ subst '1iAutoProv:no' $SPEC
move_to_opt
subst
"s|/usr/share/
$PRODUCT
/
$PRODUCT
|
$PRODUCT
|"
$BUILDROOT
/usr/share/applications/start-
$PRODUCT
.desktop
cleanup
rm
-f
$BUILDROOT
/usr/bin/librewolf
add_bin_link_command
...
...
@@ -26,3 +24,5 @@ done
for
i
in
$BUILDROOT
/
$PRODUCTDIR
/gmp-clearkey/0.1/lib
*
.so
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/../../'
$i
||
continue
done
epm
--skip-installed
install
fontconfig glib2 libalsa libatk libcairo libcairo-gobject libdbus libdbus-glib libfreetype libgdk-pixbuf libgio libgtk+3 libharfbuzz libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst
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