Skip to content

Commit 73a79b6

Browse files
authored
Merge pull request #16 from igorpecovnik/master
update master 20160713 #2
2 parents 398799f + 3a82d75 commit 73a79b6

File tree

8 files changed

+17
-23
lines changed

8 files changed

+17
-23
lines changed

chroot-buildpackages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ chroot_build_packages()
115115
# create build script
116116
cat <<-EOF > $target_dir/root/build.sh
117117
#!/bin/bash
118-
export PATH="/usr/lib/ccache:$PATH"
118+
export PATH="/usr/lib/ccache:\$PATH"
119119
export HOME="/root"
120120
export DEBIAN_FRONTEND="noninteractive"
121121
export DEST="/tmp"
@@ -168,7 +168,7 @@ chroot_build_packages()
168168

169169
# run build script in chroot
170170
systemd-nspawn -a -q -D $target_dir --tmpfs=/root/build --tmpfs=/tmp --bind-ro $SRC/lib/extras-buildpkgs/:/root/overlay \
171-
--bind-ro $SRC/sources/extra/:/root/sources /bin/bash -c "/root/build.sh"
171+
--bind-ro $SRC/sources/extra/:/root/sources /bin/bash -c "/root/build.sh" 2>&1 | tee -a $DEST/debug/buildpkg.log
172172
# move built packages to $DEST/debs/extras/$RELEASE
173173
mv $target_dir/root/*.deb $DEST/debs/extra/$RELEASE/
174174
done

extras-buildpkgs/09-ffmpeg.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local package_name="FFmpeg"
44
local package_repo="https://github.com/FFmpeg/FFmpeg.git"
55
local package_ref="tag:n3.1.1"
66
local package_upstream_version="7:3.1.1"
7-
local package_builddeps="dpkg-dev flite1-dev frei0r-plugins-dev ladspa-sdk libass-dev libavc1394-dev libbluray-dev libbs2b-dev libbz2-dev libcaca-dev libcdio-paranoia-dev libdc1394-22-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgme-dev libgnutls28-dev libgsm1-dev libiec61883-dev liblzma-dev libmodplug-dev libmp3lame-dev libopenal-dev libopencv-dev libopenjpeg-dev libopus-dev libpulse-dev librtmp-dev libschroedinger-dev libsctp-dev libsdl1.2-dev libshine-dev libsnappy-dev libsoxr-dev libspeex-dev libssh-gcrypt-dev libtheora-dev libtwolame-dev libva-dev libvdpau-dev libvorbis-dev libvpx-dev libwavpack-dev libwebp-dev libx264-dev libx265-dev libxext-dev libxvidcore-dev libxvmc-dev libzmq3-dev libzvbi-dev pkg-config yasm"
7+
local package_builddeps="dpkg-dev flite1-dev frei0r-plugins-dev ladspa-sdk libass-dev libavc1394-dev libbluray-dev libbs2b-dev libbz2-dev libcaca-dev libcdio-paranoia-dev libdc1394-22-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgme-dev libgnutls28-dev libgsm1-dev libiec61883-dev liblzma-dev libmodplug-dev libmp3lame-dev libopencv-dev libopenjpeg-dev libopus-dev libpulse-dev librtmp-dev libschroedinger-dev libsctp-dev libsdl1.2-dev libshine-dev libsnappy-dev libsoxr-dev libspeex-dev libssh-gcrypt-dev libtheora-dev libtwolame-dev libva-dev libvdpau-dev libvorbis-dev libvpx-dev libwavpack-dev libwebp-dev libx264-dev libx265-dev libxext-dev libxvidcore-dev libxvmc-dev libzmq3-dev libzvbi-dev pkg-config yasm"
88
local package_install_chroot="libavutil-ffmpeg54 libavutil-dev libpostproc-ffmpeg53 libswresample-ffmpeg1 libswscale-ffmpeg3 libswscale-dev libavresample-ffmpeg2 libavresample-dev libavcodec-ffmpeg56 libswresample-dev libavcodec-dev libpostproc-dev libavformat-ffmpeg56 libavformat-dev libavfilter-ffmpeg5 libavfilter-dev libavdevice-ffmpeg56 libavdevice-dev"
99
local package_install_target="libavutil-ffmpeg54 libpostproc-ffmpeg53 libswresample-ffmpeg1 libswscale-ffmpeg3 libavresample-ffmpeg2 libavcodec-ffmpeg56 libavformat-ffmpeg56 libavfilter-ffmpeg5 libavdevice-ffmpeg56 ffmpeg"
1010
local package_arch="armhf"

extras-buildpkgs/FFmpeg/debian/control

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ Build-Depends:
5959
libmodplug-dev,
6060
# --enable-libmp3lame
6161
libmp3lame-dev,
62-
# --enable-openal
63-
libopenal-dev,
6462
# --enable-libopencv
6563
libopencv-dev [!sh4 !sparc64] <!stage1>,
6664
# --enable-libopenjpeg

extras-buildpkgs/FFmpeg/debian/rules

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#export DH_VERBOSE=1
55
#export V=1
66

7+
export DEB_CFLAGS_MAINT_APPEND = -Wno-deprecated-declarations
8+
79
# Determine the debian directory, which is the directory of this makefile.
810
# The path of this makefile is the first word in the MAKEFILE_LIST.
911
DEBIAN_DIR = $(dir $(firstword $(MAKEFILE_LIST)))
@@ -22,6 +24,8 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
2224
# Ubuntu ld adds -Bsymbolic-functions by default, but that prevents FFmpeg from building.
2325
export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
2426

27+
28+
2529
CONFIG := --prefix=/usr \
2630
--extra-version="$(DEB_REVISION)" \
2731
--build-suffix="-ffmpeg" \
@@ -71,8 +75,8 @@ CONFIG := --prefix=/usr \
7175
--enable-libx265 \
7276
--enable-libxvid \
7377
--enable-libzvbi \
74-
--enable-openal \
7578
--enable-x11grab \
79+
--disable-openal \
7680
--disable-opengl \
7781
--disable-htmlpages \
7882
--disable-podpages \
@@ -94,17 +98,7 @@ endif
9498
ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
9599
CONFIG += --disable-libx264 --disable-libopencv --disable-frei0r
96100
else
97-
CONFIG += --enable-frei0r
98-
99-
# Some libraries are unusable (#792921) on sparc64.
100-
ifeq (,$(filter $(DEB_HOST_ARCH),sparc64))
101-
CONFIG += --enable-libx264
102-
endif
103-
104-
# OpenCV is not available on some architectures.
105-
ifeq (,$(filter $(DEB_HOST_ARCH),sh4 sparc64))
106-
CONFIG += --enable-libopencv
107-
endif
101+
CONFIG += --enable-frei0r --enable-libx264 --enable-libopencv
108102
endif
109103

110104
# Use the default debhelper scripts, where possible.

extras-buildpkgs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
* Add a code to check if package exists / package needs (re)building - **done**
2121

22-
* Add logging to file for build process
22+
* Add logging to file for build process - **done**
2323

2424
### All packages:
2525

@@ -48,3 +48,5 @@ KERNEL=="mali", MODE="0660", GROUP="video"
4848
* mpv: disable unused features **done**
4949

5050
* libvdpau-sunxi: select branch (master or dev)
51+
52+
* libcsptr-dev: upgrade to debhelper version 9

extras-buildpkgs/hostapd-realtek/debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEN
1313
UCFLAGS = -MMD -Wall -g -Os -fPIC
1414

1515
BINDIR = /sbin
16-
V = 1
16+
#V = 1
1717

1818
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
1919
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
2020
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
2121
CC=$(DEB_HOST_GNU_TYPE)-gcc
2222
endif
2323

24-
export CC BINDIR V
24+
export CC BINDIR
2525

2626
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p')
2727

extras-buildpkgs/hostapd/debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEN
1313
UCFLAGS = -MMD -Wall -g -Os -fPIC
1414

1515
BINDIR = /sbin
16-
V = 1
16+
#V = 1
1717

1818
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
1919
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
2020
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
2121
CC=$(DEB_HOST_GNU_TYPE)-gcc
2222
endif
2323

24-
export CC BINDIR V
24+
export CC BINDIR
2525

2626
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p')
2727

extras-buildpkgs/libvdpau-sunxi/debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PACKAGE = libvdpau-sunxi1
44

5-
export DEB_CFLAGS_MAINT_APPEND = -Wall -std=gnu99
5+
export DEB_CFLAGS_MAINT_APPEND = -Wall -std=gnu99
66

77
override_dh_auto_install:
88
dh_auto_install

0 commit comments

Comments
 (0)