aboutsummaryrefslogtreecommitdiffstats
path: root/community/vlc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vlc/APKBUILD')
-rw-r--r--community/vlc/APKBUILD44
1 files changed, 19 insertions, 25 deletions
diff --git a/community/vlc/APKBUILD b/community/vlc/APKBUILD
index afa50ab082..ced7e70a73 100644
--- a/community/vlc/APKBUILD
+++ b/community/vlc/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
-pkgver=2.2.8
+pkgver=3.0.0_rc2
_pkgver=${pkgver/_/-}
_ver=${_pkgver%[a-z]}
pkgrel=0
@@ -10,7 +10,7 @@ pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
triggers="vlc-libs.trigger=/usr/lib/vlc/plugins"
pkgusers="vlc"
pkggroups="vlc"
-url="http://www.videolan.org/vlc/"
+url="https://www.videolan.org/vlc/"
arch="all"
license="GPL2+"
options="!checkroot"
@@ -52,14 +52,16 @@ makedepends="
automake
autoconf
avahi-dev
+ bison
libtool
dbus-dev
faad2-dev
ffmpeg-dev
flac-dev
+ flex
freetype-dev
fribidi-dev
- gtk+-dev
+ gtk+3.0-dev
libbluray-dev>=0.2.1 libbluray-dev<20100000
libavc1394-dev
libcddb-dev
@@ -75,12 +77,14 @@ makedepends="
libnotify-dev
libogg-dev
libraw1394-dev>=2.0.1
+ librsvg-dev
libshout-dev
libsm-dev
libtheora-dev
libva-dev
libvdpau-dev
libvorbis-dev
+ libvpx-dev
libx11-dev
libxext-dev
libxinerama-dev
@@ -89,26 +93,29 @@ makedepends="
libxv-dev
live-media-dev>=2012.01.26
lua5.2-dev
- ncurses-dev
mesa-dev
+ ncurses-dev
+ opus-dev
pkgconfig
qt5-qtbase-dev
+ qt5-qtsvg-dev
sdl2-dev
speex-dev
+ speexdsp-dev
sysfsutils-dev
taglib-dev
eudev-dev
v4l-utils-dev
+ wayland-protocols
x264-dev
+ x265-dev
xcb-util-renderutil-dev
xcb-util-keysyms-dev
xdg-utils
samba-dev
"
-source="http://download.videolan.org/pub/videolan/$pkgname/${_ver}/$pkgname-$_pkgver.tar.xz
- vlc-2.2.4-gcc6_fixes-1.patch
- vlc-2.2.4-ffmpeg3-1.patch
- fix-waitpid-usage.patch
+source="http://download.videolan.org/pub/videolan/testing/vlc-$_ver/vlc-$_ver.tar.xz
+ 0001-configure-test-for-getaddrinfo_a-and-libanl.patch
omxil-rpi-codecs.patch
check-headless.patch
vlc-libs.trigger"
@@ -116,24 +123,14 @@ source="http://download.videolan.org/pub/videolan/$pkgname/${_ver}/$pkgname-$_pk
builddir="$srcdir"/$pkgname-$_ver
prepare() {
- cd "$builddir"
default_prepare
- sed -i -e "/^libxscreensaver_plugin_la_SOURCES/s/^/#/" \
- modules/misc/Modules.am || return 1
- NOCONFIGURE=1 ./bootstrap || return 1
+ NOCONFIGURE=1 ./bootstrap
}
build() {
local _arch_opts=
- export CXXFLAGS="$CXXFLAGS -std=gnu++11"
cd "$builddir"
- sed -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf:' \
- -i modules/text_renderer/freetype.c
-
- # -fpermissive is needed due to zlib 1.2.6 changing
- # void* to gzFile on gz*() functions
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
- export CXXFLAGS="$CXXFLAGS -fpermissive"
case "$CARCH" in
arm*) _arch_opts="--enable-omxil --enable-omxil-vout --enable-rpi-omxil" ;;
@@ -141,6 +138,7 @@ build() {
LUA=lua5.2 \
LUAC=luac5.2 \
+ BUILDCC="${CC:-gcc} -std=c99" \
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -161,14 +159,12 @@ build() {
--enable-dvdnav \
--enable-faad \
--enable-flac \
- --enable-httpd \
--enable-libcddb \
--enable-libva \
--enable-live555 \
--enable-merge-ffmpeg \
--enable-ncurses \
--enable-realrtsp \
- --enable-sdl \
--enable-shout \
--enable-skins2 \
--enable-speex \
@@ -333,10 +329,8 @@ plugins_video_filter() { _mv_plugins video_filter; }
plugins_video_output() { _mv_plugins video_output; }
plugins_visualization() { _mv_plugins visualization; }
-sha512sums="adde16f4b4bd2d94f104bb3b99995df6bf4603bc67333c7615cb8d1d31ca63440b6b0aa93de9ccf0dba717cf905577c7d0bca7baba63caf401790b82eac3e04a vlc-2.2.8.tar.xz
-0dffb15a320899060d2239d4bbefd7e88bedcd017348227092ed943b1104e971a5da934f0c1569773230186d4727be83f530cc0d253559a04d1f2cdef80e6043 vlc-2.2.4-gcc6_fixes-1.patch
-3ac37f5d552b3f4a536ead974756ea39142bb1aebbb5fa4fd41917e3dabb5af333dea5ae028bdae8589ff3016f2d1d87ea328e63d8b795ac90c3eb11945ea87b vlc-2.2.4-ffmpeg3-1.patch
-680cfa3eed5501ba6f06c51eae508204f4c77d2bdd07eead1a3da3939b433abfe84025d133e7a1c7a869e4ffac374bd5eba2bd3dd242ec4645e1d1c6122d0ffb fix-waitpid-usage.patch
+sha512sums="20b28f73938fbb1c946d72c56b1b5a53a747a866057f0b0085749e21e6b6be86f24a6d8681051e4bba5e40728595fd766816f0c22fc56fe444bcd3d25b972003 vlc-3.0.0-rc2.tar.xz
+64a46f6f0256d499492742a7662453a8491b2676c9a09fd6f898ce57e6cdeb7f8932d739ede1fc938ed7be4f5f8a3295a3be71f49c412a50f9a5c2d388cad81b 0001-configure-test-for-getaddrinfo_a-and-libanl.patch
e13e398b7bfd977f6e099bcb6cf8dc5cd5bad6dea3eff715881826246dc4329468846084aff2576de2b7fd28d3f06e7c327a6e4511a28d22e5cd198a81146c89 omxil-rpi-codecs.patch
22d80df599b8b65a5439cefbb7140af8e9530f326d54945da3769af65f37518b99ec2cc8647aafd2763324a0698280915afe043cc87e5720c4694881ed35bffa check-headless.patch
b67b6e21e9d4027aef1006e6057f9ba8e65ce3895b08f7b911b1675cff9bc423f64ee2c187c584860e9e5d4635a30408a7781add9694d9bba753eac37f357406 vlc-libs.trigger"