Версия 1.0.0 #11
39
dist/linux/Makefile
vendored
Normal file
39
dist/linux/Makefile
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# If PREFIX isn't provided, we check for $(DESTDIR)/usr/local and use that if it exists.
|
||||
# Otherwice we fall back to using /usr.
|
||||
|
||||
LOCAL != test -d $(DESTDIR)/usr/local && echo -n "/local" || echo -n ""
|
||||
LOCAL ?= $(shell test -d $(DESTDIR)/usr/local && echo "/local" || echo "")
|
||||
PREFIX ?= /usr$(LOCAL)
|
||||
|
||||
Name := "gui-for-ffmpeg"
|
||||
Exec := "gui-for-ffmpeg"
|
||||
Icon := "gui-for-ffmpeg.png"
|
||||
|
||||
default:
|
||||
# User install
|
||||
# Run "make user-install" to install in ~/.local/
|
||||
# Run "make user-uninstall" to uninstall from ~/.local/
|
||||
#
|
||||
# System install
|
||||
# Run "sudo make install" to install the application.
|
||||
# Run "sudo make uninstall" to uninstall the application.
|
||||
|
||||
install:
|
||||
install -Dm00644 usr/local/share/applications/$(Name).desktop $(DESTDIR)$(PREFIX)/share/applications/$(Name).desktop
|
||||
install -Dm00755 usr/local/bin/$(Exec) $(DESTDIR)$(PREFIX)/bin/$(Exec)
|
||||
install -Dm00644 usr/local/share/pixmaps/$(Icon) $(DESTDIR)$(PREFIX)/share/pixmaps/$(Icon)
|
||||
uninstall:
|
||||
-rm $(DESTDIR)$(PREFIX)/share/applications/$(Name).desktop
|
||||
-rm $(DESTDIR)$(PREFIX)/bin/$(Exec)
|
||||
-rm $(DESTDIR)$(PREFIX)/share/pixmaps/$(Icon)
|
||||
|
||||
user-install:
|
||||
install -Dm00644 usr/local/share/applications/$(Name).desktop $(DESTDIR)$(HOME)/.local/share/applications/$(Name).desktop
|
||||
install -Dm00755 usr/local/bin/$(Exec) $(DESTDIR)$(HOME)/.local/bin/$(Exec)
|
||||
install -Dm00644 usr/local/share/pixmaps/$(Icon) $(DESTDIR)$(HOME)/.local/share/icons/$(Icon)
|
||||
sed -i -e "s,Exec=$(Exec),Exec=$(DESTDIR)$(HOME)/.local/bin/$(Exec),g" $(DESTDIR)$(HOME)/.local/share/applications/$(Name).desktop
|
||||
|
||||
user-uninstall:
|
||||
-rm $(DESTDIR)$(HOME)/.local/share/applications/$(Name).desktop
|
||||
-rm $(DESTDIR)$(HOME)/.local/bin/$(Exec)
|
||||
-rm $(DESTDIR)$(HOME)/.local/share/icons/$(Icon)
|
7
dist/linux/Readme-eng.txt
vendored
Normal file
7
dist/linux/Readme-eng.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
User install
|
||||
Run "make user-install" to install in ~/.local/
|
||||
Run "make user-uninstall" to uninstall from ~/.local/
|
||||
|
||||
System install
|
||||
Run "sudo make install" to install the application.
|
||||
Run "sudo make uninstall" to uninstall the application.
|
7
dist/linux/Readme-rus.txt
vendored
Normal file
7
dist/linux/Readme-rus.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
Установить для пользователя (рекомендуется)
|
||||
Запустите "make user-install" для установки в домашнюю папку ~/.local/
|
||||
Запустите "make user-uninstall" для удаления из домашней папки ~/.local/
|
||||
|
||||
Установить для всей системы
|
||||
Запустить "sudo make install" Для установки в систему.
|
||||
Запустить "sudo make uninstall" Для удаления из системы.
|
9
dist/linux/usr/local/share/applications/gui-for-ffmpeg.desktop
vendored
Normal file
9
dist/linux/usr/local/share/applications/gui-for-ffmpeg.desktop
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=gui-for-ffmpeg
|
||||
GenericName=GUI for FFmpeg
|
||||
Exec=gui-for-ffmpeg
|
||||
Icon=gui-for-ffmpeg
|
||||
Comment=A simple interface for the FFmpeg console utility.
|
||||
Categories=AudioVideo;Utility;
|
||||
Keywords=ffmpeg;media;convert;transcode;audio;video;конвертер;видео;аудио;кодек;
|
Loading…
x
Reference in New Issue
Block a user