mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 09:31:58 +00:00
* chore(epsonscan2): Working CMake macro, move to system since this contains drivers
* fix: Unsure what happened there, average Gilver curse
* a
* feat: Fully switch to CMake
Signed-off-by: Gilver <rockgrub@disroot.org>
---------
Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit f3b8def178)
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -58,15 +58,15 @@ rpm2cpio plugins/*.rpm | cpio -idmv
|
||||
|
||||
%build
|
||||
# CMake macro fails to generate the build files somehow? This works however. I don't really understand.
|
||||
cmake . \
|
||||
%cmake \
|
||||
-DBUILD_TYPE=Release
|
||||
|
||||
%make_build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
|
||||
# The Makefile fails to do these steps correctly but just using CMake was even more problematic.
|
||||
# The CMakeLists.txt fails to do these steps correctly.
|
||||
# The file is also very annoying to patch. Thank God this doesn't seem to update anymore.
|
||||
mkdir -p %{buildroot}%{_udevrulesdir}
|
||||
mv %{buildroot}/lib/udev/rules.d/60-%{name}.rules -t %{buildroot}%{_udevrulesdir}
|
||||
Reference in New Issue
Block a user