pkgbuilds icon indicating copy to clipboard operation
pkgbuilds copied to clipboard

[mlt-git] configure file was removed from the upstream branch

Open Yrds opened this issue 3 years ago • 0 comments

Since mlt project have no more configure file, the packages needs to be built using cmake:

i am no expert at this, so i am using this approach for now:

build() {

  cd "${_srcname}"

  cmake ../mlt \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DMOD_OPENCV=ON \
    -DMOD_MOVIT=ON

  make
}

package() {
  cd "${_srcname}"

  make DESTDIR="${pkgdir}" install
}

Yrds avatar May 10 '21 14:05 Yrds