{
 "app_id": "com.github.drahnr.oregano",
 "source_url": "https://raw.githubusercontent.com/drahnr/oregano/master/flatpak/com.github.drahnr.oregano.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "3.38",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--filesystem=home",
  "--own-name=org.gnome.oregano",
  "--share=ipc",
  "--socket=wayland",
  "--socket=x11"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-20T13:02:32.643429+00:00",
 "manifest": {
  "app-id": "com.github.drahnr.oregano",
  "runtime": "org.gnome.Platform",
  "runtime-version": "3.38",
  "sdk": "org.gnome.Sdk",
  "command": "oregano",
  "rename-desktop-file": "oregano.desktop",
  "rename-icon": "oregano",
  "finish-args": [
   "--device=dri",
   "--filesystem=home",
   "--own-name=org.gnome.oregano",
   "--share=ipc",
   "--socket=wayland",
   "--socket=x11"
  ],
  "cleanup": [
   "/include",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "oregano",
    "buildsystem": "simple",
    "build-commands": [
     "./waf configure build --release --prefix=/app",
     "./waf install"
    ],
    "post-install": [
     "mv /app/share/mime/packages/oregano-mimetypes.xml /app/share/mime/packages/com.github.drahnr.oregano-mimetypes.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/drahnr/oregano/archive/v0.84.43.tar.gz",
      "sha256": "c62442f2fdb01899f6f76b13099a043c563e43de9b356e6f1b18974d70a07111"
     }
    ],
    "cleanup": [
     "/share/man"
    ],
    "modules": [
     "intltool.json",
     {
      "name": "goocanvas",
      "make-install-args": [
       "pyoverridesdir=/app/lib/python3.7/site-packages/gi/overrides"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/goocanvas/2.0/goocanvas-2.0.4.tar.xz",
        "sha256": "c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90"
       }
      ],
      "cleanup": [
       "/share/gtk-doc"
      ]
     },
     {
      "name": "gtksourceview3",
      "config-opts": [
       "--disable-Werror",
       "--disable-glade-catalog",
       "--disable-static",
       "--enable-gtk-doc=no",
       "--enable-vala=no",
       "--enable-valgrind=no"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://gitlab.gnome.org/GNOME/gtksourceview/-/archive/73e57b5787ac60776c57032e05a4cc32207f9cf6/gtksourceview-73e57b5787ac60776c57032e05a4cc32207f9cf6.tar.gz",
        "sha256": "209f97e206f0d328ed8885325a804843fbaa1c3699ea2ccfcce23b28eee76c1c"
       },
       {
        "type": "shell",
        "commands": [
         "find . -name Makefile.am -exec sed -i \"/@CODE_COVERAGE_RULES@/d\" {} +"
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "ngspice",
    "build-options": {
     "strip": true
    },
    "config-opts": [
     "--enable-xspice",
     "--enable-cider",
     "--enable-oldapps",
     "--enable-openmp"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/ngspice/files/ng-spice-rework/33/ngspice-33.tar.gz",
      "sha256": "b99db66cc1c57c44e9af1ef6ccb1dcbc8ae1df3e35acf570af578f606f8541f1"
     }
    ],
    "cleanup": [
     "/share/man"
    ],
    "modules": [
     {
      "name": "libxaw",
      "config-opts": [
       "--sysconfdir=/app/etc"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://xorg.freedesktop.org/releases/individual/lib/libXaw-1.0.13.tar.bz2",
        "sha256": "8ef8067312571292ccc2bbe94c41109dcf022ea5a4ec71656a83d8cce9edb0cd"
       }
      ],
      "cleanup": [
       "/share/doc"
      ],
      "modules": [
       {
        "name": "libxmu",
        "config-opts": [
         "--sysconfdir=/app/etc"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-1.1.3.tar.bz2",
          "sha256": "9c343225e7c3dc0904f2122b562278da5fed639b1b5e880d25111561bac5b731"
         }
        ],
        "cleanup": [
         "/share/doc"
        ]
       }
      ]
     },
     {
      "name": "libedit",
      "sources": [
       {
        "type": "archive",
        "url": "https://thrysoee.dk/editline/libedit-20191231-3.1.tar.gz",
        "sha256": "dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071"
       }
      ]
     }
    ]
   },
   {
    "name": "spice3",
    "buildsystem": "cmake",
    "sources": [
     {
      "type": "archive",
      "url": "https://ptolemy.berkeley.edu/projects/embedded/pubs/downloads/spice/spice3f5.tar.gz",
      "sha256": "cac11fe2a761241e6b6c9eaa31b938c7ffa76aeaecac09809609d3a4125cd269"
     },
     {
      "type": "patch",
      "path": "spice3-0001-cmake-changes-from-github.com-hedhyw-spice3f5.patch"
     },
     {
      "type": "shell",
      "commands": [
       "find ./ -name \"CMakeLists.txt\" -exec sed -i \"s#usr/local#app#g\" {} \\;"
      ]
     }
    ]
   },
   {
    "name": "gnucap",
    "sources": [
     {
      "type": "archive",
      "url": "http://git.savannah.gnu.org/cgit/gnucap.git/snapshot/gnucap-20171003.tar.gz",
      "sha256": "2facf5e945cf253727bef9b8e2602767599ea77a6c0d8c5d91101764544fa09a"
     }
    ]
   }
  ]
 }
}