Package: sfml24-shlibs Version: 2.4.2 Revision: 1 Source: http://www.sfml-dev.org/download/sfml/%v/SFML-%v-sources.zip Source-Checksum: SHA256(8ba04f6fde6a7b42527d69742c49da2ac529354f71f553409f9f821d618de4b6) SourceDirectory: SFML-%v GCC: 4.0 # This is my upstream PR to improve support for packaging, targeted for 2.5.x: # https://github.com/SFML/SFML/pull/1173 PatchFile: %n.patch PatchFile-MD5: 4d837cf1c3b2265224769a13b52a23b2 Maintainer: Rafael Kitover HomePage: http://www.sfml-dev.org License: DFSG-Approved Description: Simple and Fast Multimedia Lib (shared libs) DescDetail: << The Simple and Fast Multimedia Library, it provides a simple interface to the various components of your computer, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network. << DescPackaging: << cmake package. Delete bundled deps so they aren't linked and patch the cmake code to not set @rpath as the install_name. << DocFiles: readme.txt license.txt changelog.txt CONTRIBUTING Depends: << freetype219-shlibs, libjpeg9-shlibs, libsndfile1-shlibs, libflac8, libogg-shlibs, libvorbis-shlibs << BuildDepends: << cmake (>= 2.8.3), fink-buildenv-modules, fink-package-precedence, doxygen, freetype219, libjpeg9, libsndfile1, libsndfile1-dev, libflac8-dev, libogg, libvorbis0 << Shlibs: << %p/lib/libsfml-audio.2.4.dylib 2.4.0 %n (>= 2.4.2-1) %p/lib/libsfml-graphics.2.4.dylib 2.4.0 %n (>= 2.4.2-1) %p/lib/libsfml-network.2.4.dylib 2.4.0 %n (>= 2.4.2-1) %p/lib/libsfml-system.2.4.dylib 2.4.0 %n (>= 2.4.2-1) %p/lib/libsfml-window.2.4.dylib 2.4.0 %n (>= 2.4.2-1) << PatchScript: << patch -p1 < %{PatchFile} << CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir build; cd build cmake \ $FINK_CMAKE_ARGS \ -DCMAKE_CXX_FLAGS:STRING=-MD \ -DSFML_USE_SYSTEM_DEPS=TRUE \ -DSFML_BUILD_DOC=TRUE \ .. make fink-package-precedence --prohibit-bdep=sfml24-dev --depfile-ext='.d' . << InstallScript: << #!/bin/sh -ev cd build; make install DESTDIR=%d install -d -m 0755 %i/share/doc/sfml24-dev install -m 0644 %i/share/SFML/*.txt %i/share/doc/sfml24-dev install -d -m 0755 %i/share/doc/sfml24-shlibs install -m 0644 %i/share/SFML/*.txt %i/share/doc/sfml24-shlibs rm -f %i/share/SFML/*.txt mv %i/share/SFML/doc/* %i/share/doc/sfml24-dev rm -rf %i/share/SFML/doc cp -r %b/examples %i/share/doc/sfml24-dev find %i/share/doc/sfml24-dev -type d -print0 | xargs -0 chmod 0755 find %i/share/doc/sfml24-dev -type f -print0 | xargs -0 chmod 0644 install -d -m 0755 %i/lib/cmake/Modules install -m 0644 %i/share/SFML/cmake/Modules/*.cmake %i/lib/cmake/Modules rm -rf %i/share/SFML/cmake << SplitOff: << Package: sfml24-dev Description: Simple and Fast Multimedia Lib (dev files) DocFiles: readme.txt license.txt changelog.txt CONTRIBUTING BuildDependsOnly: True Depends: sfml24-shlibs (= %v-%r) Files: << include lib/cmake lib/pkgconfig lib/libsfml-audio.dylib lib/libsfml-graphics.dylib lib/libsfml-network.dylib lib/libsfml-system.dylib lib/libsfml-window.dylib share/doc/sfml24-dev << <<