Created
May 30, 2018 19:11
-
-
Save darealshinji/f380828b82924ef4dc4a0a346d41ec2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app: gMKVExtractGUI | |
| binpatch: false | |
| ingredients: | |
| packages: | |
| - mkvtoolnix | |
| - mono-runtime | |
| - libmono-corlib4.5-cil | |
| - libmono-system-core4.0-cil | |
| - libmono-system-data4.0-cil | |
| - libmono-system-drawing4.0-cil | |
| - libmono-system-numerics4.0-cil | |
| - libmono-system-runtime-serialization4.0-cil | |
| - libmono-system-windows-forms4.0-cil | |
| - libmono-system-xml-linq4.0-cil | |
| - libmono-system-xml4.0-cil | |
| - libmono-system4.0-cil | |
| dist: xenial | |
| sources: | |
| - deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe | |
| - deb https://mkvtoolnix.download/ubuntu/ xenial main | |
| script: | |
| - rm -f *.7z && wget -q --trust-server-names 'https://sourceforge.net/projects/gmkvextractgui/files/latest/download' | |
| - ls gMKVExtractGUI.v*.7z | sed 's|gMKVExtractGUI\.v||; s|\.7z||' > VERSION | |
| - wget -q -c 'https://sourceforge.net/p/gmkvextractgui/code/HEAD/tree/gMKVExtractGUI/Images/gMkvExtractGuiIcon.ico?format=raw' -O gMKVExtractGUI.ico | |
| script: | |
| - cd ./usr/lib/mono/exe | |
| - 7z e ../../../../../gMKVExtractGUI.v*.7z | |
| - cd - | |
| - cp ../gMKVExtractGUI.ico gMKVExtractGUI.png | |
| - ln -s ../../../bin/mkvextract ./usr/lib/mono/exe/mkvextract | |
| - ln -s ../../../bin/mkvinfo ./usr/lib/mono/exe/mkvinfo | |
| - ln -s ../../../bin/mkvmerge ./usr/lib/mono/exe/mkvmerge | |
| - echo '#!/bin/sh' > ./usr/bin/gmkvextractgui | |
| - echo 'mono ./lib/mono/exe/gMKVExtractGUI.exe' >> ./usr/bin/gmkvextractgui | |
| - chmod a+x ./usr/bin/gmkvextractgui | |
| - cat <<EOF> gmkvextractgui.desktop | |
| - [Desktop Entry] | |
| - Type=Application | |
| - Name=gMKVExtractGUI | |
| - GenericName=Matroska files extractor | |
| - Icon=gMKVExtractGUI | |
| - Categories=AudioVideo;AudioVideoEditing; | |
| - Exec=gmkvextractgui | |
| - EOF | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
44