Switch GitLabCI to Ubuntu Rolling image

parent 611dabdd
......@@ -63,19 +63,19 @@ else
exit 1
fi
echo -e "\\t\\e[37;42mOK:\\e[0m Latest Release Tag = ${LATEST_TAG}"
echo -e "\\t\\e[37;42mOK:\\e[0m Latest Release Tag = ${PACKAGE_VER}"
# Just hand over the tarball and nobody gets hurt, ya see?
echo "Downloading https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${LATEST_TAG}/${PACKAGE_NAME}-${LATEST_TAG}.tar.gz..."
echo "Downloading https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${PACKAGE_VER}/${PACKAGE_NAME}-${PACKAGE_VER}.tar.gz..."
case $TRANSFER_AGENT in
curl)
HTTP_CODE=$(curl -# --retry 3 -w '%{http_code}' -L "https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${LATEST_TAG}/${PACKAGE_NAME}-${LATEST_TAG}.tar.gz" \
-o "${PACKAGE_DIR}/${PACKAGE_NAME}-${LATEST_TAG}.tar.gz")
HTTP_CODE=$(curl -# --retry 3 -w '%{http_code}' -L "https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${PACKAGE_VER}/${PACKAGE_NAME}-${PACKAGE_VER}.tar.gz" \
-o "${PACKAGE_DIR}/${PACKAGE_NAME}_${UPSTREAM_VER}.orig.tar.gz")
;;
wget)
HTTP_CODE=$(wget -qc -t 3 --show-progress -O "${PACKAGE_DIR}/${PACKAGE_NAME}-${LATEST_TAG}.tar.gz" \
--server-response "https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${LATEST_TAG}/${PACKAGE_NAME}-${LATEST_TAG}.tar.gz" 2>&1 |
HTTP_CODE=$(wget -qc -t 3 --show-progress -O "${PACKAGE_DIR}/${PACKAGE_NAME}_${UPSTREAM_VER}.orig.tar.gz" \
--server-response "https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/${PACKAGE_VER}/${PACKAGE_NAME}-${PACKAGE_VER}.tar.gz" 2>&1 |
awk '/^ HTTP/{print $2}' | tail -1)
;;
*)
......@@ -104,8 +104,11 @@ rm -f "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${LATEST_TAG}".tar.gz
cp -R "${SCRIPT_DIR}"/debian "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}"
cd "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}" || exit 1
# Create and install a dummy package to satisfy the build dependencies, then delete it
mk-build-deps -ir debian/control
# Replace the generic distribution string "unstable" with the distribution codename of the build system
sed -i "1s/unstable/$(lsb_release -cs)/" "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}"/debian/changelog
sed -i "1s/unstable/$(lsb_release -cs)/" debian/changelog
# Call debuild to oversee the build process and produce an output string for the user based on its exit code
echo -e "\\tBuilding package ${PACKAGE_NAME}_${DEBIAN_VER}_${PACKAGE_ARCH}.deb, please be patient..."
......
<?xml version="1.0" encoding="UTF-8"?>
<component type="driver">
<id>org.freedesktop.Libfprint</id>
<name>libfprint</name>
<summary>Asynchronous biometric USB driver for Linux</summary>
<description>
<p>
​ The fprint project works to bring turnkey support for consumer fingerprint
reader devices and biometric authentication options to Linux.
</p>
</description>
<url type="homepage">https://fprint.freedesktop.org/</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-2.1+</project_license>
<developer_name>freedesktop.org</developer_name>
<provides>
<modalias>pci:v000010DEd*sv*sd*bc03sc00i00*</modalias>
​ ...
</provides>
</component>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment