summaryrefslogtreecommitdiff
path: root/audio/mpz/files/patch-app_app.pro
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-09 10:36:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-09 10:36:18 +0000
commit961806e66988a948cfc4b54bddb6c333c5dab927 (patch)
tree8a8b7e19bfdddfe36d363468e5868c3253032246 /audio/mpz/files/patch-app_app.pro
parentdevel/bbarse: enable on powerpc64(le) (diff)
Add a port of mpz, music player for big local collections.
WWW: https://olegantonyan.github.io/mpz/
Notes
Notes: svn path=/head/; revision=551758
Diffstat (limited to 'audio/mpz/files/patch-app_app.pro')
-rw-r--r--audio/mpz/files/patch-app_app.pro35
1 files changed, 35 insertions, 0 deletions
diff --git a/audio/mpz/files/patch-app_app.pro b/audio/mpz/files/patch-app_app.pro
new file mode 100644
index 000000000000..d5aaa0fa6222
--- /dev/null
+++ b/audio/mpz/files/patch-app_app.pro
@@ -0,0 +1,35 @@
+--- app/app.pro.orig 2020-10-08 17:36:49 UTC
++++ app/app.pro
+@@ -7,8 +7,6 @@ CONFIG += c++11
+
+ TARGET = mpz
+
+-DEFINES += TAGLIB_STATIC
+-
+ win32: {
+ CONFIG -= debug_and_release
+ #CONFIG += static
+@@ -134,14 +132,14 @@ FORMS += \
+
+ # Libraries
+ INCLUDEPATH += \
+- ../libs/taglib/taglib-1.11.1/taglib \
++ ${LOCALBASE}/include/taglib \
+ ../libs/taglib/taglib-1.11.1/taglib/toolkit \
+ ../libs/yaml-cpp/yaml-cpp-0.6.3/include \
+ ../libs/qtwaitingspinner \
+ ../libs/qhotkey/QHotkey-1.4.1
+
+ LIBS += \
+- -L../libs/taglib -ltaglib \
++ -L${LOCALBASE}/lib -ltag \
+ -L../libs/yaml-cpp -lyaml-cpp \
+ -L../libs/qtwaitingspinner -lqtwaitingspinner \
+ -L../libs/qhotkey -lqhotkey
+@@ -165,5 +163,5 @@ RESOURCES += \
+ resources/resources.qrc
+
+ # make install
+-target.path = /usr/bin/
++target.path = $$PREFIX/bin/
+ INSTALLS += target