diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-07 09:27:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-07 09:27:39 +0000 |
commit | f0ed0d2b021c9d6a3d006e7a856aec4e8cc68ded (patch) | |
tree | b5213f67ba19a43572f0fc5fd8f33bdc626fe739 /community/vlc | |
parent | e57cac039c7859aeabcca41e6357b02ec9efa901 (diff) | |
download | aports-f0ed0d2b021c9d6a3d006e7a856aec4e8cc68ded.tar.bz2 aports-f0ed0d2b021c9d6a3d006e7a856aec4e8cc68ded.tar.xz |
community/vlc: add check
Diffstat (limited to 'community/vlc')
-rw-r--r-- | community/vlc/APKBUILD | 8 | ||||
-rw-r--r-- | community/vlc/check-headless.patch | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/community/vlc/APKBUILD b/community/vlc/APKBUILD index 769f35e8a9..fe9c2ae6cc 100644 --- a/community/vlc/APKBUILD +++ b/community/vlc/APKBUILD @@ -13,6 +13,7 @@ pkggroups="vlc" url="http://www.videolan.org/vlc/" arch="all" license="GPL2+" +options="!checkroot" subpackages="$pkgname-dev $pkgname-doc $pkgname-qt @@ -109,6 +110,7 @@ source="http://download.videolan.org/pub/videolan/$pkgname/${_ver}/$pkgname-$_pk vlc-2.2.4-ffmpeg3-1.patch fix-waitpid-usage.patch omxil-rpi-codecs.patch + check-headless.patch vlc-libs.trigger" builddir="$srcdir"/$pkgname-$_ver @@ -196,6 +198,11 @@ package() { rm -rf "$pkgdir"/usr/share/kde4 } +check() { + cd "$builddir" + make check +} + plugins() { pkgdesc="$pkgname all plugins meta package" depends="$pkgname-plugins-access @@ -331,4 +338,5 @@ sha512sums="9aff5922eb8b3c6a24e6153c367b0170dbc67602ae3e9304f52d2da00c9081d66cc9 3ac37f5d552b3f4a536ead974756ea39142bb1aebbb5fa4fd41917e3dabb5af333dea5ae028bdae8589ff3016f2d1d87ea328e63d8b795ac90c3eb11945ea87b vlc-2.2.4-ffmpeg3-1.patch 680cfa3eed5501ba6f06c51eae508204f4c77d2bdd07eead1a3da3939b433abfe84025d133e7a1c7a869e4ffac374bd5eba2bd3dd242ec4645e1d1c6122d0ffb fix-waitpid-usage.patch e13e398b7bfd977f6e099bcb6cf8dc5cd5bad6dea3eff715881826246dc4329468846084aff2576de2b7fd28d3f06e7c327a6e4511a28d22e5cd198a81146c89 omxil-rpi-codecs.patch +22d80df599b8b65a5439cefbb7140af8e9530f326d54945da3769af65f37518b99ec2cc8647aafd2763324a0698280915afe043cc87e5720c4694881ed35bffa check-headless.patch b67b6e21e9d4027aef1006e6057f9ba8e65ce3895b08f7b911b1675cff9bc423f64ee2c187c584860e9e5d4635a30408a7781add9694d9bba753eac37f357406 vlc-libs.trigger" diff --git a/community/vlc/check-headless.patch b/community/vlc/check-headless.patch new file mode 100644 index 0000000000..25016f4376 --- /dev/null +++ b/community/vlc/check-headless.patch @@ -0,0 +1,13 @@ +diff --git a/test/run_vlc.sh b/test/run_vlc.sh +index af35987..9a0175b 100755 +--- a/test/run_vlc.sh ++++ b/test/run_vlc.sh +@@ -2,7 +2,7 @@ + + set -e + +-VLC="./vlc --ignore-config --rc-fake-tty" ++VLC="./vlc -I dummy --ignore-config --rc-fake-tty" + + $VLC -H + $VLC -vv vlc://quit |