Changeset View
Standalone View
audio/midi-matrix-lv2/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Yuri Victorovich <yuri@rawbw.com> | |||||
# $FreeBSD$ | |||||
PORTNAME= midi-matrix | |||||
PORTVERSION= 0.20.0 | |||||
CATEGORIES= audio | |||||
MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/midi_matrix.lv2/repository/archive.tar.gz?ref=${PORTVERSION}&dummy=/ | |||||
ultima: This is ugly, is there a better way to implement this? I couldn't come up with any. | |||||
matUnsubmitted Not Done Inline ActionsI have been pondering adding a USE_GITLAB to the framework, have not found the time yet, though. mat: I have been pondering adding a USE_GITLAB to the framework, have not found the time yet, though. | |||||
ultimaAuthorUnsubmitted Not Done Inline ActionsI'll create a draft, I'm not sure if adding USE_GITLAB and reusing the code for github is the better solution though. Simply adding a new variable that will change the root domain like: GH_DOMAIN, or GH_SITE and setting it to https://gitlab.com. The latter also has the benefit of allow users using gitlab on there own domain to be set so it maybe a better solution. It could be a little more confusing to not have the variable as GITLAB though, so maybe it would be best to create a new USE with the domain change option. This is probably the best solution. Thoughts? ultima: I'll create a draft, I'm not sure if adding USE_GITLAB and reusing the code for github is the… | |||||
ultimaAuthorUnsubmitted Not Done Inline Actions's/root//' I wish I could edit the comment. ultima: 's/root//' I wish I could edit the comment. | |||||
matUnsubmitted Not Done Inline ActionsAdding USE_GITLAB, with GH_SITE, GH_ACCOUNT, GH_PROJECT, GH_COMMIT is what I had in miond :-) mat: Adding USE_GITLAB, with GH_SITE, GH_ACCOUNT, GH_PROJECT, GH_COMMIT is what I had in miond :-)… | |||||
ultimaAuthorUnsubmitted Not Done Inline ActionsYeah, wish you could have replied about 4 hours sooner. Realize just how different the two are... Not a complete loss though I understand the USE_GITHUB code much better now. Your plan sounds good, one question though what is the reason for adding GH_COMMIT over reusing GH_TAGNAME? ultima: Yeah, wish you could have replied about 4 hours sooner. Realize just how different the two are.. | |||||
matUnsubmitted Not Done Inline ActionsAh, I mistyped, habits, I meant GL_ prefix for each. And it needs a GL_COMMIT because it is needed because WRKSRC contains the commit hash. So as it is required anyway, might as well have it. (And no, I really do not think a post-extract target moving things around is the way to go.) mat: Ah, I mistyped, habits, I meant GL_ prefix for each. And it needs a GL_COMMIT because it is… | |||||
matthewUnsubmitted Not Done Inline ActionsIt might be ugly, but there's no alternative and it works. matthew: It might be ugly, but there's no alternative and it works. | |||||
PKGNAMESUFFIX= -lv2 | |||||
MAINTAINER= yuri@rawbw.com | |||||
COMMENT= LV2 'Midi Matrix' plugin bundle: 'Channel Filter' | |||||
LICENSE= ART20 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
BUILD_DEPENDS= lv2>0:audio/lv2 | |||||
USES= cmake pkgconfig | |||||
USE_XORG= x11 xext | |||||
USE_GL= gl glu | |||||
post-extract: | |||||
@${MV} ${WRKDIR}/midi_matrix* ${WRKDIR}/${PORTNAME}-${PORTVERSION} | |||||
.include <bsd.port.mk> |
This is ugly, is there a better way to implement this? I couldn't come up with any.