Skip to content
Permalink
Browse files

taglib: Add examples variant

  • Loading branch information
ryandesign committed Jun 30, 2020
1 parent 2f0e2f5 commit ec344c606eddde65ca6782e90d78fdcfc78e0996
Showing with 15 additions and 1 deletion.
  1. +15 −1 audio/taglib/Portfile
@@ -33,12 +33,26 @@ platform darwin 8 {
cmake.out_of_source yes

configure.args-append ../${distname} \
-DWITH_ASF=On -DWITH_MP4=On -DBUILD_SHARED_LIBS=On
-DWITH_ASF=On \
-DWITH_MP4=On \
-DBUILD_SHARED_LIBS=On \
-DBUILD_EXAMPLES=Off

# asf and mp4 are necessary for Amarok.
# Change to make them optional was reportedly political
# http://lists.kde.org/?l=amarok&m=125338541922769&w=2

variant examples description "Include example programs" {
configure.args-replace -DBUILD_EXAMPLES=Off \
-DBUILD_EXAMPLES=On

post-destroot {
xinstall -m 0755 -W ${build.dir}/examples \
tagreader tagwriter framelist strip-id3v1 \
${destroot}${prefix}/bin/
}
}

variant tests description "Enable running tests" {
depends_build-append port:cppunit

0 comments on commit ec344c6

Please sign in to comment.
You can’t perform that action at this time.