aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-12 20:46:36 +0200
committerAriadne Conill <ariadne@dereferenced.org>2020-04-12 23:39:54 +0000
commit6ea0061be2511fc55de4075bc80d09070cc2efb5 (patch)
tree3b9c1a639299836453bfce4ad3d5bccf98a01bb8 /testing
parent5531a067b8423da6bc494852f295a9a949839d25 (diff)
downloadaports-6ea0061be2511fc55de4075bc80d09070cc2efb5.tar.bz2
aports-6ea0061be2511fc55de4075bc80d09070cc2efb5.tar.xz
community/mlt: move from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/mlt/APKBUILD53
-rw-r--r--testing/mlt/musl-locale.patch13
2 files changed, 0 insertions, 66 deletions
diff --git a/testing/mlt/APKBUILD b/testing/mlt/APKBUILD
deleted file mode 100644
index 46de882e02..0000000000
--- a/testing/mlt/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
-pkgname=mlt
-pkgver=6.20.0
-pkgrel=0
-pkgdesc="MLT Multimedia Framework"
-url="https://www.mltframework.org/"
-arch="all"
-license="GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later"
-makedepends="python3-dev ffmpeg-dev libsamplerate-dev sox-dev jack-dev
- gtk+2.0-dev sdl_image-dev frei0r-plugins-dev libxml2-dev fftw-dev
- sdl-dev libexif-dev bsd-compat-headers swig qt5-qtbase-dev qt5-qtsvg-dev"
-subpackages="$pkgname-dev py3-$pkgname:py3"
-source="https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz
- musl-locale.patch
- "
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --avformat-swscale \
- --enable-motion-est \
- --enable-gpl \
- --enable-gpl3 \
- --enable-opencv \
- --disable-rtaudio \
- --swig-languages=python
- make
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-}
-
-py3() {
- pkgdesc="$pkgdesc (Python bindings)"
- depends="python3"
-
- _pythonpath=$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))")
-
- cd "$builddir"/src/swig/python
- mkdir -p "$subpkgdir/$_pythonpath"
- install -m755 mlt.py "$subpkgdir/$_pythonpath"
- install -m755 _mlt.so "$subpkgdir/$_pythonpath"
-}
-
-sha512sums="939e837fb07ff0eace308987d83913e979f82c6eb156b40fde784f3f2b031b5f6896ac96dcde1627925cbb6fc76725f3fc4e5b2d0616fae11263648bcdbe82e3 mlt-6.20.0.tar.gz
-dfa4c192ce6121a3c86141c46a08eaf6cd6bd81c120786bdb1ef564bf7878dcb44031280b34609048409c3d09e8c0e1bd430dae1fe777ef030daf09b1dfd90a3 musl-locale.patch"
diff --git a/testing/mlt/musl-locale.patch b/testing/mlt/musl-locale.patch
deleted file mode 100644
index 46f7534253..0000000000
--- a/testing/mlt/musl-locale.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/framework/mlt_property.h b/src/framework/mlt_property.h
-index 1bfc971fb7..e2ba1c1d6d 100644
---- a/src/framework/mlt_property.h
-+++ b/src/framework/mlt_property.h
-@@ -30,7 +30,7 @@
- #include <sys/param.h>
- #endif
-
--#if (defined(__GLIBC__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
-+#if (defined(__linux__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
- # include <locale.h>
- #elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506)
- # include <xlocale.h>