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
a970df4b
Commit
a970df4b
authored
Aug 18, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add icq support
parent
20b66a2e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
icq.sh
play.d/icq.sh
+18
-0
icq.sh
repack.d/icq.sh
+44
-0
No files found.
play.d/icq.sh
0 → 100755
View file @
a970df4b
#!/bin/sh
PKGNAME
=
icq
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"ICQ for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
# TODO:
# $ curl -H Snap-Device-Series:16 https://api.snapcraft.io/v2/snaps/info/icq-im
VERSION
=
"10.0"
#10.0.11121
PKGURL
=
"https://icq-www.hb.bizmrg.com/linux/x64/icq.tar.xz"
PKGFILE
=
"/tmp/
$PKGNAME
-
$VERSION
.tar.xz"
epm tool eget
-O
$PKGFILE
$PKGURL
||
exit
epm
install
--repack
"
$PKGFILE
"
||
exit
repack.d/icq.sh
0 → 100755
View file @
a970df4b
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
icq
PRODUCTCUR
=
icq
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Networking/Instant messaging|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/pycharm|"
$SPEC
subst
"s|^Summary:.*|Summary: The Python IDE for Professional Developers|"
$SPEC
# move package to /opt
mkdir
-p
$BUILDROOT$PRODUCTDIR
mv
$BUILDROOT
/
{
icq,qt.conf,lib,QtQuick.2,QtQuick,plugins
}
$BUILDROOT$PRODUCTDIR
||
fatal
subst
"s|
\"
/|
\"
$PRODUCTDIR
/|"
$SPEC
add_bin_link_command
$PRODUCT
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=ICQ for Linux
Comment=Simple way to communicate and nothing extra. New design, group chats and much more!
Icon=icq.png
Exec=icq -urlcommand %u
Categories=InstantMessaging;Social;Chat;Network;
Terminal=false
MimeType=x-scheme-handler/icq;
Keywords=icq;
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
mkdir
-p
$BUILDROOT
/usr/share/pixmaps/
eget
-O
$BUILDROOT
/usr/share/pixmaps/
$PRODUCT
.png https://res.cloudinary.com/canonical/image/fetch/f_auto,q_auto,fl_sanitize,w_60,h_60/https://dashboard.snapcraft.io/site_media/appmedia/2020/04/icq_copy.png
pack_file /usr/share/pixmaps/
$PRODUCT
.png
subst
"s|.*/opt/icq/unittests.*||"
$SPEC
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