nixpkgs/pkgs/applications/video/anilibria-winmaclinux/0003-build-with-vlc.patch
2023-10-18 03:41:26 +03:00

29 lines
608 B
Diff

diff --git a/AniLibria.pro b/AniLibria.pro
index 407dbde..ae69502 100644
--- a/AniLibria.pro
+++ b/AniLibria.pro
@@ -21,17 +21,17 @@ windows {
DEFINES += NO_NEED_STANDART_PLAYER
}
-#unix {
-# LIBS += -lvlc
+unix {
+ LIBS += -lvlc
# INCLUDEPATH += /usr/include/
# DEPENDPATH += /usr/include/
-# INCLUDEPATH += /usr/include/vlc/plugins
-# DEPENDPATH += /usr/include/vlc/plugins
+ INCLUDEPATH += @VLC_PATH@/vlc/plugins
+ DEPENDPATH += @VLC_PATH@/vlc/plugins
-# CONFIG += buildwithvlc
-#}
+ CONFIG += buildwithvlc
+}
buildwithvlc {
DEFINES += USE_VLC_PLAYER