diff --git a/CMakeLists.txt b/CMakeLists.txt index 7da44fb5e..1fb212780 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,7 @@ include(cmake/Summary.cmake) include(cmake/OptionalSource.cmake) include(cmake/ParseArguments.cmake) include(cmake/Rpm.cmake) +include(cmake/Deb.cmake) if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") set(LINUX 1) diff --git a/cmake/Deb.cmake b/cmake/Deb.cmake new file mode 100644 index 000000000..8b2653143 --- /dev/null +++ b/cmake/Deb.cmake @@ -0,0 +1,6 @@ +add_custom_target(deb + #COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/dist/debian ${CMAKE_BINARY_DIR}/debian + COMMAND cp -r -p ${CMAKE_SOURCE_DIR}/dist/debian ${CMAKE_BINARY_DIR}/ + COMMAND dpkg-buildpackage -b -d -uc -us + WORKING_DIRECTORY ${CMAKE_BINARY_DIR} +) diff --git a/dist/debian/control b/dist/debian/control index 1a2116c78..bbdcab0cb 100644 --- a/dist/debian/control +++ b/dist/debian/control @@ -7,9 +7,10 @@ Build-Depends: debhelper (>= 7), cmake, gcc, protobuf-compiler, + libglib2.0-dev, + libdbus-1-dev, libprotobuf-dev, libboost-dev, - libdbus-1-dev, libsqlite3-dev, libasound2-dev, libpulse-dev, @@ -26,7 +27,7 @@ Build-Depends: debhelper (>= 7), libxine2-dev, libvlc-dev, libphonon4qt5-dev, - libcdio-cdda1, + libcdio-dev, libgpod-dev, libimobiledevice-dev, libmtp-dev, diff --git a/dist/windows/windres.rc.in b/dist/windows/windres.rc.in index 5d833fcb4..42549ddd7 100644 --- a/dist/windows/windres.rc.in +++ b/dist/windows/windres.rc.in @@ -11,7 +11,6 @@ BEGIN VALUE "FileDescription", "Strawberry Music Player" VALUE "FileVersion", "${STRAWBERRY_VERSION_DISPLAY}" VALUE "InternalName", "strawberry" - VALUE "LegalCopyright", "David Sansome / Jonas Kvinge" VALUE "OriginalFilename", "strawberry.exe" VALUE "ProductName", "Strawberry" VALUE "ProductVersion", "${STRAWBERRY_VERSION_DISPLAY}" @@ -20,6 +19,6 @@ BEGIN BLOCK "VarFileInfo" BEGIN - VALUE "Translation", 0x809, 1252 + VALUE "Translation", 0x0809, 1252 END END