-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-deb.sh
27 lines (17 loc) · 903 Bytes
/
build-deb.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash -e
mkdir cheese-tmp; cd cheese-tmp
apt-get -y install meson cmake make git \
dpkg-dev debhelper devscripts equivs pkg-config wget
apt-get -y install build-essential git cmake flex bison valac gobject-introspection \
gettext gtk-doc-tools yelp-tools appstream-util libx11-dev libgstreamer-plugins-bad1.0-dev \
libgnome-desktop-3-dev libclutter-gtk-1.0-dev libclutter-gst-3.0-dev libcanberra-gtk3-dev \
gir1.2-rsvg-2.0 gnome-pkg-tools gnome-video-effects-dev libgirepository1.0-dev librsvg2-dev
wget http://deb.debian.org/debian/pool/main/c/cheese/cheese_44.1.orig.tar.xz
wget http://deb.debian.org/debian/pool/main/c/cheese/cheese_44.1-1.debian.tar.xz
xz -cd cheese_44.1.orig.tar.xz | tar xvf -
cd cheese-44.1
xz -cd ../cheese_44.1-1.debian.tar.xz | tar xvf -
export DEBIAN_FRONTEND=noninteractive
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -d -nc -uc -us
cd ..
cd ..