Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] vinstall doesn't work with wildcards?
@ 2020-12-02  5:13 harrisonthorne
  2020-12-02  5:24 ` CameronNemo
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: harrisonthorne @ 2020-12-02  5:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

New issue by harrisonthorne on void-packages repository

https://github.com/void-linux/void-packages/issues/26881

Description:
Tried rebasing with this repository's master branch and it didn't fix the following issue:

`vinstall` in the following template yields the error `cannot find 'VST2_SDK/public.sdk/source/vst2.x/*'...`

I've confirmed with an `ls` that the files do in fact exist at that path.

Am I doing this the wrong way? Is there a workaround?

Template:

```
# Template file for 'steinberg-vst36'
pkgname=steinberg-vst36
version=3.6.7
revision=1
short_desc="Steinberg's VST SDK (version 3.6)"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
license="Custom:?"
homepage="http://www.steinberg.net/en/company/developers.html"
distfiles="https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip"
checksum=5e8f1058177472f6dd3b5c1e7f8e0e76f37c5f751fed65936e04ff2441ce831a
wrksrc="VST_SDK"

do_install() {
	ls VST2_SDK/public.sdk/source/vst2.x
	vmkdir usr/include/vst36/pluginterfaces/vst2.x
	vinstall "VST2_SDK/public.sdk/source/vst2.x/*" 644 "usr/include/vst36/"
	vinstall "VST2_SDK/pluginterfaces/vst2.x/*" 644 "usr/include/vst36/pluginterfaces/vst2.x/"

	vlicense VST3_SDK/doc/*License*
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
@ 2020-12-02  5:24 ` CameronNemo
  2020-12-06 21:54 ` lane-brain
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: CameronNemo @ 2020-12-02  5:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-736998898

Comment:
you may be able to use vcopy, a for loop with vinstall, or regular coreutils with the DESTDIR variable

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
  2020-12-02  5:24 ` CameronNemo
@ 2020-12-06 21:54 ` lane-brain
  2020-12-06 21:56 ` lane-brain
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 21:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739570627

Comment:
compare to my template @harrisonthorne. not ultra polished but close enough for my own use, I used this package to build the distrho plugin pack.

```
# Template file for 'steinberg-vst'

pkgname=steinberg-vst
version=3.6.14
revision=2
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-drain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
}

do_install() {
  # install headers
    local vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    local header_path="/usr/include/vst36"

    mkdir -p ${DESTDIR}${header_path}
    cd ${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
  2020-12-02  5:24 ` CameronNemo
  2020-12-06 21:54 ` lane-brain
@ 2020-12-06 21:56 ` lane-brain
  2020-12-06 21:58 ` harrisonthorne
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 21:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739570627

Comment:
compare to my template @harrisonthorne. not ultra polished but close enough for my own use, I used this package to build the distrho plugin pack.

```
# Template file for 'steinberg-vst'

pkgname=steinberg-vst
version=3.6.14
revision=2
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
}

do_install() {
  # install headers
    local vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    local header_path="/usr/include/vst36"

    mkdir -p ${DESTDIR}${header_path}
    cd ${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (2 preceding siblings ...)
  2020-12-06 21:56 ` lane-brain
@ 2020-12-06 21:58 ` harrisonthorne
  2020-12-06 21:59 ` lane-brain
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: harrisonthorne @ 2020-12-06 21:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

New comment by harrisonthorne on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739571184

Comment:
@lane-brain Thanks! Do you happen to have a working template for airwave? https://github.com/psycha0s/airwave I'm working on one but struggling to get it to compile. Dependency issues. I'll post an edit with the errors

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (3 preceding siblings ...)
  2020-12-06 21:58 ` harrisonthorne
@ 2020-12-06 21:59 ` lane-brain
  2020-12-06 22:19 ` lane-brain
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 21:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739571336

Comment:
Actually hold off on that template, it looks like a mistaken edit of mine I made after I successfully built the package is holding it up after running to make sure it works

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (4 preceding siblings ...)
  2020-12-06 21:59 ` lane-brain
@ 2020-12-06 22:19 ` lane-brain
  2020-12-06 22:20 ` lane-brain
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739574164

Comment:
@harrisonthorne I finished editing the package and will post, first I'm packaging my distrho template with it to make sure it works (stuck in compilation atm). 

Also, personally I never really liked airwave and found yabridge to be a much nicer vst wrapper system to use, not to mention that the airwave repos haven't been updated in years. Maybe you should take a look: https://github.com/robbert-vdh/yabridge

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (5 preceding siblings ...)
  2020-12-06 22:19 ` lane-brain
@ 2020-12-06 22:20 ` lane-brain
  2020-12-06 22:23 ` harrisonthorne
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739574164

Comment:
@harrisonthorne I finished editing the package and will post, first I'm packaging my distrho template with it to make sure it works (stuck in compilation atm). 

Also, personally I never really liked airwave and found yabridge to be a much nicer vst wrapper system to use. Maybe you should take a look: https://github.com/robbert-vdh/yabridge

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (6 preceding siblings ...)
  2020-12-06 22:20 ` lane-brain
@ 2020-12-06 22:23 ` harrisonthorne
  2020-12-06 22:31 ` lane-brain
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: harrisonthorne @ 2020-12-06 22:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by harrisonthorne on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739574804

Comment:
That will be amazing, I would like something more up-to-date than airwave. Thank you!

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (7 preceding siblings ...)
  2020-12-06 22:23 ` harrisonthorne
@ 2020-12-06 22:31 ` lane-brain
  2020-12-06 22:31 ` lane-brain
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739575980

Comment:
I had to zap my xbps-src dir so this recomp is taking longer than expected. If you want to test the below go ahead, I'll confirm on my side:

```
# Template file for 'steinberg-vst'

pkgname=steinberg-vst
version=3.6.14
revision=3
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-drain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    echo $PWD
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
    echo $PWD
}

do_install() {
  # install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    #cd ${wrksrc}/${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (8 preceding siblings ...)
  2020-12-06 22:31 ` lane-brain
@ 2020-12-06 22:31 ` lane-brain
  2020-12-06 22:31 ` lane-brain
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739575980

Comment:
I had to zap my xbps-src dir so this recomp is taking longer than expected. If you want to test the below go ahead, I'll confirm on my side:

```
# Template file for 'steinberg-vst'

pkgname=steinberg-vst
version=3.6.14
revision=3
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    echo $PWD
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
    echo $PWD
}

do_install() {
  # install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    #cd ${wrksrc}/${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (9 preceding siblings ...)
  2020-12-06 22:31 ` lane-brain
@ 2020-12-06 22:31 ` lane-brain
  2020-12-06 22:32 ` lane-brain
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739575980

Comment:
I had to zap my xbps-src dir so this recomp is taking longer than expected. If you want to test the below go ahead, I'll confirm on my side:

```
# Template file for 'steinberg-vst'

pkgname=steinberg-vst
version=3.6.14
revision=3
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    echo $PWD
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
    echo $PWD
}

do_install() {
  # install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    #cd ${wrksrc}/${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (10 preceding siblings ...)
  2020-12-06 22:31 ` lane-brain
@ 2020-12-06 22:32 ` lane-brain
  2020-12-06 22:36 ` lane-brain
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1543 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739576162

Comment:
I had to zap my xbps-src dir earlier so this recomp is taking longer than expected. If you want to test the below do it and let me know if it works, I'll confirm on my side:

```
pkgname=steinberg-vst
version=3.6.14
revision=3
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum=1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
repository=nonfree

do_extract() {
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    echo $PWD
}

pre_install() {
    cd ${wrksrc}/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
    echo $PWD
}

do_install() {
  # install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/VST_SDK/VST3_SDK/public.sdk/source"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    #cd ${wrksrc}/${header_path}
    vcopy ${vst_sdk_path} ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/../../pluginterfaces/vst ${header_path}/pluginterfaces/vst
}

post_install() {
    vlicense ${wrksrc}/VST_SDK/VST3_SDK/LICENSE.txt
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (11 preceding siblings ...)
  2020-12-06 22:32 ` lane-brain
@ 2020-12-06 22:36 ` lane-brain
  2020-12-07  0:05 ` lane-brain
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-06 22:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739576162

Comment:
I had to zap my xbps-src dir earlier so this recomp is taking longer than expected. If you want to test the below do it and let me know if it works, I'll confirm on my side.... not! this definitely won't work :)

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (12 preceding siblings ...)
  2020-12-06 22:36 ` lane-brain
@ 2020-12-07  0:05 ` lane-brain
  2020-12-07  0:06 ` lane-brain
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-07  0:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2375 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739589766

Comment:
@harrisonthorne I was able to build dexed vst and vst3 plugins with this installed. Can you confirm if it will work for your templates?
```
# Template file for 'steinberg-vst-devel'

pkgname=steinberg-vst-devel
version=3.6.14
revision=1
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}
    https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum="1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
    5e8f1058177472f6dd3b5c1e7f8e0e76f37c5f751fed65936e04ff2441ce831a"
repository=nonfree

do_extract() {
    mkdir current vst-sdk-367
    
    cd current
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    
    cd ../vst-sdk-367
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vstsdk367_03_03_2017_build_352.zip
}

pre_install() {
    cd ${wrksrc}/current/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
}

do_install() {
    # Install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/current/VST_SDK/VST3_SDK"
    vst_legacy_path="${wrksrc}/vst-sdk-367/VST_SDK"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    vcopy ${vst_sdk_path}/* ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/pluginterfaces/vst ${header_path}/pluginterfaces/vst

    # Install legacy headers from 3.6.7. According to the notes:
    #
    # "The VST2 SDK is not part anymore of the VST3 SDK, you have to use 
    # an older version of the SDK and copy the VST2_SDK folder into the VST_SDK folder."
    vcopy ${vst_legacy_path}/VST2_SDK/pluginterfaces/vst2.x ${header_path}/pluginterfaces

    # Clean up unneeded files/directories
    cd ${DESTDIR}/${header_path}
    rm -r tools bin
}

post_install() {
    vlicense ${wrksrc}/current/VST_SDK/VST3_SDK/LICENSE.txt
    vlicense ${wrksrc}/current/VST_SDK/VST3_SDK/VST3_License_Agreement.pdf
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (13 preceding siblings ...)
  2020-12-07  0:05 ` lane-brain
@ 2020-12-07  0:06 ` lane-brain
  2021-01-21 17:25 ` ericonr
  2021-01-21 17:25 ` [ISSUE] [CLOSED] " ericonr
  16 siblings, 0 replies; 18+ messages in thread
From: lane-brain @ 2020-12-07  0:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]

New comment by lane-brain on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-739589766

Comment:
@harrisonthorne I was able to build dexed vst and vst3 plugins with this installed. Can you confirm if it will work for your templates? Also I decided to change the package name to use the "-devel" convention for development packages.
```
# Template file for 'steinberg-vst-devel'

pkgname=steinberg-vst-devel
version=3.6.14
revision=1
short_desc="Steinberg's VST SDK (version 3.6)"
homepage="https://www.steinberg.net/sdk_downloads/"
hostmakedepends="unzip"
maintainer="lane-brain <lane@mailbox.org>"
_sdkarchive="vst-sdk_3.6.14_build-24_2019-11-29.zip"
distfiles="https://download.steinberg.net/sdk_downloads/${_sdkarchive}
    https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip"
wrksrc=${pkgname}-${version}
license="custom:Steinberg"
checksum="1f61d847d4fbd570a2b3d3cc14210b4e7f808f87b641a44b146a07f708cb1552
    5e8f1058177472f6dd3b5c1e7f8e0e76f37c5f751fed65936e04ff2441ce831a"
repository=nonfree

do_extract() {
    mkdir current vst-sdk-367
    
    cd current
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_sdkarchive}
    
    cd ../vst-sdk-367
    unzip ${XBPS_SRCDISTDIR}/${pkgname}-${version}/vstsdk367_03_03_2017_build_352.zip
}

pre_install() {
    cd ${wrksrc}/current/VST_SDK
    cp -r VST2_SDK/* VST3_SDK
}

do_install() {
    # Install headers
    echo "do_install: $PWD"
    vst_sdk_path="${wrksrc}/current/VST_SDK/VST3_SDK"
    vst_legacy_path="${wrksrc}/vst-sdk-367/VST_SDK"
    header_path="usr/include/vst36"

    mkdir -p ${DESTDIR}/${header_path}
    vcopy ${vst_sdk_path}/* ${header_path}

    mkdir -p ${DESTDIR}/${header_path}/pluginterfaces/vst
    vcopy ${vst_sdk_path}/pluginterfaces/vst ${header_path}/pluginterfaces/vst

    # Install legacy headers from 3.6.7. According to the notes:
    #
    # "The VST2 SDK is not part anymore of the VST3 SDK, you have to use 
    # an older version of the SDK and copy the VST2_SDK folder into the VST_SDK folder."
    vcopy ${vst_legacy_path}/VST2_SDK/pluginterfaces/vst2.x ${header_path}/pluginterfaces

    # Clean up unneeded files/directories
    cd ${DESTDIR}/${header_path}
    rm -r tools bin
}

post_install() {
    vlicense ${wrksrc}/current/VST_SDK/VST3_SDK/LICENSE.txt
    vlicense ${wrksrc}/current/VST_SDK/VST3_SDK/VST3_License_Agreement.pdf
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (14 preceding siblings ...)
  2020-12-07  0:06 ` lane-brain
@ 2021-01-21 17:25 ` ericonr
  2021-01-21 17:25 ` [ISSUE] [CLOSED] " ericonr
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2021-01-21 17:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26881#issuecomment-764810382

Comment:
For the most part you're supposed to either loop or use `vcopy`. If you wish to also support globbing, feel free to open a PR. It would likely require some testing to guarantee no regressions with other packages.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [ISSUE] [CLOSED] vinstall doesn't work with wildcards?
  2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
                   ` (15 preceding siblings ...)
  2021-01-21 17:25 ` ericonr
@ 2021-01-21 17:25 ` ericonr
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2021-01-21 17:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

Closed issue by harrisonthorne on void-packages repository

https://github.com/void-linux/void-packages/issues/26881

Description:
Tried rebasing with this repository's master branch and it didn't fix the following issue:

`vinstall` in the following template yields the error `cannot find 'VST2_SDK/public.sdk/source/vst2.x/*'...`

I've confirmed with an `ls` that the files do in fact exist at that path.

Am I doing this the wrong way? Is there a workaround?

Template:

```
# Template file for 'steinberg-vst36'
pkgname=steinberg-vst36
version=3.6.7
revision=1
short_desc="Steinberg's VST SDK (version 3.6)"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
license="Custom:?"
homepage="http://www.steinberg.net/en/company/developers.html"
distfiles="https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip"
checksum=5e8f1058177472f6dd3b5c1e7f8e0e76f37c5f751fed65936e04ff2441ce831a
wrksrc="VST_SDK"

do_install() {
	ls VST2_SDK/public.sdk/source/vst2.x
	vmkdir usr/include/vst36/pluginterfaces/vst2.x
	vinstall "VST2_SDK/public.sdk/source/vst2.x/*" 644 "usr/include/vst36/"
	vinstall "VST2_SDK/pluginterfaces/vst2.x/*" 644 "usr/include/vst36/pluginterfaces/vst2.x/"

	vlicense VST3_SDK/doc/*License*
}
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-01-21 17:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02  5:13 [ISSUE] vinstall doesn't work with wildcards? harrisonthorne
2020-12-02  5:24 ` CameronNemo
2020-12-06 21:54 ` lane-brain
2020-12-06 21:56 ` lane-brain
2020-12-06 21:58 ` harrisonthorne
2020-12-06 21:59 ` lane-brain
2020-12-06 22:19 ` lane-brain
2020-12-06 22:20 ` lane-brain
2020-12-06 22:23 ` harrisonthorne
2020-12-06 22:31 ` lane-brain
2020-12-06 22:31 ` lane-brain
2020-12-06 22:31 ` lane-brain
2020-12-06 22:32 ` lane-brain
2020-12-06 22:36 ` lane-brain
2020-12-07  0:05 ` lane-brain
2020-12-07  0:06 ` lane-brain
2021-01-21 17:25 ` ericonr
2021-01-21 17:25 ` [ISSUE] [CLOSED] " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).