"buildcmd": [
"AUTOBUILD_CONFIGURE_EXTRA=--disable-bintray_cache\\ --enable-ccache\\ --enable-hdhomerun_static\\ --disable-ffmpeg_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}"
]
+ },
+ "fedora24-x86_64": {
+ "buildenv": "fedora24-x86_64",
+ "builddeps": [
+ "gcc-c++",
+ "which",
+ "rpm-build",
+ "rpmdevtools",
+ "git",
+ "make",
+ "cmake",
+ "gettext-devel",
+ "dbus-devel",
+ "avahi-devel",
+ "openssl-devel",
+ "zlib-devel",
+ "wget",
+ "bzip2",
+ "uriparser-devel",
+ "python",
+ "ccache",
+ "strace"
+ ],
+ "buildcmd": [
+ "./configure && make -C rpm build-doozer"
+ ]
+ },
+ "centos7-x86_64": {
+ "buildenv": "centos7-x86_64",
+ "builddeps": [
+ "gcc-c++",
+ "which",
+ "rpm-build",
+ "rpmdevtools",
+ "git",
+ "make",
+ "cmake",
+ "gettext-devel",
+ "dbus-devel",
+ "avahi-devel",
+ "openssl-devel",
+ "zlib-devel",
+ "wget",
+ "bzip2",
+ "uriparser-devel",
+ "python",
+ "ccache",
+ "strace"
+ ],
+ "buildcmd": [
+ "./configure && make -C rpm build-doozer"
+ ]
}
}
}
}' -lpthread
check_cc_snippet qsort_r '
+#define __USE_GNU
#include <stdlib.h>
#define TEST test
int test(void)
spectool --get-files --sourcedir tvheadend.spec
rpmbuild -ba tvheadend.spec
+.PHONY: build-doozer
+build-doozer: build
+ @for a in /project//rpmbuild/RPMS/$$(uname -m)/tvheadend-$(VERSION)-$(RELEASE)*.rpm \
+ /project//rpmbuild/RPMS/$$(uname -m)/tvheadend-debuginfo-$(VERSION)-$(RELEASE)*.rpm; do \
+ name=$$(basename $$a); \
+ echo "doozer-versioned-artifact:$$a:rpm:application/x-rpm:$$name"; \
+ done
+
+
.PHONY: clean.
clean:
rm -f tvheadend.spec