Changeset View
Changeset View
Standalone View
Standalone View
audio/sayonara/Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> | # Created by: Alexey Dokuchaev <danfe@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= sayonara | PORTNAME= sayonara | ||||
PORTVERSION= 0.9.2 | DISTVERSIONPREFIX= player- | ||||
tcberner: Maybe think about renameing the port to sayonara-player in the future? | |||||
PORTREVISION= 4 | DISTVERSION= 0.9.3 | ||||
DISTVERSIONSUFFIX= -git2-20170509 | |||||
CATEGORIES= audio | CATEGORIES= audio | ||||
MASTER_SITES= http://www.sayonara-player.com/sw/ | MASTER_SITES= http://www.sayonara-player.com/sw/ | ||||
DISTNAME= ${PORTNAME}-player-${PORTVERSION}-git11-20161030 | |||||
Done Inline ActionsCan't you use DISTVERSIONSUFFIX? tcberner: Can't you use DISTVERSIONSUFFIX? | |||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= adridg@FreeBSD.org | ||||
COMMENT= Small, clear, and fast Qt-based audio player | COMMENT= Small, clear, and fast Qt-based audio player | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LICENSE_FILE= ${WRKSRC}/license.txt | LICENSE_FILE= ${WRKSRC}/license.txt | ||||
LIB_DEPENDS= libtag.so:audio/taglib \ | LIB_DEPENDS= libtag.so:audio/taglib \ | ||||
libmtp.so:multimedia/libmtp | libmtp.so:multimedia/libmtp | ||||
USES= cmake compiler:c++11-lib pkgconfig | USES= cmake:outsource compiler:c++11-lib desktop-file-utils \ | ||||
Done Inline ActionsUse cmake:outsource if it allows it tcberner: Use cmake:outsource if it allows it | |||||
USE_GSTREAMER1= flac mpg123 ogg opus vorbis # XXX: likely incomplete | gettext-runtime pkgconfig | ||||
USE_GNOME= glib20 | |||||
USE_GSTREAMER1= flac mpg123 ogg opus vorbis | |||||
USE_QT5= dbus core gui network sql sql-sqlite3_run widgets xml \ | USE_QT5= dbus core gui network sql sql-sqlite3_run widgets xml \ | ||||
buildtools_build qmake_build linguisttools_build | buildtools_build qmake_build linguisttools_build | ||||
INSTALLS_ICONS= yes | |||||
Done Inline ActionsThis is a gnome.mk feature -- likely not needed. tcberner: This is a gnome.mk feature -- likely not needed. | |||||
WRKSRC= ${WRKDIR}/${PORTNAME}-player | WRKSRC= ${WRKDIR}/${PORTNAME}-player | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/man1/s,share/,,' \ | @${REINPLACE_CMD} -e '/man1/s,share/,,' \ | ||||
${WRKSRC}/resources/CMakeLists.txt | ${WRKSRC}/resources/CMakeLists.txt | ||||
@${REINPLACE_CMD} -e '/DESTINATION/s,/usr/,,' \ | @${REINPLACE_CMD} -e '/DESTINATION/s,/usr/,,' \ | ||||
${WRKSRC}/src/GUI/Resources/Icons/CMakeLists.txt | ${WRKSRC}/src/GUI/Resources/Icons/CMakeLists.txt | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Maybe think about renameing the port to sayonara-player in the future?