--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/Source/cmake/versiontools.cmake
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/Source/cmake/versiontools.cmake
@@ -39,8 +39,8 @@
 
     if (NOT EXISTS ${BESPOKESRC}/.git)
         message(STATUS "This is not a .git checkout; Defaulting versions")
-        set(GIT_BRANCH "unknown-branch")
-        set(GIT_COMMIT_HASH "deadbeef")
+        set(GIT_BRANCH "main")
+        set(GIT_COMMIT_HASH "cf4c2c8")
     elseif (Git_FOUND)
         execute_process(
             COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
@@ -57,8 +57,8 @@
             )
     else()
         message(STATUS "GIT EXE not found Defaulting versions")
-        set(GIT_BRANCH "built-without-git")
-        set(GIT_COMMIT_HASH "deadbeef")
+        set(GIT_BRANCH "main")
+        set(GIT_COMMIT_HASH "cf4c2c8")
     endif ()
 
     cmake_host_system_information(RESULT BESPOKE_BUILD_FQDN QUERY FQDN)
--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/debian/changelog
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/debian/changelog
@@ -0,0 +1,5 @@
+bespokesynth-nightly (1.3.0+git.185.cf4c2c8-0) unstable; urgency=low
+
+  * generated OBS deb build
+
+ -- unknown <unknown@debian.org>  Mon, 25 Dec 2007 10:50:38 +0100
--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/debian/compat
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/debian/compat
@@ -0,0 +1 @@
+10
--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/debian/control
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/debian/control
@@ -0,0 +1,34 @@
+Priority: optional
+Maintainer: Konstantin Voinov <konstantin.voinov@gmail.com>
+Source: bespokesynth-nightly
+Build-Depends: debhelper (>= 9), libasound2-dev,
+ cmake (>= 3.22),
+ juce712-devel,
+ libjpeg-dev,
+ libjsoncpp-dev,
+ libcurl4-gnutls-dev,
+ libfontconfig-dev,
+ libfreetype6-dev,
+ libx11-dev,
+ libxext-dev,
+ libxinerama-dev,
+ libxrandr-dev,
+ libxcomposite-dev,
+ libxcursor-dev, 
+ libusb-1.0-0-dev,
+ libjack-dev,
+ libgl1-mesa-dev,
+ lsb-release,
+ python3-dev,
+ pybind11-dev,
+Standards-Version: 3.8.2
+Homepage: https://github.com/awwbees/BespokeSynth
+
+Package: bespokesynth-nightly
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: bespokesynth-current
+Description: Bespoke is a software modular synthesizer. It contains a bunch of modules, which you can connect together to create sounds.
+ Bespoke is like a DAW in some ways, but with less of a focus on a global timeline. Instead, it has a design more optimized for jamming and exploration.
+
--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/debian/copyright
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/debian/copyright
@@ -0,0 +1 @@
+License: GPL-3.0-only
--- bespokesynth-nightly-1.3.0+git.185.cf4c2c8.orig/debian/rules
+++ bespokesynth-nightly-1.3.0+git.185.cf4c2c8/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+GIT_COMMIT_HASH := $(shell dpkg-parsechangelog -S Version | awk -F . '{ print $$5 }'|cut -c 1-7)
+UBUNTU_VERSION := $(shell lsb_release -sr)
+ifeq ($(UBUNTU_VERSION),20.04)
+SYSTEM_PYBIND = OFF
+SYSTEM_JSONCPP = OFF
+else
+SYSTEM_PYBIND = ON
+SYSTEM_JSONCPP = ON
+endif
+%:
+	dh $@
+	sed -i -e 's/built-without-git/main/' Source/cmake/versiontools.cmake
+	sed -i -e 's/unknown-branch/main/' Source/cmake/versiontools.cmake
+	sed -i -e 's/deadbeef/$(GIT_COMMIT_HASH)/' Source/cmake/versiontools.cmake
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+	-DBESPOKE_SYSTEM_JUCE=ON \
+	-DBESPOKE_SYSTEM_PYBIND11=$(SYSTEM_PYBIND) \
+	-DBESPOKE_SYSTEM_JSONCPP=$(SYSTEM_JSONCPP) \
+	-DBESPOKE_VST2_SDK_LOCATION=/usr/local/include
