diff --git a/README.md b/README.md index ce7871b..d44b442 100755 --- a/README.md +++ b/README.md @@ -110,9 +110,17 @@ All supported arguments are: You can force/lock specific Wine, Wine Staging, DXVK, meson & glslang versions. -This is handy if you encounter issues during package compilation (DXVK/glslang or meson, for instance). yYou should consider forcing package versions by defining a the latest git commit which still works for you. You can do this by specifying the following variables in `updatewine.sh`: +There are two switches for that: Set a specific **1)** _commit_ **2)** _git branch_ you want to use -- `git_commithash_dxvk`, `git_commithash_wine`, `git_commithash_glslang`, `git_commithash_meson` +This is handy if you encounter issues during package compilation (DXVK/glslang or meson, for instance). You should consider forcing package versions either by defining the latest git commit which still works for you or by using a specific git branch for your build. You can do this by specifying the following variables in `updatewine.sh`: + +- Git commit: + + - `git_commithash_dxvk`, `git_commithash_wine`, `git_commithash_glslang`, `git_commithash_meson` + +- Git branch: + + - `git_branch_dxvk`, `git_branch_wine`, `git_branch_glslang`, `git_branch_meson` **These settings apply only on Debian/Ubuntu/Mint:** @@ -120,7 +128,11 @@ This is handy if you encounter issues during package compilation (DXVK/glslang o - `git_commithash_meson` -### Force/Lock package versions: How-to +- `git_branch_glslang` + +- `git_branch_meson` + +### Force/Lock package versions: How-to (git commit) Take a look on `updatewine.sh`. You can find above variables listed there. @@ -134,12 +146,26 @@ Each variable applies values which must be match package git commit tree. The va - **B)** keyword `HEAD`. This defined the specific package to use the latest commit available on repository (read: this is bleeding-edge version of the package) -Version freezing can be used on all supported platforms (Debian/Ubuntu/Mint/Arch Linux/Manjaro). +Git commit version freezing can be used on all supported platforms (Debian/Ubuntu/Mint/Arch Linux/Manjaro). + +### Force/Lock package versions: How-to (git branch) + +Take a look on `updatewine.sh`. You can find above variables listed there. + +Each variable applies values which must be match package git branch available. The value format is as follows: + +- **A)** Default value: _master_. This git branch includes usually the latest updates for a package + +- **B)** Custom value: _available branch_. Optionally, use a custom value. You can find valid branch names by checking the corresponding git package repository. + +Git branch selection can be used on all supported platforms (Debian/Ubuntu/Mint/Arch Linux/Manjaro). #### Force/Lock package versions: about Wine Staging When you install Wine Staging and you define specific vanilla Wine commit in `git_commithash_wine` (not `HEAD`) variable, _the latest available Wine Staging version compared to that vanilla Wine commit is used_. Practically, this usually means even slightly older package version since the last matching Wine Staging commit usually doesn't match the commit you define for vanilla Wine. In most cases, this shouldn't be a problem. +Any other vanilla Wine git branch setting than _master_ will be ignored if Wine Staging is set to be compiled. _master_ branch is always used for Wine Staging compilation. + ### Debian users: Winetricks installation **NOTE:** This section doesn't concern Ubuntu or Mint users. @@ -276,11 +302,11 @@ The following section contains important notes about the script usage. --------------------------- -### Script validation test +### Script runtime test -Validation test done for the script to ensure it works as expected. Occasional test-runs are mandatory due to rapid development of the packages (Wine/DXVK) it handles. +Runtime test done for the script to ensure it works as expected. Occasional test-runs are mandatory due to rapid development of the packages (Wine/DXVK) it handles. -**Latest test-run:** 17th November, 2018 +**Latest test-run:** 23th November, 2018 **Linux Distributions:** @@ -300,7 +326,7 @@ Git commit freezing used for DXVK & meson. Reasons: - Latest commit used: [1af96347e1c6f1f2eb11aeb11009f380fd5761ec](https://github.com/doitsujin/dxvk/commit/1af96347e1c6f1f2eb11aeb11009f380fd5761ec) - - Provide newer mingw packages? Requires own subscripts for that process (on Debian, at least) + - Provide newer MinGW packages? Requires own subscripts for that process (on Debian, at least) - Debian - Meson: can't compile DXVK - changes to Meson path functionality breaks it (suspected commit: [mesonbuild/meson - Store unexpanded library directory paths. Closes #4392.](https://github.com/mesonbuild/meson/commit/6a2dc7576e00e849510f7bc1f939d66d0b2f6f80)) @@ -312,6 +338,8 @@ Git commit freezing used for DXVK & meson. Reasons: - Add compilation/installation script for the latest MinGW on Debian/Ubuntu/Mint +- Add info about selected commits and branches (if they have not been set to default) + - Remove temp folders in case of failure (meson/glslang/dxvk-git/wine... temp build folders) - Unify error & warning messages layout, unify internal variable & function names diff --git a/arch/0-dxvk-git/PKGBUILD b/arch/0-dxvk-git/PKGBUILD index f8c095e..3b2e7fb 100755 --- a/arch/0-dxvk-git/PKGBUILD +++ b/arch/0-dxvk-git/PKGBUILD @@ -1,9 +1,9 @@ -# Maintainer: Adrià Cereto i Massagué -# Contributor: Pekka Helenius (~Fincer) +# Maintainer: Pekka Helenius (~Fincer) +# Contributor: Adrià Cereto i Massagué pkgname=dxvk-git _pkgname=dxvk -pkgver=0.91.21 +pkgver=0.92.7 pkgrel=1 arch=('i686' 'x86_64') @@ -19,14 +19,17 @@ url="https://github.com/doitsujin/dxvk" license=('custom:zlib/libpng') makedepends=('ninja' 'meson>=0.43' 'glslang' 'mingw-w64-gcc' 'git' 'wine') options=(!strip !buildflags staticlibs) -source=(${pkgname}::"git+https://github.com/doitsujin/dxvk.git#commit=HEAD") +source=(${pkgname}::"git+https://github.com/doitsujin/dxvk.git#commit=1af96347e1c6f1f2eb11aeb11009f380fd5761ec") sha256sums=('SKIP') +_git_branch_dxvk=master +_dxvk_commit=1af96347e1c6f1f2eb11aeb11009f380fd5761ec + ############################## -# Custom patches, if present -if [[ $(find ./dxvk-patches -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$") ]]; then - cp -r ./dxvk-patches/*.{patch,diff} ./ +# Copy custom patches to correct location +if [[ $(find "${startdir}/dxvk-patches" -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$") ]]; then + cp -r "${startdir}/dxvk-patches/"*.{patch,diff} "${startdir}"/ p=0 for patch in $(find . -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$"); do patches[$p]="$(basename ${patch})" @@ -36,12 +39,17 @@ if [[ $(find ./dxvk-patches -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$ source+=(${source[@]} ${patches[@]}) fi +# Reset git tree and apply custom patches prepare() { + cd "${srcdir}/dxvk-git" + git checkout ${_git_branch_dxvk} + git reset --hard ${_dxvk_commit} # Restore tracked files + git clean -d -x -f # Delete untracked files + # Apply patches, if present - if [[ $(ls "${srcdir}"/*.{patch,diff} | wc -w) -ne 0 ]]; then + if [[ $(ls "${srcdir}"/*.{patch,diff} 2>/dev/null | wc -w) -ne 0 ]]; then - cd "${srcdir}"/dxvk-git # Apply all custom patches msg2 "Applying custom patches..." @@ -55,15 +63,18 @@ prepare() { ############################## +# Retrieve DXVK version tag pkgver() { cd "${pkgname}" git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g' } +# Launch DXVK build script build() { "${srcdir}/${pkgname}"/package-release.sh ${pkgver} "${srcdir}"/build --no-package } +# Bundle the compiled files package() { mkdir -p "${pkgdir}"/usr/{bin,share/dxvk} cp -r "${srcdir}"/build/${_pkgname}-${pkgver}/* "${pkgdir}/usr/share/dxvk/" diff --git a/arch/0-wine-staging-git/PKGBUILD b/arch/0-wine-staging-git/PKGBUILD index d32c10e..228a6b5 100755 --- a/arch/0-wine-staging-git/PKGBUILD +++ b/arch/0-wine-staging-git/PKGBUILD @@ -1,8 +1,9 @@ -# Maintainer: Daniel Bermond < yahoo-com: danielbermond > -# Contributor: Pekka Helenius (~ Fincer) +# Maintainer: Pekka Helenius (~ Fincer) +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + # Enable Wine Staging? 1 = yes -enable_staging=1 +enable_staging=0 # Staging patchsets. Default: all patchsets. Please see Wine Staging patchinstall.sh file for individual patchset names. staging_patchsets=(--all) # In order to disable all patchsets, use #(--all) and add desired patchsets individually here @@ -28,12 +29,14 @@ else fi -pkgver=stg.3.19.r9.g566cd55d+wine.wine.3.19.r220.g5e0d1c89ed -_wine_commit=HEAD -_staging_commit=HEAD +pkgver=wine.wine.3.0.3.r0.gf5ada74b31 pkgrel=1 arch=('i686' 'x86_64') +_wine_commit=HEAD +_staging_commit=HEAD +_git_branch_wine=master + license=('LGPL') _depends=( 'attr' 'lib32-attr' @@ -169,22 +172,24 @@ pkgver() { prepare() { - if [[ enable_staging -eq 1 ]]; then - cd "$srcdir"/wine-git + cd "${srcdir}/wine-git" - msg2 "Cleaning the wine source code tree..." + if [[ enable_staging -eq 0 ]]; then + git checkout ${_git_branch_wine} + fi - # Restore the wine tree to its git origin state, without wine-staging patches - #+(necessary for reapllying wine-staging patches in succedent builds, - #+otherwise the patches will fail to be reapplied) - git reset --hard ${_wine_commit} # Restore tracked files - git clean -d -x -f # Delete untracked files + msg2 "Cleaning the wine source code tree..." - if [[ ${_wine_commit} == HEAD ]]; then - # Change back to the wine upstream commit that this version of wine-staging is based on - git checkout $(../"$pkgname"/patches/patchinstall.sh --upstream-commit) - fi + if [[ ${_wine_commit} == HEAD ]] && [[ enable_staging -eq 1 ]]; then + # Change back to the wine upstream commit that this version of wine-staging is based on + git checkout $(../"$pkgname"/patches/patchinstall.sh --upstream-commit) fi + + # Restore the wine tree to its git origin state, without wine-staging patches + #+(necessary for reapllying wine-staging patches in succedent builds, + #+otherwise the patches will fail to be reapplied) + git reset --hard ${_wine_commit} # Restore tracked files + git clean -d -x -f # Delete untracked files } build() { @@ -315,9 +320,4 @@ package() { ln -s ../conf.avail/30-win32-aliases.conf "${pkgdir}/etc/fonts/conf.d/30-win32-aliases.conf" } md5sums=('SKIP' - '1ff4e467f59409272088d92173a0f801' - 'SKIP' - '1ff4e467f59409272088d92173a0f801' - 'd41d8cd98f00b204e9800998ecf8427e' - 'd41d8cd98f00b204e9800998ecf8427e' - 'SKIP') + '1ff4e467f59409272088d92173a0f801') diff --git a/arch/updatewine_arch.sh b/arch/updatewine_arch.sh index 0ae31e1..882b363 100755 --- a/arch/updatewine_arch.sh +++ b/arch/updatewine_arch.sh @@ -48,6 +48,9 @@ done git_commithash_dxvk=${params[0]} git_commithash_wine=${params[3]} +git_branch_dxvk=${params[4]} +git_branch_wine=${params[7]} + ######################################################## # Parse input arguments, filter user parameters @@ -58,7 +61,7 @@ git_commithash_wine=${params[3]} # Filter all but , i.e. the first 0-4 arguments i=0 -for arg in ${params[@]:4}; do +for arg in ${params[@]:8}; do args[$i]="${arg}" let i++ done @@ -347,10 +350,13 @@ function check_gitOverride_wine() { done } + git_branch_wine=master + staging_change_freeze_commit + elif [[ ! -v NO_STAGING ]] && [[ "${git_commithash_wine}" == HEAD ]]; then + git_branch_wine=master git_commithash_winestaging=HEAD fi - staging_change_freeze_commit } ########################################################### @@ -404,6 +410,7 @@ function build_pkg() { set_gitOverride "wine.git" "${git_commithash_wine}" ${pkgbuild_file} sed -i "s/\(^_wine_commit=\).*/\1${git_commithash_wine}/" ${pkgbuild_file} + sed -i "s/\(^_git_branch_wine=\).*/\1${git_branch_wine}/" ${pkgbuild_file} if [[ ! -v NO_STAGING ]]; then set_gitOverride "wine-staging.git" "${git_commithash_winestaging}" ${pkgbuild_file} @@ -413,6 +420,8 @@ function build_pkg() { elif [[ ${pkgname} == dxvk ]]; then local pkgbuild_file="${ARCH_BUILDROOT}/${pkgdir}/PKGBUILD" set_gitOverride "dxvk.git" "${git_commithash_dxvk}" ${pkgbuild_file} + sed -i "s/\(^_git_branch_dxvk=\).*/\1${git_branch_dxvk}/" ${pkgbuild_file} + sed -i "s/\(^_dxvk_commit=\).*/\1${git_commithash_dxvk}/" ${pkgbuild_file} fi fi diff --git a/debian/dxvkroot/dxvk.debdata b/debian/dxvkroot/dxvk.debdata index ec4ca97..00b4b17 100755 --- a/debian/dxvkroot/dxvk.debdata +++ b/debian/dxvkroot/dxvk.debdata @@ -18,6 +18,7 @@ allows running 3D applications on Linux using Wine. pkg_giturl="https://github.com/doitsujin/dxvk" pkg_homeurl="https://github.com/doitsujin/dxvk" +pkg_gitbranch=${git_branch_dxvk} git_commithash=${git_commithash_dxvk} pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" diff --git a/debian/dxvkroot/dxvkbuild.sh b/debian/dxvkroot/dxvkbuild.sh index 7ff74b3..d2418aa 100755 --- a/debian/dxvkroot/dxvkbuild.sh +++ b/debian/dxvkroot/dxvkbuild.sh @@ -49,17 +49,21 @@ git_commithash_dxvk=${params[0]} git_commithash_glslang=${params[1]} git_commithash_meson=${params[2]} +git_branch_dxvk=${params[4]} +git_branch_glslang=${params[5]} +git_branch_meson=${params[6]} + ######################################################## # Parse input arguments, filter user parameters # The range is defined in ../updatewine.sh # All input arguments are: -# 4* -# 0 1 2 3 4 5 ... -# Filter all but , i.e. the first 0-4 arguments +# 4* 4* +# 0 1 2 3 4 5 6 7 8 9... +# Filter all but , i.e. the first 0-8 arguments i=0 -for arg in ${params[@]:4}; do +for arg in ${params[@]:8}; do args[$i]="${arg}" let i++ done @@ -282,17 +286,18 @@ function compile_and_install_deb() { local _pkg_name="${1}" local _pkg_license="${2}" local _pkg_giturl="${3}" - local _git_commithash="${4}" - local _pkg_gitver="${5}" - local _pkg_debinstall="${6}" - local _pkg_debcontrol="${7}" - local _pkg_debrules="${8}" - local _pkg_installfile="${9}" - local _pkg_controlfile="${10}" - local _pkg_rulesfile="${11}" - local _pkg_deps_build="${12}" - local _pkg_deps_runtime="${13}" - local _pkg_debbuilder="${14}" + local _pkg_gitbranch="${4}" + local _git_commithash="${5}" + local _pkg_gitver="${6}" + local _pkg_debinstall="${7}" + local _pkg_debcontrol="${8}" + local _pkg_debrules="${9}" + local _pkg_installfile="${10}" + local _pkg_controlfile="${11}" + local _pkg_rulesfile="${12}" + local _pkg_deps_build="${13}" + local _pkg_deps_runtime="${14}" + local _pkg_debbuilder="${15}" ############################ # COMMON - ARRAY PARAMETER FIX @@ -400,6 +405,7 @@ function compile_and_install_deb() { if [[ -n "${_pkg_gitver}" ]] && [[ "${_pkg_gitver}" =~ ^git ]]; then cd ${_pkg_name} + git checkout ${_pkg_gitbranch} git reset --hard ${_git_commithash} if [[ $? -ne 0 ]]; then echo -e "\e[1mERROR:\e[0m Couldn't find commit ${_git_commithash} for ${_pkg_name}. Aborting\n" @@ -584,6 +590,7 @@ function pkg_install_main() { "${pkg_name}" \ "${pkg_license}" \ "${pkg_giturl}" \ + "${pkg_gitbranch}" \ "${git_commithash}" \ "${pkg_gitver}" \ "${pkg_debinstall}" \ diff --git a/debian/dxvkroot/glslang.debdata b/debian/dxvkroot/glslang.debdata index 0063b05..339f61a 100755 --- a/debian/dxvkroot/glslang.debdata +++ b/debian/dxvkroot/glslang.debdata @@ -15,6 +15,7 @@ Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator pkg_giturl="https://github.com/KhronosGroup/glslang" pkg_homeurl="https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/" +pkg_gitbranch=${git_branch_glslang} git_commithash=${git_commithash_glslang} pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" diff --git a/debian/dxvkroot/meson.debdata b/debian/dxvkroot/meson.debdata index 5372697..3590bf2 100755 --- a/debian/dxvkroot/meson.debdata +++ b/debian/dxvkroot/meson.debdata @@ -17,6 +17,7 @@ use interface for modern software development tools and practices. pkg_giturl="https://github.com/mesonbuild/meson" pkg_homeurl="http://mesonbuild.com" +pkg_gitbranch=${git_branch_meson} git_commithash=${git_commithash_meson} pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" diff --git a/debian/dxvkroot/mingw/binutils-mingw-w64-i686.debdata b/debian/dxvkroot/mingw/binutils-mingw-w64-i686.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/binutils-mingw-w64-i686.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/binutils-mingw-w64-x86-64.debdata b/debian/dxvkroot/mingw/binutils-mingw-w64-x86-64.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/binutils-mingw-w64-x86-64.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/g++-mingw-w64-i686.debdata b/debian/dxvkroot/mingw/g++-mingw-w64-i686.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/g++-mingw-w64-i686.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/g++-mingw-w64-x86-64.debdata b/debian/dxvkroot/mingw/g++-mingw-w64-x86-64.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/g++-mingw-w64-x86-64.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/gcc-mingw-w64-base.debdata b/debian/dxvkroot/mingw/gcc-mingw-w64-base.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/gcc-mingw-w64-base.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/gcc-mingw-w64-i686.debdata b/debian/dxvkroot/mingw/gcc-mingw-w64-i686.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/gcc-mingw-w64-i686.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/gcc-mingw-w64-x86-64.debdata b/debian/dxvkroot/mingw/gcc-mingw-w64-x86-64.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/gcc-mingw-w64-x86-64.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/mingw-w64-common.debdata b/debian/dxvkroot/mingw/mingw-w64-common.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/mingw-w64-common.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/mingw-w64-i686-dev.debdata b/debian/dxvkroot/mingw/mingw-w64-i686-dev.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/mingw-w64-i686-dev.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/dxvkroot/mingw/mingw-w64-x86-64-dev.debdata b/debian/dxvkroot/mingw/mingw-w64-x86-64-dev.debdata new file mode 100755 index 0000000..5372697 --- /dev/null +++ b/debian/dxvkroot/mingw/mingw-w64-x86-64-dev.debdata @@ -0,0 +1,170 @@ +######################################################## +# Common properties + +pkg_name="meson" +pkg_license="apache" +pkg_maintainer="${USER} <${USER}@unknown>" +pkg_section="devel" +pkg_priority="optional" +pkg_arch="all" + +pkg_commondesc="high-productivity build system" +pkg_longdesc=" +Meson is a build system designed to increase programmer\n\ +productivity. It does this by providing a fast, simple and easy to\n\ +use interface for modern software development tools and practices. +" + +pkg_giturl="https://github.com/mesonbuild/meson" +pkg_homeurl="http://mesonbuild.com" + +git_commithash=${git_commithash_meson} +pkg_gitver="git describe --long | sed 's/\-[a-z].*//; s/\-/\./; s/[a-z]//g'" + +pkg_installfile="./debian/install" +pkg_controlfile="./debian/control" +pkg_rulesfile="./debian/rules" + +######################################################## +# Debian rules file section + +pkg_debrules="\ +#!/usr/bin/make -f +# Original script by Jussi Pakkanen + +export MESON_PRINT_TEST_OUTPUT=1 +export QT_SELECT=qt5 +export LC_ALL=C.UTF-8 +%: + dh \$@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_clean: + dh_clean + rm -f *.pyc + rm -rf __pycache__ + rm -rf mesonbuild/__pycache__ + rm -rf mesonbuild/*/__pycache__ + rm -rf work\ area + rm -rf install\ dir/* + rm -f meson-test-run.txt meson-test-run.xml + rm -rf meson.egg-info + rm -rf build + rm -rf .pybuild + +override_dh_install: +# Helper script to autogenerate cross files. + python3 setup.py install --root=\$\$(pwd)/debian/meson --prefix=/usr --install-layout=deb --install-lib=/usr/share/meson --install-scripts=/usr/share/meson + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/__pycache__ + rm -rf \$\$(pwd)/debian/meson/usr/share/meson/mesonbuild/*/__pycache__ + rm \$\$(pwd)/debian/meson/usr/bin/meson + ln -s ../share/meson/meson \$\$(pwd)/debian/meson/usr/bin/meson +" + +######################################################## +# Debian install file section + +pkg_debinstall="empty" + +######################################################## +# Debian control file subfields + +# Debian control file Overrides section +pkg_overrides=( +empty +) + +# Debian control file Suggests section +pkg_suggests=( +empty +) + +# Debian control file Conflicts section +pkg_conflicts=( +empty +) + +# Debian control file Breaks section +pkg_breaks=( +empty +) + +# Debian control file Replaces section +pkg_replaces=( +empty +) + +# Debian control file Provides section +pkg_provides=( +empty +) + +############################ + +# Build time dependencies +pkg_deps_build=( +'python3 (>= 3.5)' +'dh-python' +'python3-setuptools' +'ninja-build (>= 1.6)' +) + +# Runtime dependencies +pkg_deps_runtime=( +'ninja-build (>=1.6)' +'python3' +) + +# Extra fields for Debian control file Source (start) section +pkg_extra_1=( +'X-Python3-Version: >= 3.5' +) + +# Extra fields for Debian control file Package (end) section +pkg_extra_2=( +empty +) + +############################ + +# Deb builder execution field +# Do not build either debug symbols or doc files +pkg_debbuilder="DEB_BUILD_OPTIONS=\"strip nodocs noddebs nocheck\" dpkg-buildpackage -rfakeroot -b -us -uc" + +######################################################## +# Contents of Debian control file + +# This is a necessary variable setting for array loops below +IFS=$'\n' + +pkg_debcontrol="\ +Source: ${pkg_name} +Section: ${pkg_section} +Priority: ${pkg_priority} +Maintainer: ${pkg_maintainer} +Build-Depends: debhelper (>=9), $(if [[ ${pkg_deps_build[0]} != "empty" ]]; then \ +for w in ${pkg_deps_build[@]}; do printf '%s, ' ${w}; done; fi) +Standards-Version: 4.1.3 +Homepage: ${pkg_homeurl} +$(if [[ ${pkg_extra_1[0]} != "empty" ]]; then for w in ${pkg_extra_1[@]}; do echo ${w}; done ; fi) + +Package: ${pkg_name} +Architecture: ${pkg_arch} +Depends: \${shlibs:Depends}, \${misc:Depends}, $(if [[ ${pkg_deps_runtime[0]} != "empty" ]]; then \ +for w in ${pkg_deps_runtime[@]}; do printf '%s, ' ${w}; done; fi) +Description: ${pkg_commondesc} +$(echo -e ${pkg_longdesc} | sed 's/^/ /g; s/\n/\n /g') +$(if [[ ${pkg_extra_2[0]} != "empty" ]]; then for w in ${pkg_extra_2[@]}; do echo ${w}; done ; fi) +$(if [[ ${pkg_suggests[0]} != "empty" ]]; then echo "Suggests: $(echo ${_kg_suggests[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_conflicts[0]} != "empty" ]]; then echo "Conflicts: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_breaks[0]} != "empty" ]]; then echo "Breaks: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_replaces[0]} != "empty" ]]; then echo "Replaces: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +$(if [[ ${pkg_provides[0]} != "empty" ]]; then echo "Provides: $(echo ${pkg_overrides[*]} | sed 's/\s/, /g')"; fi) +" + +unset IFS diff --git a/debian/wineroot/winebuild.sh b/debian/wineroot/winebuild.sh index 5c77bc8..d1bcd5f 100755 --- a/debian/wineroot/winebuild.sh +++ b/debian/wineroot/winebuild.sh @@ -322,18 +322,19 @@ done # variables! # git_commithash_wine=${params[3]} +git_branch_wine=${params[7]} ######################################################## # Parse input arguments, filter user parameters # The range is defined in ../updatewine.sh # All input arguments are: -# 4* -# 0 1 2 3 4 5 ... -# Filter all but , i.e. the first 0-4 arguments +# 4* 4* +# 0 1 2 3 4 5 6 7 8 9... +# Filter all but , i.e. the first 0-8 arguments i=0 -for arg in ${params[@]:4}; do +for arg in ${params[@]:8}; do args[$i]="${arg}" let i++ done @@ -547,10 +548,13 @@ function check_gitOverride() { done } + git_branch_wine=master + staging_change_freeze_commit + elif [[ ! -v NO_STAGING ]] && [[ "${git_commithash_wine}" == HEAD ]]; then + git_branch_wine=master git_commithash_winestaging=HEAD fi - staging_change_freeze_commit } ######################################################## @@ -685,6 +689,11 @@ function refreshWineGIT() { # (necessary for reapllying wine-staging patches in succedent builds, # otherwise the patches will fail to be reapplied) cd "${WINEDIR}" + + if [[ -v NO_STAGING ]]; then + git checkout ${git_branch_wine} # Get Wine branch + fi + git reset --hard ${git_commithash_wine} # Get Wine commit if [[ $? -ne 0 ]]; then echo "\e[1mERROR:\e[0m Couldn't find git commit '${git_commithash_wine}' for Wine. Aborting\n" @@ -900,9 +909,6 @@ refreshWineGIT # Update Wine source files patchWineSource -# Get Wine/Wine Staging version -getWineVersion - ######################################################## # Compile 64 & 32 bit Wine/Wine Staging diff --git a/updatewine.sh b/updatewine.sh index cf7b1a9..8186d14 100755 --- a/updatewine.sh +++ b/updatewine.sh @@ -49,13 +49,17 @@ SCRIPT_AUTHOR="Pekka Helenius (~Fincer), 2018" # Do NOT leave these variable empty! git_commithash_dxvk=1af96347e1c6f1f2eb11aeb11009f380fd5761ec +git_branch_dxvk=master git_commithash_wine=HEAD +git_branch_wine=master # These apply only on Debian/Ubuntu/Mint git_commithash_meson=5d6dcf8850fcc5d552f55943b6aa3582754dedf8 +git_branch_meson=master git_commithash_glslang=HEAD +git_branch_glslang=master ########################################################### # Allow interruption of the script at any time (Ctrl + C) @@ -199,6 +203,16 @@ githash_overrides=( "${git_commithash_wine}" ) +# Add git branches to argument list +# Pass them to subscripts, as well. + +gitbranch_overrides=( +"${git_branch_dxvk}" +"${git_branch_glslang}" +"${git_branch_meson}" +"${git_branch_wine}" +) + ############################# # Commit syntax validity check @@ -214,7 +228,7 @@ done ############################# -params=(${datesuffix} ${githash_overrides[@]} ${args[@]}) +params=(${datesuffix} ${githash_overrides[@]} ${gitbranch_overrides[@]} ${args[@]}) ###########################################################