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
3a7e7a08
Commit
3a7e7a08
authored
Nov 15, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Dec 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: play added svp4 (eterbug #17842)
parent
b2e069c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
92 additions
and
0 deletions
+92
-0
svp4.sh
pack.d/svp4.sh
+40
-0
svp4.sh
play.d/svp4.sh
+15
-0
svp4.sh
repack.d/svp4.sh
+37
-0
No files found.
pack.d/svp4.sh
0 → 100755
View file @
3a7e7a08
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
PRODUCT
=
"svp4"
# svp4-linux.4.6.263
VERSION
=
"
$(
basename
"
$TAR
"
.tar.bz2 |
grep
-oP
'\d+\.\d+(\.\d+)?'
)
"
mkdir
-p
opt/svp4
erc
$TAR
mkdir
installer
LANG
=
C
grep
--only-matching
--byte-offset
--binary
--text
$'7z
\x
BC
\x
AF
\x
27
\x
1C'
"svp4-linux-64.run"
|
cut
-f1
-d
: |
while
read
ofs
;
do
dd
if
=
"svp4-linux-64.run"
bs
=
1M
iflag
=
skip_bytes
status
=
none
skip
=
"
${
ofs
}
"
of
=
"installer/bin-
${
ofs
}
.7z"
done
for
f
in
"installer/"
*
.7z
;
do
7z
-bd
-bb0
-y
x
-o
"extracted/"
"
${
f
}
"
||
true
done
mv
extracted/
*
opt/svp4/
PKGNAME
=
$PRODUCT
-
$VERSION
erc a
$PKGNAME
.tar opt
cat
<<
EOF
>
$PRODUCT
.eepm.yaml
name:
$PRODUCT
group: Video
license: LicenseRef-custom
url: https://www.svp-team.com/wiki/SVP:Linux
summary: SmoothVideo Project 4 (SVP4)
description: SVP converts any video to 60 fps (and even higher) and performs this in real time right in your favorite video player.
EOF
return_tar
$PKGNAME
.tar
play.d/svp4.sh
0 → 100755
View file @
3a7e7a08
#!/bin/sh
PKGNAME
=
svp4
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"SmoothVideo Project 4 (SVP4)"
URL
=
"https://svp-team.com/wiki/SVP:Linux"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
PKGURL
=
"http://www.svp-team.com/files/svp4-latest.php?linux"
install_pack_pkgurl
repack.d/svp4.sh
0 → 100755
View file @
3a7e7a08
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/svp4
.
$(
dirname
$0
)
/common.sh
# pack icons
for
i
in
32 48 64 128
;
do
[
-r
$BUILDROOT
/
$PRODUCTDIR
/svp-manager4-
$i
.png
]
||
continue
mkdir
-p
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
cp
$BUILDROOT
/
$PRODUCTDIR
/svp-manager4-
$i
.png
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/svp-manager4.png
done
subst
"s|%files|%files
\n
/usr/share/icons/hicolor/*x*/apps/svp-manager4.png|"
$SPEC
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=SVP 4 Linux
GenericName=Real time frame interpolation
Type=Application
Categories=Multimedia;AudioVideo;Player;Video;
MimeType=video/x-msvideo;video/x-matroska;video/webm;video/mpeg;video/mp4;
Terminal=false
StartupNotify=true
Exec=
$PRODUCT
%f
Icon=svp-manager4.png
EOF
add_requires mpv libmediainfo python3-module-vapoursynth libqt5-concurrent
add_libs_requires
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/SVPManager
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