Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
APK Fission
packages
Commits
0d9ae129
Commit
0d9ae129
authored
2 years ago
by
Síle Ekaterin Liszka
Browse files
Options
Downloads
Patches
Plain Diff
main/flashrom: new package
parent
d03a52bd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/flashrom/APKBUILD
+37
-0
37 additions, 0 deletions
main/flashrom/APKBUILD
main/flashrom/flashrom-1.2-fix-includes.patch
+24
-0
24 additions, 0 deletions
main/flashrom/flashrom-1.2-fix-includes.patch
with
61 additions
and
0 deletions
main/flashrom/APKBUILD
0 → 100644
+
37
−
0
View file @
0d9ae129
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname
=
flashrom
pkgver
=
1.2
pkgrel
=
0
pkgdesc
=
"Utilities for flashing ROM chips"
url
=
"https://www.flashrom.org/Flashrom"
arch
=
"all"
license
=
"GPL-2.0+ AND BSD-3-Clause AND GPL-2.0-only"
depends
=
""
makedepends
=
"libftdi1-dev pciutils-dev libusb-dev meson ninja"
subpackages
=
"
$pkgname
-dev"
source
=
"https://download.flashrom.org/releases/
$pkgname
-v
$pkgver
.tar.bz2
flashrom-1.2-fix-includes.patch"
builddir
=
"
$srcdir
/
$pkgname
-v
$pkgver
"
build
()
{
meson
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--localstatedir
=
/var
\
--buildtype
=
release
\
--wrap-mode
=
nofallback
\
.
output
ninja
-C
output
}
check
()
{
ninja
-C
output
test
}
package
()
{
DESTDIR
=
"
$pkgdir
"
ninja
-C
output
install
}
sha512sums
=
"8e01395a54d0d1344bc55e7e4975f43bb8e59ebe83fb5f2766d14f76756d718b487254ce9a19ef4093aed04fb9d40fff5fe8f709b18c512f6e6fad894f83d7b8 flashrom-v1.2.tar.bz2
12fa43823a95cb53d039a3c7608924b76761c0b443d71d529f0efafbccc1cea26076ac2ab6b8299348a6d15acc87c13e6deb926758163cf6c2b1c54ac9c37749 flashrom-1.2-fix-includes.patch"
This diff is collapsed.
Click to expand it.
main/flashrom/flashrom-1.2-fix-includes.patch
0 → 100644
+
24
−
0
View file @
0d9ae129
diff -Nurd flashrom-v1.2/ft2232_spi.c flashrom-v1.2.new/ft2232_spi.c
--- flashrom-v1.2/ft2232_spi.c 2019-12-01 22:23:08.000000000 +0000
+++ flashrom-v1.2.new/ft2232_spi.c 2022-06-16 00:11:20.395487303 +0000
@@ -24,7 +24,7 @@
#include "flash.h"
#include "programmer.h"
#include "spi.h"
-#include <ftdi.h>
+#include <libftdi1/ftdi.h>
/* This is not defined in libftdi.h <0.20 (c7e4c09e68cfa6f5e112334aa1b3bb23401c8dc7 to be exact).
* Some tests indicate that his is the only change that it is needed to support the FT232H in flashrom. */
diff -Nurd flashrom-v1.2/usbblaster_spi.c flashrom-v1.2.new/usbblaster_spi.c
--- flashrom-v1.2/usbblaster_spi.c 2019-11-14 22:47:32.000000000 +0000
+++ flashrom-v1.2.new/usbblaster_spi.c 2022-06-16 00:11:20.448820276 +0000
@@ -36,7 +36,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
-#include <ftdi.h>
+#include <libftdi1/ftdi.h>
#include "flash.h"
#include "programmer.h"
#include "spi.h"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment