depot/third_party/nixpkgs/pkgs/applications/video/anilibria-winmaclinux/0003-build-with-vlc.patch
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

28 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