| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.13 2021/12/31 08:10:03 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2022/01/07 15:05:31 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= playitslowly-1.5.1 | | 3 | DISTNAME= playitslowly-1.5.1 |
4 | PKGREVISION= 4 | | 4 | PKGREVISION= 5 |
5 | CATEGORIES= audio | | 5 | CATEGORIES= audio |
6 | MASTER_SITES= https://29a.ch/playitslowly/ | | 6 | MASTER_SITES= https://29a.ch/playitslowly/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://29a.ch/playitslowly/ | | 9 | HOMEPAGE= https://29a.ch/playitslowly/ |
10 | COMMENT= Play back audio files at a different speed or pitch | | 10 | COMMENT= Play back audio files at a different speed or pitch |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-gstreamer1-[0-9]*:../../multimedia/py-gstreamer1 | | 13 | DEPENDS+= ${PYPKGPREFIX}-gstreamer1-[0-9]*:../../multimedia/py-gstreamer1 |
14 | DEPENDS+= gst-plugins1-soundtouch-[0-9]*:../../audio/gst-plugins1-soundtouch | | 14 | DEPENDS+= gst-plugins1-soundtouch-[0-9]*:../../audio/gst-plugins1-soundtouch |
15 | | | 15 | |
16 | PYTHON_VERSIONED_DEPENDENCIES+= cairo | | 16 | PYTHON_VERSIONED_DEPENDENCIES+= cairo |
17 | | | 17 | |
18 | REPLACE_PYTHON+= playitslowly/app.py | | 18 | REPLACE_PYTHON+= playitslowly/app.py |
19 | | | 19 | |
20 | SUBST_CLASSES+= exec | | 20 | SUBST_CLASSES+= exec |
21 | SUBST_SED.exec+= -e "s,exec python,exec ${PYTHONBIN}," | | 21 | SUBST_SED.exec+= -e "s,exec python,exec ${PYTHONBIN}," |
22 | SUBST_FILES.exec+= bin/playitslowly | | 22 | SUBST_FILES.exec+= bin/playitslowly |
23 | SUBST_STAGE.exec= post-build | | 23 | SUBST_STAGE.exec= post-build |
24 | SUBST_MESSAGE.exec= Fixing path to python interpreter. | | 24 | SUBST_MESSAGE.exec= Fixing path to python interpreter. |
25 | | | 25 | |
26 | USE_LANGUAGES= # none | | 26 | USE_LANGUAGES= # none |
27 | | | 27 | |
28 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 28 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
29 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 29 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
30 | .include "../../lang/python/application.mk" | | 30 | .include "../../lang/python/application.mk" |
31 | .include "../../lang/python/distutils.mk" | | 31 | .include "../../lang/python/egg.mk" |
| | | 32 | _PYSETUPTOOLSINSTALLARGS:= ${_PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed} |
32 | .include "../../lang/python/versioned_dependencies.mk" | | 33 | .include "../../lang/python/versioned_dependencies.mk" |
33 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |