Skip to content

Commit

Permalink
INSTALL_LINUX: add centos7+fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
olear committed Mar 1, 2016
1 parent 6de6d51 commit fd1ae20
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion INSTALL_LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Natron on GNU/Linux.
4. [Distribution specific](#distribution-specific)
- [Arch Linux](#arch-linux)
- [Debian-based](#debian-based)
- [CentOS](#centos6-64-bit)
- [CentOS7/Fedora](#centos7)
- [CentOS6](#centos6-64-bit)


# Libraries
Expand Down Expand Up @@ -246,6 +247,45 @@ expat: LIBS += -lexpat
expat: PKGCONFIG -= expat
cairo: PKGCONFIG -= cairo
```
## CentOS7

Instructions for CentOS and Fedora.

On CentOS you need the EPEL repository:

```
yum install epel-release
```

Install required packages:

```
yum install fontconfig-devel gcc-c++ expat-devel python-pyside-devel shiboken-devel qt-devel boost-devel pixman-devel glew-devel cairo-devel
```

config.pri:
```pri
boost: LIBS += -lboost_serialization
PKGCONFIG += expat
PKGCONFIG += fontconfig
cairo {
PKGCONFIG += cairo
LIBS -= $$system(pkg-config --variable=libdir cairo)/libcairo.a
}
pyside {
PKGCONFIG -= pyside
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtCore
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtGui
INCLUDEPATH += $$system(pkg-config --variable=includedir QtGui)
LIBS += -lpyside-python2.7
}
shiboken {
PKGCONFIG -= shiboken
INCLUDEPATH += $$system(pkg-config --variable=includedir shiboken)
LIBS += -lshiboken-python2.7
}
```

## CentOS6+ (64-bit)

Expand Down

0 comments on commit fd1ae20

Please sign in to comment.