]> git.pld-linux.org Git - packages/performous.git/commitdiff
- release 2, rebuild against boost-1.71, fix build against pango-1.44+ auto/th/performous-1.1-2
authorAdam Gołębiowski <adamg@pld-linux.org>
Fri, 11 Oct 2019 18:43:09 +0000 (20:43 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Fri, 11 Oct 2019 18:43:09 +0000 (20:43 +0200)
performous-pango1.44.patch [new file with mode: 0644]
performous.spec

diff --git a/performous-pango1.44.patch b/performous-pango1.44.patch
new file mode 100644 (file)
index 0000000..4b4c8ea
--- /dev/null
@@ -0,0 +1,27 @@
+--- performous-1.1/game/CMakeLists.txt.orig    2016-01-23 11:40:01.000000000 +0100
++++ performous-1.1/game/CMakeLists.txt 2019-10-11 20:39:21.212719974 +0200
+@@ -79,6 +79,24 @@
+       add_definitions(${${lib}_DEFINITIONS})
+ endforeach(lib)
++#
++# harfbuzz
++#
++PKG_CHECK_MODULES(PC_HARFBUZZ REQUIRED harfbuzz)
++SET(HARFBUZZ_DEFINITIONS ${PC_HARFBUZZ_CXXFLAGS_OTHER})
++FIND_PATH(
++        HARFBUZZ_INCLUDE_DIR hb.h
++        HINTS ${PC_HARFBUZZ_INCLUDEDIR} ${PC_HARFBUZZ_INCLUDE_DIRS}
++        PATH_SUFFIXES harfbuzz)
++
++FIND_LIBRARY(
++        HARFBUZZ_LIBRARY NAMES harfbuzz
++        HINTS ${PC_HARFBUZZ_LIBDIR} ${PC_HARFBUZZ_LIBRARY_DIRS})
++
++include_directories(${HARFBUZZ_INCLUDE_DIR})
++list(APPEND LIBS ${HARFBUZZ_LIBRARY})
++
++
+ find_package(Gettext)
+ if(Gettext_FOUND)
+       include_directories(${Gettext_INCLUDE_DIRS})
index 65d921db868c167a54c086ea1524f444c4f5423f..9d04b5cd595170c3f5aa2643f244efee6846e7c5 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Performous - The All-in-One Music Game
 Summary(pl.UTF-8):     Performous - wiele gier muzycznych w jednej
 Name:          performous
 Version:       1.1
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications/Sound
 #Source0Download: https://github.com/performous/performous/releases
 Source0:       https://github.com/performous/performous/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: cf31d0973cd88b3cd626d312d6d3f5b2
 Patch0:                %{name}-boost.patch
+Patch1:                %{name}-pango1.44.patch
 URL:           http://performous.org/
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: SDL2-devel >= 2
@@ -66,6 +67,7 @@ Zestaw narzędzi do konwersji danych dla programu Performous.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.179327 seconds and 4 git commands to generate.