diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 22:59:28 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:33:41 -0300 |
commit | b81a0820a76264e5c2794491d3feeda6914d8cdd (patch) | |
tree | e70d065e9de223fdae8c577802d514178c5f2e4e /main/libmpeg2/APKBUILD | |
parent | 01b7945ebe0987af1314b50f250e3e1902883a46 (diff) | |
download | aports-b81a0820a76264e5c2794491d3feeda6914d8cdd.tar.bz2 aports-b81a0820a76264e5c2794491d3feeda6914d8cdd.tar.xz |
community/libmpeg2: move from main
Diffstat (limited to 'main/libmpeg2/APKBUILD')
-rw-r--r-- | main/libmpeg2/APKBUILD | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/main/libmpeg2/APKBUILD b/main/libmpeg2/APKBUILD deleted file mode 100644 index a2b6405414..0000000000 --- a/main/libmpeg2/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=libmpeg2 -pkgver=0.5.1 -pkgrel=8 -pkgdesc="A library for decoding MPEG-1 and MPEG-2 video streams" -url="http://libmpeg2.sourceforge.net/" -arch="all" -license="GPL-2.0" -subpackages="$pkgname-dev $pkgname-doc mpeg2dec" -makedepends="libx11-dev libice-dev libsm-dev libxext-dev libxv-dev" -source="https://gentoo.osuosl.org/distfiles/libmpeg2-$pkgver.tar.gz - arm-private-symbols.patch - arm-textrel.patch - " - -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - update_config_sub - default_prepare -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --with-pic \ - --enable-shared \ - --disable-static - make OPT_CFLAGS="${CFLAGS}" \ - MPEG2DEC_CFLAGS="${CFLAGS}" \ - LIBMPEG2_CFLAGS="" -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -mpeg2dec() { - pkgdesc="a test program for libmpeg2" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/mpeg2dec "$subpkgdir"/usr/bin/ -} - -sha512sums="3648a2b3d7e2056d5adb328acd2fb983a1fa9a05ccb6f9388cc686c819445421811f42e8439418a0491a13080977f074a0d8bf8fa6bc101ff245ddea65a46fbc libmpeg2-0.5.1.tar.gz -334e4e0b1e2877311503d2907f4f65c26d6a83ee79308c49697b2f3d2b8da9ac665e19ab419d85a944eaa34e1d43f512d1418a372cd444381d66f71df2a92c83 arm-private-symbols.patch -888b8b4f90ece7f8dcd54895c36e2a93471de167f83cddc67d6943baf9e7ea19abd31ab055f6805629a2e176a1057e18de6a053fdea69cec90483a5165efa9c9 arm-textrel.patch" |