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
etersoft
eepm
Commits
c199d92e
Commit
c199d92e
authored
Apr 28, 2025
by
CatSema
Committed by
Vitaly Lipatov
Apr 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add openide
parent
accf908a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
0 deletions
+77
-0
openide.sh
play.d/openide.sh
+27
-0
openIDE.sh
repack.d/openIDE.sh
+50
-0
No files found.
play.d/openide.sh
0 → 100755
View file @
c199d92e
#!/bin/sh
PKGNAME
=
openIDE
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"openIDE - Free IDE based on IntelliJ IDEA Community Edition"
URL
=
"https://openide.ru/"
.
$(
dirname
$0
)
/common.sh
arch
=
$(
epm print info
-a
)
case
"
$arch
"
in
x86_64
)
arch
=
""
;;
arm64
|
aarch64
)
arch
=
"-aarch64"
;;
esac
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
$(
eget
-q
-O-
https://download.openide.ru/ |
grep
-B1
"openIDE.*tar
\.
gz"
|
grep
-o
"[0-9]
\+\.
[0-9]
\+\.
[0-9]
\+\.
[0-9]
\+
"
|
tail
-n1
)
fi
PKGURL
=
"https://download.openide.ru/
$VERSION
/openIDE-
$VERSION
${
arch
}
.tar.gz"
install_pkgurl
repack.d/openIDE.sh
0 → 100755
View file @
c199d92e
#!/bin/sh -x
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
openide
PRODUCTCUR
=
openIDE
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Development/Tools|"
$SPEC
subst
"s|^URL:.*|URL: https://openide.ru/|"
$SPEC
subst
"s|^Summary:.*|Summary: openIDE - Free IDE based on IntelliJ IDEA Community Edition|"
$SPEC
move_to_opt
"/
$PRODUCTCUR
-*"
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/bin/
$PRODUCT
.sh
add_bin_link_command
$PRODUCTCUR
$PRODUCT
wmClass
=
"
$(
get_json_value
$PRODUCTDIR
/product-info.json
'["launch",0,"startupWmClass"]'
)
"
[
-n
"
$wmClass
"
]
||
wmClass
=
"
$PRODUCT
"
cat
<<
EOF
| create_file /usr/share/applications/
$wmClass
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=openIDE
Comment=Free IDE based on IntelliJ IDEA Community Edition
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
StartupWMClass=
$wmClass
Categories=Development;IDE;
EOF
install_file
$PRODUCTDIR
/bin/
$PRODUCT
.png /usr/share/pixmaps/
$PRODUCT
.png
#install_file $PRODUCTDIR/bin/$PRODUCT.svg /usr/share/icons/hicolor/scalable/apps/$PRODUCT.svg
subst
's|%dir "'
$PRODUCTDIR
'/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/bin/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/lib/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/plugins/"||'
$SPEC
pack_dir
$PRODUCTDIR
/
pack_dir
$PRODUCTDIR
/bin/
pack_dir
$PRODUCTDIR
/lib/
pack_dir
$PRODUCTDIR
/plugins/
add_libs_requires
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