-
Notifications
You must be signed in to change notification settings - Fork 5
Build on Linux
Since Linux is such a wide field it's impossible to provide you with all possible packages so that you find the version that you need. So what we can do? Of course - make it on your own ;-)
At least we need git, a compiler (gcc with g++), the qt4 dev framework, the libvlc-dev package, make and in addition checkinstall. To get these things on Ubuntu we run:
sudo apt-get install libqt4-dev libx11-dev vlc-nox libvlc-dev build-essential gawk gtk2-engines-pixbuf git
This also will install some additional packages our packages depend on.
Create a directory where we'll put the sources of vlc-record. We could make it that way: mkdir -p ~/src
Now we go into the created src folder and check out the vlc-record sources.
cd ~/src
git clone https://github.com/Jo2003/vlc_record.git vlc-record
Go into the source directory and create the make files using the qmake command:
cd ~/src/vlc-record
qmake-qt4 vlc-record.pro
Cause we have the make files, let's start to build vlc-records binary.
make clean
make -j release
Hopefully all went well!
I have prepared scripts that will create the debian package for you. To create the deb package, call following command:
sudo make -f install.mak
After that you'll find the debian package in ~/src/. You can install it through the packet manager e.g.:
cd ..
sudo dpkg -i vlc-record-[version-data].deb
After that vlc-record should be installed. In Ubuntu you can search for vlc-record in DASH. An application shortcut is also created, but you have to add it to the menu at your own.