Add gettext and Qt5LinguistTools
This commit is contained in:
3
dist/fedora/strawberry.spec.in
vendored
3
dist/fedora/strawberry.spec.in
vendored
@@ -15,6 +15,8 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: make
|
||||
BuildRequires: git
|
||||
BuildRequires: gettext
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
@@ -83,6 +85,7 @@ pushd %{_target_platform}
|
||||
%{cmake} \
|
||||
-DBUILD_WERROR:BOOL=OFF \
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DENABLE_TRANSLATIONS=ON
|
||||
..
|
||||
popd
|
||||
|
||||
|
||||
4
dist/opensuse/strawberry.spec.in
vendored
4
dist/opensuse/strawberry.spec.in
vendored
@@ -21,7 +21,9 @@ BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: make
|
||||
BuildRequires: git
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: gettext-tools
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
@@ -82,7 +84,7 @@ Features:
|
||||
%setup -q -n %{name}-@STRAWBERRY_VERSION_PACKAGE@
|
||||
|
||||
%build
|
||||
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DENABLE_TRANSLATIONS=ON
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
||||
4
dist/pacman/PKGBUILD.in
vendored
4
dist/pacman/PKGBUILD.in
vendored
@@ -6,7 +6,7 @@ pkgdesc="A music player aimed at audio enthusiasts and music collectors"
|
||||
arch=(x86_64)
|
||||
url="http://www.strawbs.org/"
|
||||
license=(GPL3)
|
||||
makedepends=(git cmake make gcc boost)
|
||||
makedepends=(git cmake make gcc boost gettext qt5-tools)
|
||||
depends=(
|
||||
desktop-file-utils
|
||||
hicolor-icon-theme
|
||||
@@ -49,7 +49,7 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-@STRAWBERRY_VERSION_PACKAGE@ \
|
||||
cmake ../${pkgname}-@STRAWBERRY_VERSION_PACKAGE@ \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DUSE_SYSTEM_TAGLIB=ON \
|
||||
-DENABLE_STREAM_DEEZER=ON \
|
||||
|
||||
Reference in New Issue
Block a user