Skip to content

Commit

Permalink
bump version to 0.38.2 and remove outdated information
Browse files Browse the repository at this point in the history
  • Loading branch information
MIRIMIRIM committed May 26, 2024
1 parent 47e1240 commit 7b72005
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 90 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
cd ./libass-${{ env.ass_ver }}
meson wrap update-db
meson wrap install fribidi
meson wrap install fontconfig
# meson wrap install fontconfig
meson wrap install freetype2
meson wrap install expat
meson wrap install harfbuzz
Expand Down
85 changes: 1 addition & 84 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,88 +97,7 @@ It have two csri render names: `assrender_textsub` and `assrender_ob_textsub`. `

## Build instructions

### Windows Visual Studio 2019

* Prequisite: vsnasm integration
- get VSNASM from https://github.com/ShiftMediaProject/VSNASM
- run install_script.bat

* Clone repo

Clone https://github.com/AmusementClub/assrender from VS IDE or

git clone https://github.com/AmusementClub/assrender
git submodule update --init --recursive --remote

* Build:
Open solution file from IDE

### Windows GCC (mingw installed by msys2)

* Clone repo

git clone https://github.com/AmusementClub/assrender
This environment is not using the git submodules, we need libass as a package.
There is no need for submodule update.

* Prequisite: libass package

- Get package

Example for x64 version:

$ pacman -S mingw64/mingw-w64-x86_64-libass

Output:

resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mingw-w64-x86_64-harfbuzz will be installed before its mingw-w64-x86_64-freetype dependency

Packages (10) mingw-w64-x86_64-fontconfig-2.13.93-1
mingw-w64-x86_64-freetype-2.10.4-1
mingw-w64-x86_64-fribidi-1.0.10-2
mingw-w64-x86_64-glib2-2.66.4-1
mingw-w64-x86_64-graphite2-1.3.14-2
mingw-w64-x86_64-harfbuzz-2.7.4-1
mingw-w64-x86_64-libpng-1.6.37-3 mingw-w64-x86_64-pcre-8.44-2
mingw-w64-x86_64-wineditline-2.205-3
mingw-w64-x86_64-libass-0.15.0-1

Total Download Size: 6.92 MiB
Total Installed Size: 42.31 MiB

:: Proceed with installation? [Y/n]

Choose Y and wait

* Build
from the 'build' folder under project root:

del ..\CMakeCache.txt
cmake .. -G "MinGW Makefiles"
cmake --build . --config Release --clean-first

### Linux
* Clone repo

git clone https://github.com/AmusementClub/assrender
cd assrender
cmake -B build -S .
cmake --build build --clean-first

Remark: submodules are not needed, libass is used as a package.

* Find binaries at

build/assrender/libassrender.so

* Install binaries

cd build
sudo make install
see `.github/workflows/build.yml`

## Licenses
For all modules: see msvc/licenses
Expand All @@ -187,8 +106,6 @@ It have two csri render names: `assrender_textsub` and `assrender_ob_textsub`. `
* Doom9 forum: https://forum.doom9.org/showthread.php?t=148926
* Avisynth wiki: http://avisynth.nl/index.php/AssRender
* libass original: https://github.com/libass/libass
* libass submodule used for msvc https://github.com/ShiftMediaProject/libass
* Aegisub: https://github.com/wangqr/Aegisub

## Change log
See https://github.com/AmusementClub/assrender/releases
8 changes: 4 additions & 4 deletions src/ASSRender.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <winresrc.h>
#pragma code_page(65001)
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0, 38, 0, 0
PRODUCTVERSION 0, 38, 0, 0
FILEVERSION 0, 38, 2, 0
PRODUCTVERSION 0, 38, 2, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
Expand All @@ -19,12 +19,12 @@ BEGIN
BEGIN
VALUE "CompanyName", ""
VALUE "FileDescription", "a plugin for VapourSynth to rend ASS/SSA subtitles using libass"
VALUE "FileVersion", "0.38.0.0"
VALUE "FileVersion", "0.38.2.0"
VALUE "InternalName", "ASSRENDER.DLL"
VALUE "LegalCopyright", ""
VALUE "OriginalFilename", "LIBASSRENDER.DLL"
VALUE "ProductName", "ASSRender plugin for VapourSynth"
VALUE "ProductVersion", "0.38.0.0"
VALUE "ProductVersion", "0.38.2.0"
END
END
BLOCK "VarFileInfo"
Expand Down
2 changes: 1 addition & 1 deletion src/assrender.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ typedef struct {
void* user_data;
} VS_FilterInfo;

#define ASSRENDER_VERSION "0.38.1"
#define ASSRENDER_VERSION "0.38.2"
#endif

0 comments on commit 7b72005

Please sign in to comment.