]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
doozer/debian: build updates from PR #940
authorJaroslav Kysela <perex@perex.cz>
Mon, 10 Apr 2017 07:09:18 +0000 (09:09 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 10 Apr 2017 07:09:32 +0000 (09:09 +0200)
From: Mark Clarkstone <hello@markclarkstone.co.uk>

.doozer.json
Autobuild/debian.sh
Autobuild/lucid-amd64.sh [deleted file]
Autobuild/lucid-i386.sh [deleted file]
Autobuild/vivid-amd64.sh [deleted file]
Autobuild/vivid-i386.sh [deleted file]
debian/control

index 8b327b1a4a3a9a67ee29589b2b2a0da08f2adbb7..b8fca0614a242ed0b07f2d730585501b09cdb260 100644 (file)
@@ -1,6 +1,6 @@
 {
+  "concurrent": false,
   "targets": {
-
     "precise-amd64": {
       "buildenv": "precise-amd64",
       "builddeps": [
         "git-core",
         "liburiparser-dev",
         "python",
-        "dvb-apps"
+        "dvb-apps",
+        "debhelper",
+        "ccache"
       ],
-
       "buildcmd": [
-        "./configure --disable-dvbscan --enable-ffmpeg_static --disable-libx265_static --disable-libx265 --enable-hdhomerun_static",
-        "make -j ${PARALLEL}"
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --disable-libx265_static\\ --disable-libx265\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
       ]
     },
-
     "precise-i386": {
       "buildenv": "precise-i386",
       "builddeps": [
         "git-core",
         "liburiparser-dev",
         "python",
-        "dvb-apps"
+        "dvb-apps",
+        "debhelper",
+        "ccache"
       ],
-
       "buildcmd": [
-        "./configure --disable-dvbscan --enable-ffmpeg_static --disable-libx265_static --disable-libx265 --enable-hdhomerun_static",
-        "make -j ${PARALLEL}"
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --disable-libx265_static\\ --disable-libx265\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
       ]
     },
-
     "trusty-amd64": {
       "buildenv": "trusty-amd64",
       "builddeps": [
         "git-core",
         "liburiparser-dev",
         "python",
-        "dvb-apps"
+        "dvb-apps",
+        "debhelper",
+        "ccache"
       ],
-
       "buildcmd": [
-        "./configure --disable-dvbscan --enable-ffmpeg_static --enable-hdhomerun_static",
-        "make -j ${PARALLEL}"
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
       ]
     },
-
     "trusty-i386": {
       "buildenv": "trusty-i386",
       "builddeps": [
         "git-core",
         "liburiparser-dev",
         "python",
-        "dvb-apps"
+        "dvb-apps",
+        "debhelper",
+        "ccache"
       ],
-
       "buildcmd": [
-        "./configure --disable-dvbscan --enable-ffmpeg_static --enable-hdhomerun_static",
-        "make -j ${PARALLEL}"
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
       ]
     },
-
     "xenial-amd64": {
       "buildenv": "xenial-amd64",
       "builddeps": [
         "git-core",
         "liburiparser-dev",
         "python",
-        "dvb-apps"
+        "dvb-apps",
+        "debhelper",
+        "ccache"
       ],
-
       "buildcmd": [
-        "./configure --disable-dvbscan --enable-ffmpeg_static --enable-hdhomerun_static",
-        "make -j ${PARALLEL}"
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
+      ]
+    },
+    "xenial-i386": {
+      "buildenv": "xenial-i386",
+      "builddeps": [
+        "cmake",
+        "git",
+        "build-essential",
+        "pkg-config",
+        "gettext",
+        "libavahi-client-dev",
+        "libssl-dev",
+        "zlib1g-dev",
+        "wget",
+        "bzip2",
+        "git-core",
+        "liburiparser-dev",
+        "python",
+        "dvb-apps",
+        "debhelper",
+        "ccache"
+      ],
+      "buildcmd": [
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
+      ]
+    },
+    "jessie-i386": {
+      "buildenv": "jessie-i386",
+      "builddeps": [
+        "cmake",
+        "git",
+        "build-essential",
+        "pkg-config",
+        "gettext",
+        "libavahi-client-dev",
+        "libssl-dev",
+        "zlib1g-dev",
+        "wget",
+        "bzip2",
+        "git-core",
+        "liburiparser-dev",
+        "python",
+        "dvb-apps",
+        "debhelper",
+        "ccache"
+      ],
+      "buildcmd": [
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
+      ]
+    },
+    "jessie-amd64": {
+      "buildenv": "jessie-amd64",
+      "builddeps": [
+        "cmake",
+        "git",
+        "build-essential",
+        "pkg-config",
+        "gettext",
+        "libavahi-client-dev",
+        "libssl-dev",
+        "zlib1g-dev",
+        "wget",
+        "bzip2",
+        "git-core",
+        "liburiparser-dev",
+        "python",
+        "dvb-apps",
+        "debhelper",
+        "ccache"
+      ],
+      "buildcmd": [
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
+      ]
+    },
+    "xenial-armhf": {
+      "buildenv": "xenial-armhf",
+      "builddeps": [
+        "cmake",
+        "git",
+        "build-essential",
+        "pkg-config",
+        "gettext",
+        "libavahi-client-dev",
+        "libssl-dev",
+        "zlib1g-dev",
+        "wget",
+        "bzip2",
+        "git-core",
+        "liburiparser-dev",
+        "python",
+        "dvb-apps",
+        "debhelper",
+        "ccache"
+      ],
+      "buildcmd": [
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-hdhomerun_static\\ --disable-ffmpeg_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
+      ]
+    },
+    "xenial-arm64": {
+      "buildenv": "xenial-arm64",
+      "builddeps": [
+        "cmake",
+        "git",
+        "build-essential",
+        "pkg-config",
+        "gettext",
+        "libavahi-client-dev",
+        "libssl-dev",
+        "zlib1g-dev",
+        "wget",
+        "bzip2",
+        "git-core",
+        "liburiparser-dev",
+        "python",
+        "dvb-apps",
+        "debhelper",
+        "ccache"
+      ],
+      "buildcmd": [
+        "AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-hdhomerun_static\\ --disable-ffmpeg_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
       ]
     }
   }
index d7a2c2c01991a96c42f120f8cb3b0a962e036674..625cc61ab058621a7797a82eca56d17dcc595e7e 100755 (executable)
@@ -11,6 +11,17 @@ build()
     export JOBSARGS
     export JARGS
     export AUTOBUILD_CONFIGURE_EXTRA
+
+    if ccache=$(which ccache); then
+        echo "Using ccache"
+        ccache -s
+        USE_CCACHE="--ccache"
+    else
+        USE_CCACHE=""
+    fi
+
+    export USE_CCACHE
+
     dpkg-buildpackage -b -us -uc
 
     for a in ../tvheadend*${VER}*.deb; do
diff --git a/Autobuild/lucid-amd64.sh b/Autobuild/lucid-amd64.sh
deleted file mode 100644 (file)
index cd2820f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=x86_64"
-DEBDIST=lucid
-source Autobuild/debian.sh
diff --git a/Autobuild/lucid-i386.sh b/Autobuild/lucid-i386.sh
deleted file mode 100644 (file)
index 2e40b37..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=i686"
-DEBDIST=lucid
-source Autobuild/debian.sh
diff --git a/Autobuild/vivid-amd64.sh b/Autobuild/vivid-amd64.sh
deleted file mode 100644 (file)
index 94037b0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=x86_64"
-DEBDIST=vivid
-source Autobuild/debian.sh
diff --git a/Autobuild/vivid-i386.sh b/Autobuild/vivid-i386.sh
deleted file mode 100644 (file)
index 6c762b3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=i686"
-DEBDIST=vivid
-source Autobuild/debian.sh
index 1fed51bab94631848d2720e2eeafb3e42c2138db..aa2673c6ebbfe5ceaaa0b47a525356c5a7bf2388 100644 (file)
@@ -2,12 +2,12 @@ Source: tvheadend
 Section: video
 Priority: extra
 Maintainer: Adam Sutton <aps@tvheadend.org>
-Build-Depends: debhelper (>= 7.0.50), pkg-config, gettext, libavahi-client-dev, libssl-dev, zlib1g-dev, wget, bzip2, libcurl4-gnutls-dev, git-core, liburiparser-dev, python, curl, ca-certificates, cmake, dvb-apps
+Build-Depends: debhelper (>= 7.0.50), pkg-config, gettext, libavahi-client-dev, libssl-dev, zlib1g-dev, wget, bzip2, git-core, liburiparser-dev, python, ca-certificates, cmake, dvb-apps
 Standards-Version: 3.7.3
 
 Package: tvheadend
 Architecture: any
-Depends: ${shlibs:Depends}, libavahi-client3, zlib1g, liburiparser1
+Depends: ${shlibs:Depends}, libavahi-client3, zlib1g, liburiparser1, dvb-apps, bzip2
 Recommends: xmltv-util
 Enhances: showtime
 Replaces: hts-tvheadend