-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to clean up if the AMP repository doesn't have this distribution.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ stages: | |
apt-get install -y ca-certificates devscripts dpkg-dev equivs lsb-release wget gnupg apt-transport-https && | ||
echo "deb https://dl.bintray.com/wand/amp `lsb_release -c -s` main" > /etc/apt/sources.list.d/amplet2.list && | ||
wget -O- https://bintray.com/user/downloadSubjectPublicKey?username=wand | apt-key add - && | ||
{ apt-get update || rm /etc/apt/sources.list.d/amplet2.list; } && | ||
export DEBEMAIL='[email protected]' && | ||
export DEBFULLNAME='Brendon Jones' && | ||
export CODENAME=`lsb_release -c -s` && | ||
export ARCH=`dpkg-architecture -qDEB_HOST_ARCH` && | ||
{ wget -nv https://wand.net.nz/~brendonj/amp/youtube/chromium-libs_$CODENAME-$ARCH.tar.gz && tar xzvf chromium-libs_$CODENAME-$ARCH.tar.gz && echo "deb http://apt.llvm.org/${CODENAME}/ llvm-toolchain-${CODENAME} main" > /etc/apt/sources.list.d/llvm-toolchain.list && wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && export YOUTUBE="pkg.amplet2.build-youtube" || true; } && | ||
{ apt-get update || true; } && | ||
{ wget -nv https://wand.net.nz/~brendonj/amp/youtube/chromium-libs_$CODENAME-$ARCH.tar.gz && tar xzvf chromium-libs_$CODENAME-$ARCH.tar.gz && echo "deb http://apt.llvm.org/${CODENAME}/ llvm-toolchain-${CODENAME} main" > /etc/apt/sources.list.d/llvm-toolchain.list && wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && apt-get update && export YOUTUBE="pkg.amplet2.build-youtube" || true; } && | ||
{ apt-cache show libpjproject-dev > /dev/null 2>&1 && export SIP="pkg.amplet2.build-sip" || true; } && | ||
export DEB_BUILD_PROFILES="$YOUTUBE $SIP" && | ||
mk-build-deps -i -r -t 'apt-get -f -y --force-yes' | ||
|