bdd4a4c4e4
Fixes build. Changes Since Last Release Update qt/platform.py to support other Unix style OSes (#444) Fix font size scaling issue in properties dialog [qt] (#504) Updates to support Python 3.7 Fix issue with result window appearing partially off-screen [qt] (#521) Fix translation error for Simplified Chinese Updates to language files for German (#479) Fix error with multiple close calls to the progress window [qt] (#460, #449) Add Travis CI Builds Un-recurse methods get_files() and get_state() to improve stability (#421) Updates to language files for Italian (#445, #446, #447, #448) Fix issue with cache_shelve (#402, #439) Updated Windows packaging and builds (#438, #456, #461, #491, #474, #490, #565) Handle OS termination signals (#425) Make documentation installation optional Move cocoa UI to dupeguru-cocoa [cocoa]
49 lines
1.8 KiB
Makefile
49 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2020/04/03 21:59:48 wiz Exp $
|
|
|
|
DISTNAME= dupeguru-src-4.0.4_RC
|
|
PKGNAME= ${DISTNAME:S/-src//:S/_RC/rc1/}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://github.com/arsenetar/dupeguru/releases/download/4.0.4/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://dupeguru.voltaicideas.net/
|
|
COMMENT= Find duplicate files
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-polib>=1.0.4:../../devel/py-polib
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.3.4nb1:../../textproc/py-sphinx
|
|
DEPENDS+= ${PYPKGPREFIX}-qt5-[0-9]*:../../x11/py-qt5
|
|
DEPENDS+= ${PYPKGPREFIX}-hsaudiotag3k-[0-9]*:../../audio/py-hsaudiotag3k
|
|
DEPENDS+= ${PYPKGPREFIX}-Send2Trash-[0-9]*:../../sysutils/py-Send2Trash
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS= gmake pax
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
REPLACE_PYTHON+= run.py
|
|
|
|
MAKE_ENV+= PYRCC5=pyrcc5-${PYVERSSUFFIX}
|
|
MAKE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
INSTALLATION_DIRS= bin share/applications share/dupeguru
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${PYTHONBIN} build.py
|
|
${CHMOD} +x ${WRKSRC}/run.py
|
|
|
|
do-install:
|
|
rm -rf ${WRKSRC}/build/dupeguru-arch
|
|
cd ${WRKSRC} && ${PYTHONBIN} package.py --arch
|
|
cd ${WRKSRC}/build/dupeguru-arch && pax -pp -rw * ${DESTDIR}${PREFIX}/share/dupeguru
|
|
${RM} -rf ${DESTDIR}${PREFIX}/share/dupeguru/hsaudiotag
|
|
${RM} -rf ${DESTDIR}${PREFIX}/share/dupeguru/send2trash
|
|
${LN} -s ${DESTDIR}${PREFIX}/share/dupeguru/run.py ${DESTDIR}${PREFIX}/bin/dupeguru
|
|
${INSTALL_DATA} ${WRKSRC}/build/dupeguru-arch/dupeguru.desktop ${DESTDIR}${PREFIX}/share/applications
|
|
${RM} -f ${DESTDIR}${PREFIX}/share/dupeguru/qt/platform.py.orig
|
|
${RM} -f ${DESTDIR}${PREFIX}/share/dupeguru/hscommon/sphinxgen.py.orig
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|