diff --git a/anda/misc/tracy/tracy.spec b/anda/misc/tracy/tracy.spec deleted file mode 100644 index f643b3f593..0000000000 --- a/anda/misc/tracy/tracy.spec +++ /dev/null @@ -1,94 +0,0 @@ -%global _desc Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. -%define debug_package %nil - -Name: tracy -Version: 0.11 -Release: 1%?dist -Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. -License: BSD-3-Clause -URL: https://github.com/wolfpld/tracy -Source0: https://github.com/wolfpld/tracy/archive/refs/tags/v%version.tar.gz -BuildRequires: dbus-devel libglvnd glfw-devel freetype-devel pkgconfig(capstone) pkgconfig(libunwind) pkgconfig(libdebuginfod) pkgconfig(tbb) -BuildRequires: wayland-devel -BuildRequires: capstone-devel -BuildRequires: libxkbcommon-devel -BuildRequires: cmake meson gcc gcc-c++ mold - -%description -%_desc - - -%package devel -Summary: Development files for the tracy package - -%description devel -%_desc -This package contains the development files for the tracy package. - - -%prep -%autosetup -p1 - - -%build -for lib in `pkg-config --list-all | sed -E 's/ .+$//'`; do pkg-config --cflags-only-I $lib >> cflags;done -for lib in `pkg-config --list-all | sed -E 's/ .+$//'`; do pkg-config --libs $lib >> lflags;done -cflags=$(cat cflags | tr -s '\n' | tr '\n' ' ') -lflags=$(cat lflags | tr -s '\n' | tr '\n' ' ') -export CC="gcc -fuse-ld=mold" -export CXX="g++ -fuse-ld=mold $CXXFLAGS $cflags" -export LD="mold $LDFLAGS $lflags" -export CFLAGS="$CFLAGS -fuse-ld=mold" -export CXXFLAGS="$CXXFLAGS -fuse-ld=mold" -%meson -%meson_build -%make_build CFLAGS="$CFLAGS -fPIE" CXXFLAGS="$CXXFLAGS -fPIE" -C capture/build/unix release & -%make_build CFLAGS="$CFLAGS -fPIE" CXXFLAGS="$CXXFLAGS -fPIE" -C csvexport/build/unix release & -%make_build CFLAGS="$CFLAGS -fPIE" CXXFLAGS="$CXXFLAGS -fPIE" -C import-chrome/build/unix release & -%make_build CFLAGS="$CFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" -C library/unix release & -%make_build CFLAGS="$CFLAGS -fPIE" CXXFLAGS="$CXXFLAGS -fPIE" -C profiler/build/unix release & -%make_build CFLAGS="$CFLAGS -fPIE" CXXFLAGS="$CXXFLAGS -fPIE" -C update/build/unix release & -wait - -%install -%meson_install - -install -Dm755 capture/build/unix/capture-release %buildroot%_bindir/tracy-capture -install -Dm755 csvexport/build/unix/csvexport-release %buildroot%_bindir/tracy-csvexport -install -Dm755 import-chrome/build/unix/import-chrome-release %buildroot%_bindir/tracy-import-chrome -install -Dm755 library/unix/libtracy-release.so %buildroot%_libdir/libtracy.so -install -Dm755 profiler/build/unix/Tracy-release %buildroot%_bindir/tracy -install -Dm755 update/build/unix/update-release %buildroot%_bindir/tracy-update - -install -Dm644 extra/desktop/tracy.desktop %buildroot%_datadir/applications/tracy.desktop -install -Dm644 icon/icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/tracy.svg -install -Dm644 extra/desktop/application-tracy.xml %buildroot%_datadir/mime/packages/application-tracy.xml -install -Dm644 icon/application-tracy.svg %buildroot%_iconsdir/hicolor/scalable/apps/application-tracy.svg - - -%files -%license LICENSE -%doc README.* -%_bindir/tracy -%_bindir/tracy-capture -%_bindir/tracy-csvexport -%_bindir/tracy-import-chrome -%_bindir/tracy-update -%_libdir/libtracy.so -%_datadir/applications/tracy.desktop -%_datadir/mime/packages/application-tracy.xml -%_iconsdir/hicolor/scalable/apps/tracy.svg -%_iconsdir/hicolor/scalable/apps/application-tracy.svg - - -%files devel -%_includedir/Tracy* -%_includedir/client/Tracy* -%_includedir/client/tracy* -%_includedir/common/Tracy* -%_includedir/common/tracy* -%_libdir/libtracy.a - -%changelog -* Wed Jul 24 2024 Owen Zimmerman - 0.10-1 -- Initial package. \ No newline at end of file