Makefile (1314B)
1 COMMENT = Stremio desktop app 2 V = 4.4.169 3 DISTNAME = stremio-${V} 4 CATEGORIES = multimedia 5 HOMEPAGE = https://github.com/stremio/stremio-shell 6 MAINTAINER = Anjeel <email@mail.com> 7 COMMIT = f16a7b177b75c8d04bcec268af6610f7c5c25689 8 9 # GPL 3.0 10 PERMIT_PACKAGE = Yes 11 WRKDIST = ${WRKDIR}/stremio-shell-${COMMIT} 12 13 DIST_TUPLE += github Stremio stremio-shell ${COMMIT} . 14 DIST_TUPLE += github Ivshti libmpv b0eae77cf6dc59aaf142b7d079cb13a0904fd3ee deps/libmpv 15 DIST_TUPLE += github itay-grudev SingleApplication aede311d28d20179216c5419b581087be2a8409f deps/singleapplication 16 17 MODULES= devel/cmake \ 18 x11/qt5 19 20 21 BUILD_DEPENDS = net/curl \ 22 x11/gnome/librsvg \ 23 x11/qt5/qtbase \ 24 x11/qt5/qtwebengine \ 25 x11/qt5/qtwebchannel \ 26 multimedia/mpv 27 28 RUN_DEPENDS = multimedia/mpv \ 29 lang/node \ 30 x11/qt5/qtbase \ 31 x11/qt5/qtdeclarative \ 32 x11/qt5/qtquickcontrols \ 33 x11/qt5/qtquickcontrols2 \ 34 x11/qt5/qtwebengine \ 35 x11/qt5/qttranslations \ 36 x11/qt5/qtwebchannel 37 38 do-build: 39 cd ${WRKDIST} && \ 40 qmake-qt5 stremio.pro -spec openbsd-clang && \ 41 Qt5_DIR=/usr/local/lib/qt5/cmake make -f release.makefile PREFIX=build/ 42 43 do-install: 44 cd ${WRKDIST} && \ 45 make -f release.makefile install 46 47 post-install: 48 ln -sf /usr/local/share/stremio/stremio /usr/local/bin/stremio 49 50 .include <bsd.port.mk> 51