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
113b40e7
Commit
113b40e7
authored
Jan 11, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add aimp
parent
1ebac8a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
aimp.sh
play.d/aimp.sh
+29
-0
aimp.sh
repack.d/aimp.sh
+25
-0
No files found.
play.d/aimp.sh
0 → 100755
View file @
113b40e7
#!/bin/sh
PKGNAME
=
aimp
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"AIMP (Wine based audio player) from the official site"
.
$(
dirname
$0
)
/common.sh
pkgtype
=
"
$(
$DISTRVENDOR
-p
)
"
if
!
which wine
;
then
epm play wine
||
fatal
fi
repack
=
''
[
"
$(
$DISTRVENDOR
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
case
$pkgtype
in
deb
)
epm
install
"https://www.aimp.ru/?do=download.file&id=26"
;;
rpm
)
epm
$repack
install
"https://www.aimp.ru/?do=download.file&id=32"
;;
*
)
fatal
"Unsupported
$pkgtype
"
;;
esac
repack.d/aimp.sh
0 → 100755
View file @
113b40e7
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
aimp
PRODUCTDIR
=
/opt/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iRequires:/usr/bin/wine'
$SPEC
subst
'1iRequires:/bin/sh'
$SPEC
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/aimp.bash
subst
"s|/usr/bin/sh|/bin/sh|"
$BUILDROOT$PRODUCTDIR
/aimp.bash
mkdir
-p
$BUILDROOT
/usr/share/applications/
cp
$BUILDROOT
/opt/aimp/aimp.desktop
$BUILDROOT
/usr/share/applications/aimp.desktop
pack_file /usr/share/applications/aimp.desktop
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